{"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, lat, lon, type\n Sensor: visibility | fields: depth, level, lat, ts\nTask: Fetch value from dew_point that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000000", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: depth, lon, lat, reading\n Sensor: wind_speed | fields: lon, value, lat, type\nTask: Get lon from frost where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000001", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: value, type, reading, lon\n Sensor: temperature | fields: depth, reading, lat, unit\nTask: Retrieve reading from evaporation with reading above the AVG(value) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000002", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, lat, depth, type\n Sensor: frost | fields: qc, lat, depth, reading\nTask: Retrieve depth from lightning whose unit is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000003", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: type, reading, value, lat\n Sensor: pressure | fields: lat, level, ts, value\nTask: Fetch value from air_quality where depth is greater than the count of of reading in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "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_fixed_v1_val_000004", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: unit, reading, lon, value\n Sensor: wind_speed | fields: qc, unit, lat, lon\nTask: Get level from drought_index where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000005", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, type, lat, ts\n Sensor: rainfall | fields: type, qc, reading, lon\nTask: Retrieve level from humidity whose qc is found in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000006", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, qc, depth, lat\n Sensor: visibility | fields: reading, value, lat, lon\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=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000007", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: reading, lon, value, lat\n Sensor: rainfall | fields: lon, level, type, qc\nTask: Get lat from visibility where depth appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000008", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: ts, qc, level, reading\n Sensor: frost | fields: level, qc, type, lon\nTask: Fetch lat from pressure where value is greater than the maximum of depth in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000009", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, reading, ts, lon\n Sensor: lightning | fields: depth, type, level, value\nTask: Fetch depth from wind_speed that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000010", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: level, depth, value, unit\n Sensor: temperature | fields: reading, qc, lon, unit\nTask: Get lat from wind_speed where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000011", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, type, lat, unit\n Sensor: turbidity | fields: value, depth, lon, ts\nTask: Fetch lat from visibility where depth is greater than the maximum of reading in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000012", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: reading, depth, value, lon\n Sensor: humidity | fields: qc, unit, depth, level\nTask: Retrieve value from evaporation that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000013", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, depth, level, lat\n Sensor: dew_point | fields: type, depth, qc, lon\nTask: Fetch lon from cloud_cover where depth exists in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000014", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: depth, qc, unit, reading\n Sensor: turbidity | fields: reading, value, depth, level\nTask: Fetch lat from snow_depth where ts exists in turbidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000015", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, unit, lat, depth\n Sensor: visibility | fields: lon, depth, reading, qc\nTask: Retrieve depth from sunlight whose qc is found in visibility 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(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000016", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: level, reading, qc, ts\n Sensor: evaporation | fields: unit, lat, lon, qc\nTask: Get depth from drought_index where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000017", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, reading, unit, depth\n Sensor: frost | fields: qc, depth, unit, ts\nTask: Get depth from drought_index where depth exceeds the maximum reading from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000018", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: ts, value, depth, type\n Sensor: wind_speed | fields: unit, type, ts, level\nTask: Retrieve lat from temperature that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000019", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lon, unit, lat, type\n Sensor: uv_index | fields: value, level, lat, reading\nTask: Get lat from humidity where depth appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\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": "humidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000020", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: level, ts, value, lon\n Sensor: sunlight | fields: lat, depth, type, lon\nTask: Fetch level from drought_index where unit exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000021", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: level, type, lat, qc\n Sensor: lightning | fields: reading, level, value, type\nTask: Get level from rainfall where type appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000022", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, type, ts, reading\n Sensor: pressure | fields: reading, qc, lat, value\nTask: Retrieve lat 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=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000023", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, reading, qc, ts\n Sensor: evaporation | fields: unit, lat, ts, level\nTask: Get level from temperature where reading exceeds the maximum depth from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000024", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, reading, qc, lat\n Sensor: drought_index | fields: lat, unit, lon, qc\nTask: Retrieve value from lightning with depth above the MAX(value) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000025", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lon, level, unit, lat\n Sensor: soil_moisture | fields: reading, depth, ts, lon\nTask: Get reading from pressure where depth exceeds the maximum reading from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000026", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: reading, unit, type, level\n Sensor: dew_point | fields: lon, reading, ts, level\nTask: Fetch lat from uv_index where depth is greater than the minimum of reading in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000027", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lon, type, lat, unit\n Sensor: humidity | fields: value, depth, level, ts\nTask: Fetch lat from pressure where qc exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000028", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: qc, level, lat, lon\n Sensor: drought_index | fields: lon, value, reading, depth\nTask: Retrieve lon from visibility that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000029", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, reading, level, unit\n Sensor: humidity | fields: ts, reading, lon, value\nTask: Fetch lon from frost where depth is greater than the average of value in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000030", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, ts, reading, type\n Sensor: evaporation | fields: ts, unit, lat, qc\nTask: Fetch lon from air_quality where depth is greater than the average of value in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "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_fixed_v1_val_000031", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: level, lat, reading, ts\n Sensor: frost | fields: ts, reading, level, type\nTask: Fetch depth from visibility where type exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000032", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: qc, depth, lon, level\n Sensor: air_quality | fields: lat, level, qc, type\nTask: Fetch lat from evaporation that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000033", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: unit, value, qc, lat\n Sensor: temperature | fields: level, type, lon, qc\nTask: Get value from dew_point where depth exceeds the total depth from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000034", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, type, reading, level\n Sensor: turbidity | fields: reading, lat, ts, qc\nTask: Retrieve lon from air_quality that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000035", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: value, unit, lat, depth\n Sensor: frost | fields: lat, value, reading, ts\nTask: Get lat from turbidity where depth appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000036", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: ts, level, reading, depth\n Sensor: air_quality | fields: lon, qc, level, reading\nTask: Fetch lat from soil_moisture that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000037", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: qc, unit, ts, reading\n Sensor: humidity | fields: value, unit, lon, depth\nTask: Fetch lon from uv_index where value is greater than the total of depth in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000038", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lat, type, depth, qc\n Sensor: visibility | fields: level, lon, ts, qc\nTask: Retrieve level from rainfall that have at least one matching reading in visibility sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000039", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, value, type, reading\n Sensor: cloud_cover | fields: qc, unit, reading, ts\nTask: Get reading from soil_moisture where reading exceeds the count of reading from cloud_cover 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\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000040", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, level, qc, type\n Sensor: visibility | fields: lat, lon, level, type\nTask: Fetch level from sunlight where depth exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000041", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: reading, lon, ts, depth\n Sensor: evaporation | fields: type, ts, unit, level\nTask: Fetch lat from wind_speed where value is greater than the total of reading in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000042", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: unit, value, reading, level\n Sensor: drought_index | fields: depth, qc, lon, reading\nTask: Retrieve lon from frost whose ts is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000043", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: ts, lon, qc, depth\n Sensor: air_quality | fields: value, lon, level, depth\nTask: Get lat from cloud_cover where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000044", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: type, depth, ts, lon\n Sensor: lightning | fields: unit, ts, type, lat\nTask: Get value from snow_depth where ts appears in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000045", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, qc, ts, type\n Sensor: dew_point | fields: level, reading, type, unit\nTask: Fetch lat from air_quality where depth is greater than the maximum of depth in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000046", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: unit, level, ts, type\n Sensor: air_quality | fields: type, depth, reading, qc\nTask: Retrieve lat from wind_speed that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000047", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, lon, value, depth\n Sensor: dew_point | fields: lon, depth, value, ts\nTask: Get lat from air_quality where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000048", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: unit, lat, type, ts\n Sensor: temperature | fields: lon, depth, type, lat\nTask: Get reading from frost where ts appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000049", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, depth, reading, qc\n Sensor: temperature | fields: unit, reading, depth, lat\nTask: Fetch level from drought_index where reading is greater than the average of value in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000050", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, level, lon, lat\n Sensor: temperature | fields: lat, level, ts, qc\nTask: Get level from air_quality where reading exceeds the total reading from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000051", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: depth, lon, unit, reading\n Sensor: humidity | fields: level, value, depth, lon\nTask: Get lat from frost where qc appears in humidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000052", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: type, reading, value, lat\n Sensor: drought_index | fields: depth, qc, unit, reading\nTask: Get value from sunlight where ts appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000053", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, reading, qc, level\n Sensor: evaporation | fields: depth, level, lat, reading\nTask: Get reading from wind_speed where type appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000054", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, qc, depth, value\n Sensor: drought_index | fields: value, ts, reading, lon\nTask: Get lat from temperature where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000055", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: type, lon, depth, qc\n Sensor: cloud_cover | fields: level, reading, ts, type\nTask: Get reading from lightning where reading exceeds the average value from cloud_cover for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000056", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, depth, level, lon\n Sensor: cloud_cover | fields: lat, ts, lon, type\nTask: Fetch value from evaporation where reading is greater than the total of reading in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000057", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lat, level, lon, reading\n Sensor: wind_speed | fields: type, qc, value, reading\nTask: Retrieve reading from turbidity whose unit is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000058", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: qc, unit, lon, value\n Sensor: frost | fields: type, lon, reading, lat\nTask: Fetch reading from wind_speed where value is greater than the average of value in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000059", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, depth, qc, ts\n Sensor: uv_index | fields: unit, ts, depth, reading\nTask: Fetch lat from visibility where ts exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000060", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, type, qc, ts\n Sensor: visibility | fields: level, type, ts, lon\nTask: Fetch level from wind_speed where value is greater than the total of reading in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000061", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: type, value, ts, level\n Sensor: soil_moisture | fields: lon, ts, type, depth\nTask: Fetch value from temperature that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000062", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, lat, qc, reading\n Sensor: turbidity | fields: level, lat, qc, unit\nTask: Get level from temperature where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000063", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: level, reading, lon, lat\n Sensor: rainfall | fields: reading, qc, lat, ts\nTask: Retrieve value from frost with depth above the MIN(value) of rainfall readings sharing the same 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(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000064", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, depth, lat, type\n Sensor: visibility | fields: reading, ts, lon, lat\nTask: Get value from dew_point where qc appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000065", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, level, type, lat\n Sensor: evaporation | fields: value, lat, unit, lon\nTask: Retrieve depth from humidity with value above the MIN(value) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000066", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: ts, unit, qc, type\n Sensor: humidity | fields: lon, reading, qc, ts\nTask: Fetch value from pressure that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000067", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, reading, depth, lon\n Sensor: rainfall | fields: lat, value, lon, type\nTask: Retrieve level from snow_depth with reading above the SUM(reading) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000068", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: depth, ts, lat, qc\n Sensor: rainfall | fields: lon, reading, lat, type\nTask: Fetch depth from visibility that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000069", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, level, reading, depth\n Sensor: snow_depth | fields: value, type, depth, qc\nTask: Fetch lat from dew_point where value is greater than the maximum of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000070", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: reading, type, lon, level\n Sensor: uv_index | fields: reading, depth, value, lon\nTask: Retrieve reading from dew_point whose ts is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000071", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: level, depth, lat, value\n Sensor: wind_speed | fields: lat, type, value, unit\nTask: Retrieve reading 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=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000072", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: value, qc, depth, ts\n Sensor: humidity | fields: type, lon, qc, level\nTask: Fetch depth from lightning where type exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000073", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, qc, depth, lat\n Sensor: rainfall | fields: ts, lon, type, unit\nTask: Get lon from turbidity where type appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000074", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: reading, lat, depth, lon\n Sensor: sunlight | fields: lon, value, unit, depth\nTask: Retrieve level from soil_moisture with reading above the MAX(reading) of sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000075", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lon, qc, type, unit\n Sensor: evaporation | fields: value, ts, lon, unit\nTask: Retrieve lat from cloud_cover whose type is found in evaporation records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000076", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: type, level, value, qc\n Sensor: turbidity | fields: reading, lon, type, qc\nTask: Get level from uv_index where qc appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000077", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: depth, qc, ts, value\n Sensor: soil_moisture | fields: ts, lon, reading, type\nTask: Retrieve depth from frost with value above the COUNT(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000078", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lon, reading, ts, depth\n Sensor: snow_depth | fields: depth, unit, type, lat\nTask: Get lon from humidity where reading exceeds the minimum depth from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000079", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, level, reading, depth\n Sensor: temperature | fields: lat, value, ts, lon\nTask: Retrieve reading from sunlight whose ts is found in temperature 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(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000080", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: depth, unit, level, lon\n Sensor: uv_index | fields: depth, level, unit, value\nTask: Fetch value from sunlight where ts exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\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": "sunlight", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000081", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: qc, depth, level, type\n Sensor: lightning | fields: type, lon, depth, reading\nTask: Retrieve reading from sunlight whose ts is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000082", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, type, lon, lat\n Sensor: evaporation | fields: qc, reading, type, depth\nTask: Retrieve level from uv_index whose type is found in evaporation records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000083", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lon, value, type, reading\n Sensor: drought_index | fields: depth, type, qc, lon\nTask: Fetch lat from temperature that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000084", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: type, value, depth, lat\n Sensor: evaporation | fields: lat, value, qc, reading\nTask: Retrieve reading from cloud_cover that have at least one matching reading in evaporation sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000085", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: level, type, lat, value\n Sensor: dew_point | fields: value, qc, lon, level\nTask: Get lat from pressure where value exceeds the count of reading from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000086", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, unit, type, lon\n Sensor: uv_index | fields: lat, reading, level, lon\nTask: Retrieve level from sunlight that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000087", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, depth, value, ts\n Sensor: air_quality | fields: qc, lat, level, unit\nTask: Retrieve level from humidity that have at least one matching reading in air_quality sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000088", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: value, ts, type, lat\n Sensor: evaporation | fields: type, lat, ts, reading\nTask: Get value from pressure where value exceeds the average reading from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000089", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, lon, lat, unit\n Sensor: soil_moisture | fields: reading, level, qc, value\nTask: Get level from lightning where unit appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000090", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: qc, reading, lat, depth\n Sensor: uv_index | fields: lat, ts, lon, depth\nTask: Retrieve depth from wind_speed with depth above the MIN(reading) of uv_index 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(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000091", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: qc, depth, lat, value\n Sensor: turbidity | fields: lon, value, depth, unit\nTask: Get depth from air_quality where qc appears in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000092", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, level, depth, unit\n Sensor: dew_point | fields: lon, depth, level, reading\nTask: Fetch lat from soil_moisture where depth is greater than the average of depth in dew_point for matching unit.\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(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000093", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lon, value, unit, type\n Sensor: sunlight | fields: unit, reading, type, level\nTask: Get depth from wind_speed where qc appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000094", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, unit, type, level\n Sensor: turbidity | fields: depth, qc, unit, lat\nTask: Fetch level from temperature where ts exists in turbidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000095", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, depth, lon, ts\n Sensor: uv_index | fields: value, depth, reading, level\nTask: Get value from humidity where depth exceeds the total value from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000096", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: value, lon, lat, unit\n Sensor: wind_speed | fields: lat, type, level, 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=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000097", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, depth, lat, lon\n Sensor: soil_moisture | fields: value, lat, level, depth\nTask: Retrieve value from dew_point that have at least one matching reading in soil_moisture sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000098", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: unit, lat, reading, ts\n Sensor: visibility | fields: reading, type, qc, lat\nTask: Get value from air_quality where unit appears in visibility readings with matching unit.\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=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000099", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: reading, qc, depth, value\n Sensor: temperature | fields: lat, depth, lon, ts\nTask: Get level from air_quality where value exceeds the minimum value from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\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": "air_quality", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000100", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, level, type, unit\n Sensor: pressure | fields: ts, level, depth, reading\nTask: Retrieve lon from rainfall whose unit is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000101", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: depth, qc, unit, reading\n Sensor: rainfall | fields: reading, type, ts, lon\nTask: Retrieve value from dew_point whose ts is found in rainfall records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000102", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, qc, ts, lon\n Sensor: visibility | fields: depth, reading, unit, value\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=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000103", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: qc, ts, level, value\n Sensor: snow_depth | fields: type, lat, level, lon\nTask: Retrieve level 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=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000104", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: value, type, unit, depth\n Sensor: soil_moisture | fields: type, unit, ts, level\nTask: Retrieve lon from frost whose depth is found in soil_moisture records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000105", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: qc, lat, depth, level\n Sensor: wind_speed | fields: qc, depth, type, unit\nTask: Get lon from temperature where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000106", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, unit, level, value\n Sensor: snow_depth | fields: lat, value, lon, depth\nTask: Retrieve depth from turbidity whose type 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=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000107", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: reading, level, lat, unit\n Sensor: frost | fields: lat, qc, depth, ts\nTask: Get depth from snow_depth where depth appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000108", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: type, reading, level, value\n Sensor: rainfall | fields: level, qc, reading, type\nTask: Get value from turbidity where reading exceeds the total value from rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000109", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: level, unit, depth, qc\n Sensor: pressure | fields: lon, ts, level, unit\nTask: Get depth from rainfall where a corresponding entry exists in pressure with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000110", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: unit, lon, level, type\n Sensor: evaporation | fields: lat, reading, lon, unit\nTask: Fetch level from wind_speed where ts exists in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "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_fixed_v1_val_000111", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: type, unit, lon, qc\n Sensor: rainfall | fields: level, value, lon, qc\nTask: Fetch reading from cloud_cover where reading is greater than the count of of depth in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "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_fixed_v1_val_000112", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, lon, ts, type\n Sensor: drought_index | fields: value, qc, depth, reading\nTask: Fetch level from air_quality that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000113", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: unit, lat, reading, depth\n Sensor: snow_depth | fields: lat, qc, ts, level\nTask: Fetch value from pressure where type exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000114", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lon, level, depth, value\n Sensor: lightning | fields: value, qc, depth, ts\nTask: Get level from visibility where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "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_fixed_v1_val_000115", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lat, lon, type, qc\n Sensor: temperature | fields: depth, ts, lat, qc\nTask: Get lat from sunlight where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000116", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, qc, ts, depth\n Sensor: drought_index | fields: ts, unit, depth, type\nTask: Fetch value from air_quality that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000117", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: level, value, unit, lat\n Sensor: frost | fields: lat, depth, unit, reading\nTask: Retrieve reading from temperature whose unit is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "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_fixed_v1_val_000118", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: type, depth, lon, unit\n Sensor: visibility | fields: unit, lon, reading, level\nTask: Get level from rainfall where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "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_fixed_v1_val_000119", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, unit, type, ts\n Sensor: humidity | fields: type, lat, depth, ts\nTask: Fetch lon from frost where depth is greater than the minimum of value in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000120", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: unit, type, qc, reading\n Sensor: snow_depth | fields: unit, qc, depth, ts\nTask: Retrieve lon from evaporation whose ts is found in snow_depth records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000121", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: type, unit, depth, lon\n Sensor: humidity | fields: depth, type, reading, unit\nTask: Get level from cloud_cover where type appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000122", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, lat, reading, lon\n Sensor: pressure | fields: ts, type, unit, level\nTask: Fetch depth from frost that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000123", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lat, value, qc, type\n Sensor: drought_index | fields: level, qc, lon, lat\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=\"gst\"),\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": "gst", "inner_alias": "drt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000124", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: type, value, lat, lon\n Sensor: cloud_cover | fields: lat, reading, qc, depth\nTask: Fetch lon from soil_moisture where unit exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000125", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: qc, lon, depth, lat\n Sensor: turbidity | fields: type, value, qc, ts\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=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000126", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, unit, value, ts\n Sensor: snow_depth | fields: unit, lon, value, ts\nTask: Fetch lon from humidity where depth exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000127", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, depth, level, lat\n Sensor: visibility | fields: level, lon, qc, depth\nTask: Retrieve lat from snow_depth with value above the MAX(value) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000128", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: ts, type, level, unit\n Sensor: frost | fields: unit, depth, ts, level\nTask: Retrieve lat from cloud_cover with depth above the MIN(value) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000129", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: unit, qc, lon, depth\n Sensor: frost | fields: reading, ts, unit, type\nTask: Retrieve depth from rainfall whose qc is found in frost records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000130", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lat, value, reading, ts\n Sensor: wind_speed | fields: reading, level, depth, ts\nTask: Get reading from sunlight where qc appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000131", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: type, lat, lon, unit\n Sensor: rainfall | fields: lon, level, type, ts\nTask: Fetch depth from air_quality that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000132", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lat, qc, ts, type\n Sensor: temperature | fields: type, reading, qc, unit\nTask: Retrieve level from turbidity whose depth is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000133", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, ts, lat, depth\n Sensor: drought_index | fields: lat, qc, unit, level\nTask: Get lon from temperature where type appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000134", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, reading, lat, lon\n Sensor: lightning | fields: lon, qc, ts, type\nTask: Fetch reading from turbidity where reading is greater than the total of depth in lightning for matching 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(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000135", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: type, level, lon, depth\n Sensor: temperature | fields: lon, unit, depth, lat\nTask: Fetch level from lightning where type exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000136", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: reading, level, depth, lat\n Sensor: dew_point | fields: lon, lat, unit, value\nTask: Fetch reading from lightning where qc exists in dew_point sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000137", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, lon, reading, depth\n Sensor: rainfall | fields: ts, level, reading, depth\nTask: Retrieve depth from turbidity that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000138", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: type, lon, reading, ts\n Sensor: temperature | fields: level, unit, ts, value\nTask: Retrieve lon from uv_index with value above the SUM(value) of temperature 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(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000139", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: value, type, reading, depth\n Sensor: uv_index | fields: ts, level, qc, reading\nTask: Fetch level from soil_moisture that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000140", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, value, reading, lat\n Sensor: drought_index | fields: level, value, unit, reading\nTask: Fetch level from uv_index where value is greater than the average of value in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000141", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: reading, ts, lon, qc\n Sensor: rainfall | fields: depth, type, unit, reading\nTask: Fetch lon from visibility where type exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000142", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, type, value, unit\n Sensor: uv_index | fields: level, depth, value, qc\nTask: Get level from dew_point where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000143", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, qc, lon, type\n Sensor: evaporation | fields: lat, reading, qc, type\nTask: Fetch depth from dew_point where unit exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000144", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: unit, lat, type, ts\n Sensor: soil_moisture | fields: depth, reading, ts, lat\nTask: Retrieve lat from visibility with reading above the AVG(depth) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000145", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, reading, depth, type\n Sensor: sunlight | fields: lon, value, ts, depth\nTask: Fetch lat from temperature where qc exists in sunlight sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "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_fixed_v1_val_000146", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: qc, lon, reading, depth\n Sensor: visibility | fields: type, qc, ts, lon\nTask: Fetch lat from humidity that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000147", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: level, ts, depth, qc\n Sensor: visibility | fields: depth, ts, lon, reading\nTask: Get value from rainfall where reading exceeds the average value 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(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000148", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: ts, depth, lat, qc\n Sensor: frost | fields: level, lat, ts, unit\nTask: Get lon from rainfall where qc appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000149", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lat, reading, level, depth\n Sensor: frost | fields: lon, ts, lat, reading\nTask: Retrieve value from cloud_cover whose type is found in frost records where unit 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(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000150", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lat, unit, value, lon\n Sensor: humidity | fields: lon, unit, ts, type\nTask: Retrieve value from sunlight with depth above the SUM(reading) of humidity 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(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000151", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lat, unit, lon, type\n Sensor: dew_point | fields: level, value, unit, type\nTask: Retrieve value 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=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000152", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, unit, depth, reading\n Sensor: snow_depth | fields: reading, type, qc, level\nTask: Get reading from temperature where depth exceeds the minimum depth from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "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_fixed_v1_val_000153", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, level, depth, qc\n Sensor: lightning | fields: unit, depth, value, qc\nTask: Fetch value from soil_moisture where type exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000154", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, value, ts, lat\n Sensor: temperature | fields: qc, depth, reading, type\nTask: Fetch level from sunlight where ts exists in temperature 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(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "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_fixed_v1_val_000155", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, value, ts, type\n Sensor: wind_speed | fields: depth, value, lat, qc\nTask: Retrieve reading from pressure whose unit is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000156", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, reading, depth, ts\n Sensor: lightning | fields: unit, value, lon, lat\nTask: Retrieve lat from humidity whose depth is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000157", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: depth, lat, value, reading\n Sensor: sunlight | fields: ts, qc, reading, unit\nTask: Retrieve depth from soil_moisture with depth above the MAX(depth) 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\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000158", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, ts, level, value\n Sensor: lightning | fields: qc, reading, lat, level\nTask: Retrieve reading from rainfall whose type is found in lightning records where type 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=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000159", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: type, lon, value, ts\n Sensor: temperature | fields: lat, level, value, lon\nTask: Get lat from sunlight where depth exceeds the maximum depth from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000160", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: level, reading, lon, depth\n Sensor: frost | fields: level, qc, value, lat\nTask: Retrieve reading from sunlight with value above the SUM(depth) of frost 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\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000161", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: level, qc, lat, value\n Sensor: sunlight | fields: reading, depth, lon, value\nTask: Get depth from dew_point where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000162", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: ts, unit, lon, qc\n Sensor: soil_moisture | fields: level, type, lon, lat\nTask: Fetch reading from visibility where depth is greater than the average of reading in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000163", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lat, ts, reading, depth\n Sensor: snow_depth | fields: value, ts, level, type\nTask: Get level from air_quality where unit appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000164", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: level, lat, qc, lon\n Sensor: wind_speed | fields: lat, type, unit, value\nTask: Retrieve value from drought_index whose depth is found in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000165", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, unit, type, ts\n Sensor: cloud_cover | fields: reading, type, value, level\nTask: Retrieve reading from visibility that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000166", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: depth, type, qc, unit\n Sensor: sunlight | fields: unit, type, qc, ts\nTask: Fetch depth from temperature where depth exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000167", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: reading, unit, lat, depth\n Sensor: snow_depth | fields: reading, unit, ts, lat\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=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000168", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, type, value, lat\n Sensor: dew_point | fields: lat, unit, type, lon\nTask: Retrieve reading from evaporation that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000169", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: ts, reading, value, depth\n Sensor: lightning | fields: ts, lat, lon, unit\nTask: Get lat from frost where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000170", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: reading, value, lon, ts\n Sensor: frost | fields: level, depth, reading, qc\nTask: Retrieve depth from sunlight with depth above the COUNT(reading) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000171", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: unit, reading, type, lon\n Sensor: soil_moisture | fields: ts, depth, qc, level\nTask: Retrieve lat from rainfall whose depth is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000172", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: qc, depth, level, lat\n Sensor: uv_index | fields: qc, value, type, lon\nTask: Get level from evaporation where depth exceeds the minimum reading from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000173", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, reading, ts, value\n Sensor: sunlight | fields: reading, value, qc, lat\nTask: Retrieve level from air_quality that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000174", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lon, qc, level, ts\n Sensor: evaporation | fields: unit, ts, lat, lon\nTask: Get lon from uv_index where value exceeds the maximum reading from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000175", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: reading, lat, level, lon\n Sensor: visibility | fields: qc, level, depth, unit\nTask: Get lat from evaporation where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000176", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: level, value, lat, depth\n Sensor: snow_depth | fields: level, lat, value, depth\nTask: Fetch reading from temperature where value is greater than the total of depth in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "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_fixed_v1_val_000177", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, qc, type, unit\n Sensor: air_quality | fields: level, unit, value, reading\nTask: Retrieve depth from snow_depth with depth above the AVG(depth) of air_quality 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(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000178", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: value, lon, level, reading\n Sensor: cloud_cover | fields: ts, qc, value, lat\nTask: Fetch depth from sunlight where reading is greater than the total of value in cloud_cover for matching 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(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000179", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lon, unit, qc, level\n Sensor: frost | fields: qc, ts, depth, reading\nTask: Fetch value from humidity that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000180", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, lat, unit, value\n Sensor: air_quality | fields: type, ts, lat, depth\nTask: Get depth 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=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000181", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: qc, unit, ts, level\n Sensor: drought_index | fields: value, depth, reading, lon\nTask: Fetch lat from snow_depth where depth is greater than the average of value in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000182", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, qc, unit, reading\n Sensor: visibility | fields: qc, lon, unit, level\nTask: Fetch depth from sunlight where reading is greater than the count of of depth in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000183", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: unit, value, level, depth\n Sensor: drought_index | fields: type, qc, level, lat\nTask: Fetch reading from visibility where reading is greater than the minimum of value in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000184", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, type, reading, lon\n Sensor: humidity | fields: type, depth, unit, level\nTask: Retrieve reading from turbidity whose qc is found in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000185", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lat, ts, unit, value\n Sensor: temperature | fields: qc, ts, level, lat\nTask: Retrieve reading from wind_speed that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000186", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: level, depth, lat, type\n Sensor: uv_index | fields: lat, reading, qc, depth\nTask: Retrieve lat from wind_speed that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000187", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, reading, ts, qc\n Sensor: turbidity | fields: value, lat, ts, depth\nTask: Fetch lat from visibility where depth exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000188", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: unit, lat, depth, reading\n Sensor: temperature | fields: ts, unit, lon, value\nTask: Fetch reading from soil_moisture where value is greater than the count of of value in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000189", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: depth, lon, qc, reading\n Sensor: drought_index | fields: qc, value, type, unit\nTask: Retrieve lat from sunlight whose ts is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000190", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, qc, value, lat\n Sensor: evaporation | fields: value, qc, lat, ts\nTask: Retrieve lon from sunlight with value above the MIN(depth) of evaporation readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000191", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: unit, type, qc, depth\n Sensor: cloud_cover | fields: type, value, ts, unit\nTask: Retrieve lat from temperature that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000192", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, depth, lon, qc\n Sensor: lightning | fields: unit, level, type, ts\nTask: Get level from wind_speed where reading exceeds the maximum value from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000193", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, ts, lat, reading\n Sensor: soil_moisture | fields: unit, reading, lon, type\nTask: Retrieve level from wind_speed with depth above the MAX(depth) of soil_moisture 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(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000194", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, ts, lat, value\n Sensor: uv_index | fields: level, type, qc, reading\nTask: Retrieve level from evaporation whose qc is found in uv_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000195", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: value, type, ts, level\n Sensor: soil_moisture | fields: unit, value, type, reading\nTask: Get depth from visibility where depth appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000196", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, value, depth, reading\n Sensor: sunlight | fields: ts, value, unit, lat\nTask: Fetch reading from humidity where ts exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000197", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, qc, type, level\n Sensor: lightning | fields: ts, unit, reading, lon\nTask: Get lat from visibility where value exceeds the maximum reading from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000198", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: value, type, depth, ts\n Sensor: wind_speed | fields: type, value, reading, depth\nTask: Get depth from lightning where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000199", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, qc, lat, value\n Sensor: visibility | fields: qc, lat, ts, level\nTask: Get lon from rainfall where reading exceeds the maximum value from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000200", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lat, ts, qc, type\n Sensor: sunlight | fields: depth, type, lat, reading\nTask: Get value from drought_index where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000201", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, lat, value, level\n Sensor: dew_point | fields: type, lat, unit, value\nTask: Retrieve value from drought_index whose qc is found in dew_point records where depth 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(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000202", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, lat, lon, level\n Sensor: humidity | fields: lon, type, lat, qc\nTask: Fetch depth from turbidity where depth is greater than the count of of depth in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000203", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lon, reading, type, level\n Sensor: turbidity | fields: lat, value, reading, lon\nTask: Retrieve reading from visibility with depth above the SUM(depth) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000204", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: level, qc, value, lat\n Sensor: drought_index | fields: type, reading, value, qc\nTask: Retrieve reading from snow_depth that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000205", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lon, lat, level, reading\n Sensor: lightning | fields: level, qc, unit, ts\nTask: Fetch lon from soil_moisture where depth 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=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000206", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: ts, type, unit, reading\n Sensor: rainfall | fields: lat, value, lon, depth\nTask: Get lat from uv_index where a corresponding entry exists in rainfall with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000207", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, level, lat, value\n Sensor: drought_index | fields: depth, reading, qc, type\nTask: Fetch level from snow_depth that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000208", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: unit, reading, level, type\n Sensor: rainfall | fields: depth, lon, value, type\nTask: Get value from frost where qc appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000209", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, value, depth, ts\n Sensor: soil_moisture | fields: lon, depth, unit, ts\nTask: Retrieve value from visibility whose ts is found in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000210", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lat, unit, type, lon\n Sensor: temperature | fields: qc, type, ts, lat\nTask: Fetch depth from pressure where reading is greater than the total of reading in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000211", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: depth, reading, unit, type\n Sensor: temperature | fields: ts, depth, lon, qc\nTask: Fetch value from visibility where type exists in temperature sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000212", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, unit, ts, reading\n Sensor: air_quality | fields: lon, unit, level, value\nTask: Retrieve reading from temperature whose depth is found in air_quality records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000213", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: value, lon, unit, depth\n Sensor: temperature | fields: lon, level, depth, reading\nTask: Fetch reading from drought_index where reading is greater than the maximum of reading in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000214", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: reading, depth, value, ts\n Sensor: evaporation | fields: depth, level, qc, reading\nTask: Retrieve depth from uv_index with value above the COUNT(depth) of evaporation readings sharing the same 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(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000215", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, value, lon, ts\n Sensor: temperature | fields: lon, value, type, level\nTask: Fetch level from pressure where reading is greater than the count of of value in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000216", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: ts, value, lat, lon\n Sensor: humidity | fields: value, type, ts, lon\nTask: Retrieve value from sunlight with depth above the AVG(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(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "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_fixed_v1_val_000217", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: reading, lon, ts, value\n Sensor: evaporation | fields: depth, value, qc, level\nTask: Retrieve lon from temperature whose unit is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000218", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, ts, level, value\n Sensor: lightning | fields: qc, type, lon, value\nTask: Get reading from dew_point where depth exceeds the total value from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000219", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: reading, unit, level, lat\n Sensor: evaporation | fields: level, unit, qc, depth\nTask: Retrieve value from lightning whose unit is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000220", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: qc, unit, level, lat\n Sensor: soil_moisture | fields: lat, lon, value, depth\nTask: Retrieve reading from pressure whose depth is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000221", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, unit, lon, ts\n Sensor: visibility | fields: qc, ts, lon, type\nTask: Fetch level from air_quality where value is greater than the total of reading in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000222", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, qc, ts, reading\n Sensor: humidity | fields: value, level, reading, qc\nTask: Fetch level from visibility where reading is greater than the average of depth in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000223", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: qc, type, value, depth\n Sensor: air_quality | fields: qc, depth, reading, lat\nTask: Fetch depth from lightning where ts exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000224", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: value, qc, lat, lon\n Sensor: visibility | fields: value, level, reading, unit\nTask: Get lat from drought_index where unit appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000225", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: reading, value, depth, lat\n Sensor: temperature | fields: level, ts, depth, lat\nTask: Get lat from visibility where reading exceeds the total depth from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000226", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: depth, unit, lat, type\n Sensor: sunlight | fields: reading, lat, depth, ts\nTask: Retrieve value from lightning that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000227", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: qc, lat, ts, value\n Sensor: uv_index | fields: ts, lon, value, qc\nTask: Get lat from wind_speed where reading exceeds the maximum depth from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "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_fixed_v1_val_000228", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lat, depth, type, value\n Sensor: turbidity | fields: level, lon, unit, depth\nTask: Get depth from temperature where reading exceeds the minimum reading from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000229", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: ts, lat, level, qc\n Sensor: uv_index | fields: ts, lat, type, qc\nTask: Retrieve level 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=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000230", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, level, type, ts\n Sensor: sunlight | fields: value, depth, qc, level\nTask: Retrieve reading from evaporation that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000231", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, lat, value, reading\n Sensor: drought_index | fields: unit, level, depth, reading\nTask: Retrieve lat from dew_point whose type is found in drought_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000232", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, lat, depth, reading\n Sensor: snow_depth | fields: level, depth, lat, unit\nTask: Fetch lat from cloud_cover where value is greater than the maximum of depth in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000233", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: unit, type, ts, level\n Sensor: cloud_cover | fields: reading, type, qc, lat\nTask: Retrieve depth from uv_index whose ts is found in cloud_cover records where unit 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(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000234", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: reading, lat, qc, depth\n Sensor: humidity | fields: lon, reading, value, depth\nTask: Get level from sunlight where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000235", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: depth, lat, ts, reading\n Sensor: drought_index | fields: qc, unit, depth, type\nTask: Retrieve value 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=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000236", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, level, depth, lon\n Sensor: visibility | fields: value, lat, depth, type\nTask: Fetch lon from drought_index where type exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_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": "drought_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_fixed_v1_val_000237", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, depth, ts, lat\n Sensor: sunlight | fields: value, type, depth, level\nTask: Retrieve reading from snow_depth whose unit is found in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000238", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, type, ts, level\n Sensor: soil_moisture | fields: reading, lon, type, level\nTask: Retrieve value from visibility with value above the SUM(reading) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000239", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: level, value, type, ts\n Sensor: dew_point | fields: unit, type, reading, level\nTask: Get value from snow_depth where value exceeds the total depth from dew_point for the same type.\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(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000240", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, lat, type, level\n Sensor: sunlight | fields: level, reading, depth, unit\nTask: Get reading from air_quality where type appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000241", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, qc, unit, lat\n Sensor: sunlight | fields: qc, level, value, type\nTask: Fetch level from frost where ts exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000242", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, reading, qc, lat\n Sensor: wind_speed | fields: ts, unit, lat, depth\nTask: Fetch lon from humidity where qc exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000243", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: unit, lat, level, depth\n Sensor: snow_depth | fields: lon, value, reading, unit\nTask: Get lat from pressure where qc appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000244", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, lat, lon, reading\n Sensor: lightning | fields: unit, lat, value, level\nTask: Get depth from evaporation where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000245", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: reading, value, type, depth\n Sensor: wind_speed | fields: reading, unit, level, lon\nTask: Retrieve lon from evaporation whose depth is found in wind_speed records where type 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=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000246", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, level, lat, depth\n Sensor: air_quality | fields: lat, type, unit, value\nTask: Retrieve lon from temperature whose unit is found in air_quality records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000247", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: qc, lon, ts, level\n Sensor: rainfall | fields: value, lat, depth, level\nTask: Fetch lon from frost that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000248", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: type, ts, lat, depth\n Sensor: humidity | fields: unit, level, reading, qc\nTask: Retrieve depth from cloud_cover with depth above the SUM(depth) 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\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000249", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: unit, reading, depth, lon\n Sensor: sunlight | fields: lon, type, depth, ts\nTask: Fetch lat from wind_speed where ts exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000250", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: level, ts, unit, qc\n Sensor: evaporation | fields: unit, reading, value, lon\nTask: Retrieve depth from humidity whose ts is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000251", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, ts, depth, unit\n Sensor: evaporation | fields: lat, lon, value, qc\nTask: Get value from wind_speed where ts appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "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_fixed_v1_val_000252", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, ts, value, unit\n Sensor: lightning | fields: reading, type, level, lon\nTask: Get reading from sunlight where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000253", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | 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=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000254", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, reading, level, type\n Sensor: wind_speed | fields: value, lon, ts, type\nTask: Get lat from air_quality where qc appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000255", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: value, lon, qc, depth\n Sensor: turbidity | fields: ts, type, lat, depth\nTask: Retrieve lat from rainfall with reading above the MAX(depth) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000256", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, level, ts, type\n Sensor: drought_index | fields: type, unit, level, lat\nTask: Fetch lat from cloud_cover that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000257", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: level, reading, lon, depth\n Sensor: pressure | fields: reading, value, qc, lon\nTask: Retrieve lat from sunlight that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000258", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: unit, value, reading, type\n Sensor: lightning | fields: type, qc, reading, depth\nTask: Get lon from cloud_cover where reading exceeds the total reading from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000259", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, level, lat, lon\n Sensor: cloud_cover | fields: ts, value, unit, qc\nTask: Fetch value from temperature that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000260", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, level, lat, unit\n Sensor: frost | fields: reading, lon, depth, type\nTask: Get lon from humidity where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000261", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, lat, reading, type\n Sensor: rainfall | fields: reading, type, lon, lat\nTask: Fetch level 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=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000262", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: level, qc, unit, type\n Sensor: cloud_cover | fields: lon, unit, depth, ts\nTask: Fetch level from snow_depth where depth is greater than the maximum of depth in cloud_cover for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000263", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, depth, lat, level\n Sensor: pressure | fields: qc, lat, depth, ts\nTask: Get reading from soil_moisture where reading exceeds the count of reading from pressure for the same type.\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(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000264", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: unit, lat, lon, ts\n Sensor: lightning | fields: ts, reading, qc, value\nTask: Get lat from air_quality where depth exceeds the total value from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000265", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: type, qc, unit, value\n Sensor: drought_index | fields: type, qc, depth, reading\nTask: Retrieve value from frost whose unit is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000266", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, unit, qc, level\n Sensor: drought_index | fields: unit, reading, type, lat\nTask: Retrieve value from evaporation with depth above the SUM(value) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000267", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, level, type, qc\n Sensor: cloud_cover | fields: reading, qc, unit, ts\nTask: Get reading from temperature where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000268", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: reading, type, unit, level\n Sensor: turbidity | fields: level, unit, value, depth\nTask: Fetch depth from wind_speed where unit exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000269", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, level, value, qc\n Sensor: dew_point | fields: ts, level, depth, value\nTask: Get reading from rainfall where qc appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000270", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, value, qc, ts\n Sensor: snow_depth | fields: unit, value, depth, type\nTask: Get lon from evaporation where qc appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "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_fixed_v1_val_000271", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: level, reading, lon, depth\n Sensor: evaporation | fields: unit, value, lat, qc\nTask: Get lat from soil_moisture where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000272", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: qc, level, value, lat\n Sensor: turbidity | fields: type, lon, ts, depth\nTask: Get reading from lightning where reading exceeds the maximum depth from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000273", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lon, depth, lat, unit\n Sensor: air_quality | fields: lat, value, type, qc\nTask: Fetch value from drought_index where depth is greater than the minimum of reading in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000274", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lat, value, qc, reading\n Sensor: humidity | fields: lon, lat, unit, level\nTask: Get lon from evaporation where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000275", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: unit, ts, level, qc\n Sensor: wind_speed | fields: lon, level, reading, lat\nTask: Retrieve value from uv_index that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000276", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: qc, type, depth, level\n Sensor: evaporation | fields: depth, reading, lat, ts\nTask: Get value from lightning where reading exceeds the count of depth from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000277", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, qc, value, level\n Sensor: frost | fields: unit, value, lat, level\nTask: Retrieve value from dew_point that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000278", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, lon, unit, level\n Sensor: uv_index | fields: lat, level, reading, type\nTask: Fetch reading from snow_depth where reading is greater than the minimum of depth in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000279", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, lat, depth, value\n Sensor: evaporation | fields: qc, lon, value, reading\nTask: Fetch value from cloud_cover that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000280", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: ts, type, qc, value\n Sensor: temperature | fields: depth, lon, ts, lat\nTask: Get reading from drought_index where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000281", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lon, qc, level, ts\n Sensor: visibility | fields: depth, ts, reading, lat\nTask: Retrieve lat from humidity whose qc is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000282", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, level, type, qc\n Sensor: drought_index | fields: reading, type, level, lon\nTask: Fetch depth from dew_point where reading is greater than the total of reading in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000283", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, level, reading, ts\n Sensor: rainfall | fields: qc, ts, value, unit\nTask: Get lon from drought_index where depth exceeds the total value from rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000284", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lon, reading, lat, type\n Sensor: sunlight | fields: depth, type, ts, level\nTask: Get lon from soil_moisture where depth appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000285", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, qc, lon, reading\n Sensor: evaporation | fields: ts, reading, value, qc\nTask: Retrieve reading from pressure whose type is found in evaporation records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000286", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, qc, ts, reading\n Sensor: sunlight | fields: qc, level, lon, type\nTask: Retrieve lon from dew_point that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000287", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: value, lon, depth, lat\n Sensor: rainfall | fields: qc, lon, depth, lat\nTask: Get level from turbidity where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000288", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, value, level, lat\n Sensor: turbidity | fields: depth, type, qc, lon\nTask: Retrieve level from temperature whose depth is found in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000289", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: value, reading, lat, qc\n Sensor: visibility | fields: qc, depth, lon, type\nTask: Get lon from humidity where qc appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000290", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, lon, type, value\n Sensor: evaporation | fields: value, type, lat, lon\nTask: Fetch reading from snow_depth that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000291", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: type, unit, lat, reading\n Sensor: dew_point | fields: lon, qc, reading, lat\nTask: Fetch value from humidity where ts exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000292", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, reading, ts, qc\n Sensor: snow_depth | fields: ts, level, value, lon\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=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000293", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: ts, type, depth, level\n Sensor: uv_index | fields: value, ts, level, lon\nTask: Retrieve value from sunlight whose unit is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000294", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lon, lat, depth, qc\n Sensor: humidity | fields: reading, ts, value, unit\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=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000295", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lon, qc, lat, depth\n Sensor: sunlight | fields: lon, type, level, qc\nTask: Fetch value from evaporation where depth is greater than the maximum of depth in sunlight for matching 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(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000296", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, level, unit, depth\n Sensor: air_quality | fields: value, type, level, lon\nTask: Get depth from sunlight where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000297", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, level, reading, depth\n Sensor: dew_point | fields: ts, level, lat, depth\nTask: Fetch level from lightning that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000298", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: ts, value, depth, level\n Sensor: frost | fields: unit, qc, ts, type\nTask: Get level from uv_index where ts appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000299", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: level, type, depth, unit\n Sensor: temperature | fields: qc, lat, level, reading\nTask: Fetch lon from snow_depth where value is greater than the minimum of value in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000300", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, value, depth, lat\n Sensor: rainfall | fields: qc, type, ts, level\nTask: Fetch lon from dew_point that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000301", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: level, type, unit, value\n Sensor: snow_depth | fields: depth, ts, unit, level\nTask: Fetch depth from temperature where depth is greater than the count of of depth in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000302", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, ts, unit, lon\n Sensor: soil_moisture | fields: qc, lon, reading, value\nTask: Fetch value from temperature where value is greater than the maximum of reading in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "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_fixed_v1_val_000303", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, lat, type, level\n Sensor: turbidity | fields: value, lat, type, ts\nTask: Retrieve depth from humidity whose depth is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000304", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, type, lon, depth\n Sensor: frost | fields: value, lat, type, reading\nTask: Retrieve value from drought_index whose type is found in frost records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "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_fixed_v1_val_000305", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lat, depth, ts, value\n Sensor: temperature | fields: value, depth, unit, lon\nTask: Retrieve value from frost with value above the SUM(reading) of temperature readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000306", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: ts, lon, qc, type\n Sensor: evaporation | fields: unit, depth, level, value\nTask: Fetch value from frost where reading is greater than the count of of depth in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000307", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: level, lon, lat, type\n Sensor: air_quality | fields: type, value, unit, qc\nTask: Get level from uv_index where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000308", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: type, reading, unit, depth\n Sensor: sunlight | fields: reading, level, unit, lon\nTask: Get reading from wind_speed where value exceeds the minimum depth from sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "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_fixed_v1_val_000309", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: ts, lon, value, type\n Sensor: wind_speed | fields: level, qc, ts, lat\nTask: Retrieve depth from temperature that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000310", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: ts, value, unit, reading\n Sensor: rainfall | fields: lat, level, value, reading\nTask: Fetch lat from evaporation where type exists in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000311", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, reading, lon, type\n Sensor: evaporation | fields: value, qc, lon, level\nTask: Fetch value from sunlight where qc exists in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000312", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: unit, value, reading, type\n Sensor: rainfall | fields: lon, qc, level, unit\nTask: Fetch reading from humidity where value is greater than the average of value in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000313", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, level, unit, ts\n Sensor: sunlight | fields: lat, qc, value, depth\nTask: Fetch level from lightning where reading is greater than the count of of reading in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000314", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: level, ts, lon, type\n Sensor: temperature | fields: unit, lon, reading, type\nTask: Retrieve depth from drought_index that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000315", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lon, lat, reading, unit\n Sensor: wind_speed | fields: reading, ts, lat, unit\nTask: Get level from uv_index where reading exceeds the maximum depth from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000316", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, lat, depth, type\n Sensor: temperature | fields: depth, lat, lon, unit\nTask: Get lon from cloud_cover where depth exceeds the minimum reading from temperature for the same type.\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(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000317", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, reading, qc, unit\n Sensor: dew_point | fields: reading, level, value, type\nTask: Get level from rainfall where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000318", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: value, reading, qc, lon\n Sensor: lightning | fields: lat, depth, type, unit\nTask: Get lon from rainfall where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000319", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: type, lat, level, value\n Sensor: wind_speed | fields: unit, type, level, reading\nTask: Fetch value from lightning where depth is greater than the total of reading in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000320", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: type, lon, qc, depth\n Sensor: drought_index | fields: value, lat, unit, ts\nTask: Get value from soil_moisture where depth exceeds the average value from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000321", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: type, reading, lat, value\n Sensor: pressure | fields: lon, level, qc, lat\nTask: Get reading from dew_point where qc appears in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000322", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, ts, qc, unit\n Sensor: frost | fields: depth, unit, value, ts\nTask: Fetch lon from soil_moisture where reading is greater than the maximum of depth in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000323", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: level, reading, value, lon\n Sensor: frost | fields: type, level, qc, unit\nTask: Get lon from drought_index where type appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000324", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, value, lon, lat\n Sensor: evaporation | fields: lon, type, qc, unit\nTask: Get lat from sunlight where depth appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "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_fixed_v1_val_000325", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: depth, type, reading, ts\n Sensor: uv_index | fields: value, ts, lat, lon\nTask: Get reading from sunlight where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "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_fixed_v1_val_000326", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lon, type, value, qc\n Sensor: humidity | fields: depth, lon, qc, ts\nTask: Retrieve level from uv_index with depth above the SUM(depth) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000327", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: depth, ts, lat, reading\n Sensor: visibility | fields: value, type, depth, ts\nTask: Retrieve depth from cloud_cover that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000328", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, reading, value, type\n Sensor: turbidity | fields: value, ts, reading, lat\nTask: Fetch lon from frost that have at least one corresponding turbidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000329", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, qc, level, reading\n Sensor: turbidity | fields: type, reading, unit, value\nTask: Get reading from air_quality where unit appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000330", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: depth, reading, value, qc\n Sensor: uv_index | fields: level, reading, unit, type\nTask: Fetch reading from visibility where depth is greater than the total of value in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000331", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: ts, level, qc, depth\n Sensor: cloud_cover | fields: lon, qc, lat, value\nTask: Retrieve value from evaporation that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000332", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: level, unit, depth, lat\n Sensor: humidity | fields: level, lat, unit, reading\nTask: Get depth from lightning where depth exceeds the total value from humidity for 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(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000333", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: qc, unit, depth, lat\n Sensor: frost | fields: level, lon, depth, type\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=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000334", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, reading, depth, lat\n Sensor: sunlight | fields: reading, level, depth, lon\nTask: Retrieve lon from visibility with reading above the AVG(depth) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000335", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, unit, ts, depth\n Sensor: temperature | fields: lat, depth, reading, lon\nTask: Fetch lat from pressure where unit exists in temperature 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(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000336", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, unit, value, lat\n Sensor: drought_index | fields: depth, reading, level, ts\nTask: Get reading from air_quality where reading exceeds the maximum depth from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "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_fixed_v1_val_000337", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, unit, qc, lon\n Sensor: visibility | fields: lon, reading, ts, level\nTask: Retrieve depth from humidity with reading above the COUNT(depth) of visibility readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", 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=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000338", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: level, lat, unit, type\n Sensor: evaporation | fields: lat, ts, unit, type\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=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000339", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, unit, qc, ts\n Sensor: cloud_cover | fields: qc, type, lon, lat\nTask: Get lat from wind_speed where qc appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000340", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: value, depth, qc, ts\n Sensor: lightning | fields: lat, unit, qc, ts\nTask: Retrieve lat from cloud_cover whose unit is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000341", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: level, depth, type, value\n Sensor: rainfall | fields: depth, level, lon, unit\nTask: Fetch value from drought_index that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000342", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: depth, lat, lon, ts\n Sensor: rainfall | fields: depth, type, level, reading\nTask: Get level from drought_index where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000343", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, level, type, unit\n Sensor: drought_index | fields: reading, unit, lon, qc\nTask: Fetch lon from temperature where qc 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=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000344", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: ts, qc, reading, level\n Sensor: air_quality | fields: depth, lat, qc, reading\nTask: Retrieve level from temperature that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000345", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, lon, depth, lat\n Sensor: visibility | fields: level, lat, reading, value\nTask: Fetch lat from dew_point where qc exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000346", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, depth, lat, value\n Sensor: temperature | fields: value, lat, ts, depth\nTask: Get lon from turbidity where depth exceeds the count of reading from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000347", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lon, lat, type, ts\n Sensor: evaporation | fields: type, depth, value, level\nTask: Fetch lon 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=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000348", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, unit, reading, lon\n Sensor: air_quality | fields: depth, level, ts, lon\nTask: Retrieve lat from frost that have at least one matching reading in air_quality sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000349", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: type, level, depth, qc\n Sensor: turbidity | fields: type, ts, value, level\nTask: Fetch value from humidity that have at least one corresponding turbidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000350", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: level, unit, ts, depth\n Sensor: visibility | fields: reading, unit, ts, qc\nTask: Fetch value from temperature that have at least one corresponding visibility measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000351", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: reading, unit, lat, ts\n Sensor: wind_speed | fields: ts, depth, reading, qc\nTask: Get reading from evaporation where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000352", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, qc, level, lon\n Sensor: dew_point | fields: qc, type, ts, lat\nTask: Fetch lon from frost where qc 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=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000353", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lat, unit, depth, qc\n Sensor: pressure | fields: unit, lon, reading, lat\nTask: Retrieve level from air_quality that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000354", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, lat, ts, unit\n Sensor: evaporation | fields: qc, level, reading, ts\nTask: Retrieve value from drought_index whose qc is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000355", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, reading, qc, ts\n Sensor: sunlight | fields: unit, value, lon, level\nTask: Get lon from uv_index where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000356", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, ts, depth, level\n Sensor: visibility | fields: type, qc, depth, value\nTask: Fetch depth from temperature where reading is greater than the average of reading in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000357", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: type, ts, depth, lon\n Sensor: visibility | fields: value, type, lon, ts\nTask: Get reading from rainfall where depth exceeds the average reading from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000358", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, ts, lat, level\n Sensor: evaporation | fields: depth, qc, ts, value\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=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000359", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: depth, unit, level, lat\n Sensor: turbidity | fields: type, lon, lat, ts\nTask: Retrieve depth 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=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000360", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, lon, depth, value\n Sensor: soil_moisture | fields: value, reading, qc, depth\nTask: Retrieve reading from lightning with reading above the MAX(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000361", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, reading, ts, level\n Sensor: sunlight | fields: type, ts, level, unit\nTask: Retrieve value from air_quality whose qc is found in sunlight records where type 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(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000362", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: qc, lon, lat, depth\n Sensor: visibility | fields: depth, lon, lat, ts\nTask: Fetch lat from evaporation that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000363", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, lat, depth, qc\n Sensor: evaporation | fields: value, ts, level, qc\nTask: Get lon from humidity where ts appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000364", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: level, type, unit, lon\n Sensor: temperature | fields: depth, ts, reading, value\nTask: Retrieve lat from snow_depth with depth above the COUNT(reading) of temperature 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(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000365", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: value, level, type, qc\n Sensor: wind_speed | fields: ts, depth, lon, qc\nTask: Fetch depth from drought_index where qc exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000366", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: level, lat, reading, ts\n Sensor: uv_index | fields: lon, depth, unit, ts\nTask: Retrieve value from temperature that have at least one matching reading in uv_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000367", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, type, unit, level\n Sensor: wind_speed | fields: depth, ts, lat, qc\nTask: Retrieve depth 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=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000368", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, unit, level, qc\n Sensor: air_quality | fields: lon, type, ts, depth\nTask: Get level from lightning where qc appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000369", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: reading, type, lat, ts\n Sensor: wind_speed | fields: depth, type, lat, ts\nTask: Retrieve value from humidity whose qc is found in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000370", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: ts, level, reading, qc\n Sensor: rainfall | fields: unit, type, depth, value\nTask: Retrieve lat from turbidity whose unit is found in rainfall records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "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_fixed_v1_val_000371", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: qc, level, type, value\n Sensor: temperature | fields: value, ts, type, reading\nTask: Fetch reading from visibility where depth is greater than the maximum of depth in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000372", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: depth, value, qc, level\n Sensor: wind_speed | fields: level, depth, lat, value\nTask: Retrieve value from rainfall whose unit is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000373", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, ts, type, value\n Sensor: rainfall | fields: unit, lon, reading, depth\nTask: Fetch lat from humidity where unit exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000374", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: unit, lat, qc, reading\n Sensor: visibility | fields: unit, reading, depth, type\nTask: Get depth from frost where ts appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000375", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, qc, lon, depth\n Sensor: sunlight | fields: lon, type, value, qc\nTask: Fetch level from dew_point where qc 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=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000376", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: reading, type, depth, ts\n Sensor: temperature | fields: depth, type, lon, level\nTask: Get depth from evaporation where a corresponding entry exists in temperature with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000377", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, lon, qc, lat\n Sensor: air_quality | fields: reading, type, ts, qc\nTask: Retrieve depth from lightning whose depth is found in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000378", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: level, qc, lon, ts\n Sensor: dew_point | fields: lon, lat, ts, reading\nTask: Fetch reading from evaporation where value is greater than the total of depth in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000379", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: qc, lon, type, value\n Sensor: snow_depth | fields: depth, qc, value, level\nTask: Fetch level from wind_speed that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000380", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: depth, lat, qc, value\n Sensor: cloud_cover | fields: type, unit, value, level\nTask: Get value from air_quality where depth exceeds the total reading from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000381", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: value, lon, lat, depth\n Sensor: turbidity | fields: type, unit, lon, qc\nTask: Get level from lightning where value exceeds the count of value from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000382", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: qc, lat, depth, level\n Sensor: drought_index | fields: lon, level, depth, reading\nTask: Retrieve depth from soil_moisture with depth above the MAX(reading) of drought_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\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": "hub", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000383", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: ts, depth, lat, value\n Sensor: wind_speed | fields: type, ts, depth, lat\nTask: Fetch lat from air_quality where depth is greater than the count of of value in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000384", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, depth, ts, reading\n Sensor: uv_index | fields: level, qc, reading, depth\nTask: Retrieve reading from lightning that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000385", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: value, reading, qc, ts\n Sensor: snow_depth | fields: qc, depth, lat, lon\nTask: Fetch lat 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=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000386", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: value, level, ts, reading\n Sensor: pressure | fields: level, lat, lon, unit\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=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000387", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: qc, value, lon, reading\n Sensor: dew_point | fields: qc, reading, unit, value\nTask: Fetch level from pressure where depth is greater than the count of of value in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000388", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: depth, level, lon, value\n Sensor: pressure | fields: depth, value, level, qc\nTask: Retrieve reading from rainfall that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000389", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: type, value, lon, level\n Sensor: sunlight | fields: level, ts, lat, depth\nTask: Get lat from uv_index where reading exceeds the average reading from sunlight for the same unit.\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(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000390", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, unit, value, level\n Sensor: frost | fields: reading, lat, depth, level\nTask: Fetch level from dew_point where reading is greater than the total of value in frost for matching qc.\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(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000391", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: qc, lon, level, reading\n Sensor: lightning | fields: type, depth, unit, lon\nTask: Fetch lat from snow_depth that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000392", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, unit, lon, qc\n Sensor: lightning | fields: type, qc, depth, level\nTask: Fetch level from uv_index where depth is greater than the maximum of reading in lightning for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000393", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: level, reading, unit, lat\n Sensor: cloud_cover | fields: level, reading, unit, value\nTask: Retrieve depth from humidity that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000394", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: ts, qc, depth, reading\n Sensor: lightning | fields: lon, depth, level, qc\nTask: Get level from evaporation where qc appears in lightning readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000395", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: unit, ts, depth, reading\n Sensor: frost | fields: qc, reading, level, depth\nTask: Get lat from temperature where value exceeds the count of reading from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000396", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, type, qc, ts\n Sensor: soil_moisture | fields: lat, type, depth, qc\nTask: Fetch lon from air_quality that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000397", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, qc, unit, depth\n Sensor: evaporation | fields: depth, unit, lat, value\nTask: Retrieve value from dew_point with depth above the AVG(reading) of evaporation 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(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000398", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, value, level, unit\n Sensor: visibility | fields: level, depth, unit, type\nTask: Fetch reading from rainfall where value is greater than the minimum of reading in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000399", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, level, qc, type\n Sensor: pressure | fields: qc, reading, depth, lon\nTask: Fetch value from uv_index where value is greater than the count of of reading in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000400", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, depth, type, lat\n Sensor: humidity | fields: ts, level, lon, lat\nTask: Fetch reading from pressure where qc exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000401", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lon, reading, level, type\n Sensor: uv_index | fields: lon, qc, depth, unit\nTask: Retrieve depth from air_quality with depth above the MAX(depth) of uv_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "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_fixed_v1_val_000402", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, reading, unit, type\n Sensor: sunlight | fields: depth, qc, level, lat\nTask: Get value from temperature where value exceeds the maximum reading from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000403", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, ts, qc, unit\n Sensor: sunlight | fields: depth, reading, type, level\nTask: Get reading from humidity where unit appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000404", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lon, lat, qc, level\n Sensor: sunlight | fields: value, ts, qc, level\nTask: Retrieve reading from soil_moisture with value above the MAX(depth) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000405", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, ts, reading, value\n Sensor: pressure | fields: unit, reading, lat, ts\nTask: Get depth from soil_moisture where value exceeds the maximum reading from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000406", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, ts, lon, type\n Sensor: frost | fields: type, ts, reading, lat\nTask: Get reading from dew_point where value exceeds the minimum reading from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000407", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: qc, lat, value, reading\n Sensor: pressure | fields: lon, level, ts, reading\nTask: Retrieve depth from soil_moisture whose unit is found in pressure records where qc 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(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000408", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lat, type, depth, value\n Sensor: dew_point | fields: unit, qc, value, lon\nTask: Fetch level from rainfall that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000409", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: level, value, qc, ts\n Sensor: drought_index | fields: unit, ts, type, reading\nTask: Retrieve lon from wind_speed whose unit is found in drought_index records where unit 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(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000410", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lon, unit, value, ts\n Sensor: rainfall | fields: value, unit, ts, level\nTask: Retrieve level from drought_index with depth above the COUNT(depth) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000411", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: level, value, ts, unit\n Sensor: humidity | fields: lon, unit, depth, type\nTask: Retrieve value from frost that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000412", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: unit, lat, ts, qc\n Sensor: drought_index | fields: ts, depth, lat, level\nTask: Fetch lat from turbidity where depth is greater than the minimum of value in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\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": "turbidity", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000413", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: reading, qc, type, ts\n Sensor: drought_index | fields: depth, lon, unit, type\nTask: Retrieve level from pressure with depth above the COUNT(value) of drought_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000414", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, value, lon, level\n Sensor: visibility | fields: value, depth, reading, level\nTask: Retrieve level from drought_index with reading above the MAX(value) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000415", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, depth, reading, lat\n Sensor: visibility | fields: reading, qc, depth, type\nTask: Retrieve lat from air_quality that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000416", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: type, qc, unit, level\n Sensor: temperature | fields: depth, ts, qc, lat\nTask: Fetch reading from dew_point where unit exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000417", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lon, unit, depth, value\n Sensor: turbidity | fields: ts, depth, lon, reading\nTask: Retrieve value from wind_speed that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000418", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: depth, lat, unit, lon\n Sensor: drought_index | fields: lat, level, depth, qc\nTask: Get value from soil_moisture where unit appears in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000419", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, depth, level, value\n Sensor: rainfall | fields: qc, reading, depth, lat\nTask: Fetch level from temperature where qc exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000420", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, level, lon, depth\n Sensor: uv_index | fields: depth, type, qc, ts\nTask: Get value from wind_speed where depth exceeds the total reading from uv_index 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(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "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_fixed_v1_val_000421", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lat, value, level, depth\n Sensor: cloud_cover | fields: depth, reading, level, ts\nTask: Retrieve value from temperature with value above the MAX(value) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "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_fixed_v1_val_000422", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, lat, type, level\n Sensor: pressure | fields: unit, ts, qc, value\nTask: Fetch value from evaporation where depth is greater than the minimum of value in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000423", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, ts, level, unit\n Sensor: soil_moisture | fields: level, type, qc, depth\nTask: Fetch reading from sunlight that have at least one corresponding soil_moisture measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000424", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, level, lon, ts\n Sensor: dew_point | fields: level, type, depth, lon\nTask: Fetch depth 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=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000425", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, level, ts, reading\n Sensor: uv_index | fields: value, lat, depth, level\nTask: Fetch level from evaporation where qc exists in uv_index 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(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000426", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, ts, reading, qc\n Sensor: snow_depth | fields: depth, reading, value, level\nTask: Get value from visibility where qc appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000427", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, ts, reading, value\n Sensor: uv_index | fields: value, level, qc, depth\nTask: Retrieve depth from snow_depth that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000428", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: type, ts, reading, value\n Sensor: sunlight | fields: qc, reading, depth, level\nTask: Get lon from temperature where ts appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000429", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lon, reading, type, value\n Sensor: temperature | fields: ts, reading, unit, level\nTask: Retrieve value from dew_point whose unit is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000430", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lon, unit, ts, type\n Sensor: turbidity | fields: lon, qc, value, reading\nTask: Fetch depth from drought_index where depth is greater than the total of value in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000431", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, depth, reading, lat\n Sensor: frost | fields: type, depth, lat, qc\nTask: Fetch lat from cloud_cover that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000432", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, type, lat, qc\n Sensor: rainfall | fields: lon, qc, level, lat\nTask: Get depth from wind_speed where value exceeds the maximum value from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000433", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, depth, type, unit\n Sensor: dew_point | fields: level, lat, type, qc\nTask: Get level from humidity where value exceeds the maximum value from dew_point for the same qc.\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=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000434", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: value, depth, reading, unit\n Sensor: lightning | fields: lon, qc, lat, type\nTask: Retrieve lon from snow_depth whose ts is found in lightning records where depth 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(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000435", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: type, qc, lat, reading\n Sensor: evaporation | fields: level, value, depth, ts\nTask: Retrieve lon from snow_depth with depth above the COUNT(reading) of evaporation readings sharing the same type.\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(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000436", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: depth, lat, unit, value\n Sensor: temperature | fields: ts, unit, lat, reading\nTask: Get depth from turbidity where a corresponding entry exists in temperature with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000437", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, reading, level, depth\n Sensor: humidity | fields: depth, value, ts, reading\nTask: Fetch level from visibility where qc exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000438", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: unit, level, ts, reading\n Sensor: air_quality | fields: depth, reading, unit, lon\nTask: Retrieve value from snow_depth whose type is found in air_quality records where unit 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=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000439", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: level, type, lon, unit\n Sensor: cloud_cover | fields: lat, depth, level, lon\nTask: Retrieve level from frost whose type is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000440", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, ts, value, level\n Sensor: drought_index | fields: lat, ts, qc, value\nTask: Get value from soil_moisture where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000441", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: level, unit, reading, lon\n Sensor: lightning | fields: value, type, lat, level\nTask: Fetch lon from temperature that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000442", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, value, qc, reading\n Sensor: lightning | fields: qc, lon, depth, type\nTask: Retrieve lat from humidity with depth above the MIN(depth) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000443", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lon, lat, qc, ts\n Sensor: snow_depth | fields: level, lon, lat, depth\nTask: Fetch value from uv_index that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000444", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: value, reading, type, lat\n Sensor: drought_index | fields: depth, value, reading, unit\nTask: Retrieve value from dew_point that have at least one matching reading in drought_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000445", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: qc, unit, level, depth\n Sensor: wind_speed | fields: unit, ts, qc, type\nTask: Retrieve value from pressure with depth above the SUM(depth) of wind_speed readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000446", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, value, depth, qc\n Sensor: wind_speed | fields: type, unit, lat, depth\nTask: Get lon from visibility where value exceeds the maximum depth from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000447", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lon, unit, lat, level\n Sensor: turbidity | fields: reading, type, value, level\nTask: Retrieve reading from frost with depth above the MIN(reading) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000448", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: depth, lon, unit, ts\n Sensor: drought_index | fields: depth, level, reading, unit\nTask: Retrieve lon from visibility whose depth is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000449", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, type, lat, qc\n Sensor: rainfall | fields: value, unit, ts, level\nTask: Get depth from wind_speed where depth appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000450", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: qc, unit, reading, value\n Sensor: visibility | fields: lat, reading, level, ts\nTask: Fetch level from soil_moisture that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000451", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, depth, value, type\n Sensor: drought_index | fields: reading, type, qc, lon\nTask: Retrieve reading from visibility whose type is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000452", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: ts, lat, level, type\n Sensor: turbidity | fields: level, type, reading, lat\nTask: Get level from cloud_cover where reading exceeds the minimum reading from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000453", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: value, lat, reading, qc\n Sensor: uv_index | fields: ts, depth, level, lat\nTask: Fetch reading from turbidity that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000454", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: value, depth, unit, reading\n Sensor: visibility | fields: type, qc, lon, lat\nTask: Retrieve depth from dew_point that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000455", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, type, lon, lat\n Sensor: frost | fields: ts, level, reading, lon\nTask: Fetch value from rainfall where reading is greater than the maximum of depth in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000456", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, type, lat, reading\n Sensor: dew_point | fields: type, depth, reading, qc\nTask: Get level from lightning where reading exceeds the total depth from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000457", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, lon, type, level\n Sensor: visibility | fields: type, qc, ts, reading\nTask: Fetch lat 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=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000458", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: type, unit, lon, depth\n Sensor: temperature | fields: qc, unit, lat, level\nTask: Fetch lat from rainfall where qc exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000459", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: value, lon, depth, qc\n Sensor: dew_point | fields: depth, lon, lat, value\nTask: Retrieve level from visibility whose type is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000460", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, unit, reading, level\n Sensor: uv_index | fields: level, lat, depth, unit\nTask: Get lat from soil_moisture where depth exceeds the maximum value from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000461", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: type, depth, lon, level\n Sensor: pressure | fields: lon, value, lat, unit\nTask: Get reading from turbidity where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000462", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: ts, lon, unit, reading\n Sensor: sunlight | fields: lat, unit, lon, depth\nTask: Get reading from temperature where unit appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000463", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: type, value, reading, depth\n Sensor: turbidity | fields: level, ts, depth, value\nTask: Retrieve level from wind_speed with reading above the AVG(reading) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000464", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, unit, type, lon\n Sensor: dew_point | fields: lon, ts, unit, level\nTask: Get reading from cloud_cover where unit appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\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": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000465", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: type, ts, unit, lat\n Sensor: soil_moisture | fields: unit, type, reading, lon\nTask: Get reading from frost where depth exceeds the average depth from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000466", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lat, value, lon, type\n Sensor: sunlight | fields: lat, level, ts, depth\nTask: Retrieve value 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=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000467", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: ts, depth, value, qc\n Sensor: soil_moisture | fields: ts, qc, reading, value\nTask: Fetch lon from air_quality where ts exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000468", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: reading, qc, depth, type\n Sensor: humidity | fields: qc, ts, unit, type\nTask: Fetch lat from rainfall where qc exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000469", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, ts, qc, reading\n Sensor: frost | fields: reading, value, qc, unit\nTask: Fetch lat from wind_speed where unit exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000470", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, lon, level, unit\n Sensor: wind_speed | fields: depth, ts, lat, type\nTask: Get level from frost where qc appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "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_fixed_v1_val_000471", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, lon, value, lat\n Sensor: air_quality | fields: type, reading, qc, value\nTask: Retrieve reading from pressure that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000472", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: reading, value, ts, type\n Sensor: wind_speed | fields: type, value, level, depth\nTask: Fetch reading from evaporation where value is greater than the minimum of depth in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "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_fixed_v1_val_000473", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, depth, qc, lat\n Sensor: dew_point | fields: qc, value, lon, lat\nTask: Retrieve level from turbidity with reading above the MIN(value) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000474", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, value, reading, ts\n Sensor: turbidity | fields: lat, reading, depth, unit\nTask: Retrieve lon from humidity that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000475", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: qc, value, depth, unit\n Sensor: pressure | fields: value, ts, depth, lat\nTask: Retrieve lon from snow_depth whose unit is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000476", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: reading, ts, value, lon\n Sensor: rainfall | fields: level, reading, lon, lat\nTask: Get level from wind_speed where reading exceeds the average depth from rainfall 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\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000477", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, lon, reading, value\n Sensor: sunlight | fields: unit, type, qc, ts\nTask: Retrieve level from temperature whose depth is found in sunlight records where depth matches the outer node.\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=\"depth\",\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": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000478", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: ts, type, level, value\n Sensor: soil_moisture | fields: unit, lat, ts, level\nTask: Get value from rainfall where reading exceeds the average depth from soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000479", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, ts, reading, lon\n Sensor: turbidity | fields: ts, unit, value, reading\nTask: Fetch level from snow_depth that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000480", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: ts, value, qc, lat\n Sensor: soil_moisture | fields: depth, ts, type, value\nTask: Fetch value 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=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000481", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lat, reading, depth, ts\n Sensor: pressure | fields: reading, lon, lat, type\nTask: Retrieve value from cloud_cover with depth above the AVG(value) 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(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000482", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, unit, lon, type\n Sensor: pressure | fields: lat, value, lon, ts\nTask: Get depth from dew_point where reading exceeds the count of depth from pressure 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(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000483", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, lon, reading, level\n Sensor: temperature | fields: lon, qc, unit, reading\nTask: Get level from cloud_cover where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000484", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lon, type, depth, lat\n Sensor: frost | fields: level, lon, lat, reading\nTask: Get depth from uv_index where value exceeds the count of value from frost for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000485", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lon, unit, level, ts\n Sensor: evaporation | fields: reading, ts, lat, type\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=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000486", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: unit, lon, ts, reading\n Sensor: wind_speed | fields: unit, qc, depth, type\nTask: Fetch depth from drought_index where value is greater than the count of of value in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000487", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, depth, lon, lat\n Sensor: dew_point | fields: type, qc, unit, level\nTask: Get level from cloud_cover where reading exceeds the average depth from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000488", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: reading, lon, lat, depth\n Sensor: uv_index | fields: ts, level, type, unit\nTask: Fetch level from snow_depth where value is greater than the maximum of reading in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\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": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000489", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lon, level, depth, value\n Sensor: humidity | fields: lat, lon, value, depth\nTask: Fetch lon from dew_point where qc exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000490", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: ts, lat, type, lon\n Sensor: dew_point | fields: ts, level, type, depth\nTask: Fetch lon from rainfall where depth is greater than the average of depth in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000491", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: level, ts, value, lat\n Sensor: evaporation | fields: level, unit, ts, lon\nTask: Get level from snow_depth where type appears in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000492", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, type, qc, level\n Sensor: evaporation | fields: ts, unit, level, depth\nTask: Retrieve lon from snow_depth whose depth is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000493", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: depth, lon, type, unit\n Sensor: rainfall | fields: lat, lon, ts, type\nTask: Get value from uv_index where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000494", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: qc, lat, reading, value\n Sensor: visibility | fields: qc, level, reading, lon\nTask: Get depth from rainfall where qc appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000495", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, qc, lon, unit\n Sensor: dew_point | fields: qc, lat, level, unit\nTask: Fetch value from wind_speed where type exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "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_fixed_v1_val_000496", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lon, lat, depth, ts\n Sensor: drought_index | fields: depth, ts, type, qc\nTask: Fetch value from humidity that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000497", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, ts, level, unit\n Sensor: turbidity | fields: value, depth, qc, ts\nTask: Get lat from wind_speed where value exceeds the average depth from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000498", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, ts, lon, lat\n Sensor: pressure | fields: ts, level, qc, lon\nTask: Get value from snow_depth where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000499", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: depth, lon, qc, value\n Sensor: cloud_cover | fields: type, qc, level, reading\nTask: Fetch depth from wind_speed where depth is greater than the maximum of value in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000500", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: ts, lat, type, lon\n Sensor: soil_moisture | fields: unit, value, ts, reading\nTask: Get level from lightning where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000501", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, lat, level, value\n Sensor: snow_depth | fields: depth, ts, lon, level\nTask: Retrieve depth from cloud_cover whose type is found in snow_depth records where ts 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(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000502", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: qc, reading, lon, level\n Sensor: evaporation | fields: type, value, unit, level\nTask: Fetch level from rainfall where reading is greater than the maximum of reading in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000503", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: ts, level, qc, value\n Sensor: wind_speed | fields: value, depth, level, ts\nTask: Retrieve lat from cloud_cover with value above the MIN(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(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000504", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: unit, ts, level, type\n Sensor: frost | fields: depth, qc, lat, ts\nTask: Retrieve lon from wind_speed with value above the MAX(value) of frost readings sharing the same unit.\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(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000505", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lon, lat, level, qc\n Sensor: frost | fields: ts, unit, lon, value\nTask: Retrieve lon from wind_speed whose depth is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000506", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, qc, unit, ts\n Sensor: rainfall | fields: unit, type, ts, value\nTask: Get depth from pressure where type appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000507", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, unit, depth, level\n Sensor: snow_depth | fields: qc, reading, value, lat\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=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000508", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: depth, type, lat, qc\n Sensor: humidity | fields: level, reading, qc, lon\nTask: Fetch lon 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=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000509", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, lon, unit, value\n Sensor: drought_index | fields: depth, lon, ts, qc\nTask: Get reading 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=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000510", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, depth, reading, lon\n Sensor: dew_point | fields: unit, reading, value, lat\nTask: Fetch reading from frost that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000511", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, value, depth, type\n Sensor: turbidity | fields: unit, depth, lon, ts\nTask: Retrieve value from humidity whose qc is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000512", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lat, qc, depth, reading\n Sensor: visibility | fields: lat, depth, qc, type\nTask: Retrieve level from pressure with value above the COUNT(reading) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000513", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, ts, qc, reading\n Sensor: sunlight | fields: ts, value, level, lat\nTask: Fetch lat from lightning where depth is greater than the average of reading in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000514", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, level, reading, qc\n Sensor: pressure | fields: lon, unit, type, ts\nTask: Get value from drought_index where value exceeds the average value from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000515", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, depth, type, unit\n Sensor: wind_speed | fields: level, type, lat, ts\nTask: Retrieve depth from lightning that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000516", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, lon, value, unit\n Sensor: pressure | fields: lon, ts, type, level\nTask: Retrieve lat from lightning that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000517", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: level, value, depth, reading\n Sensor: lightning | fields: ts, type, qc, level\nTask: Get value from air_quality where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000518", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, ts, depth, unit\n Sensor: cloud_cover | fields: lat, level, reading, ts\nTask: Get depth from turbidity where depth appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000519", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, level, qc, ts\n Sensor: evaporation | fields: lon, level, value, type\nTask: Retrieve reading from frost whose depth is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "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_fixed_v1_val_000520", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, unit, level, reading\n Sensor: uv_index | fields: lat, value, ts, level\nTask: Retrieve depth from soil_moisture that have at least one matching reading in uv_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000521", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, reading, level, value\n Sensor: snow_depth | fields: value, qc, lon, reading\nTask: Retrieve depth from air_quality that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000522", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, lat, depth, level\n Sensor: frost | fields: lat, reading, unit, value\nTask: Retrieve lat from drought_index with depth above the MIN(value) of frost readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000523", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: level, qc, reading, type\n Sensor: dew_point | fields: type, level, qc, lon\nTask: Retrieve depth from snow_depth with depth above the AVG(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000524", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, lon, depth, unit\n Sensor: snow_depth | fields: lon, depth, value, unit\nTask: Fetch lon 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=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000525", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, lat, qc, type\n Sensor: cloud_cover | fields: type, ts, value, reading\nTask: Fetch reading 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=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000526", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, level, reading, depth\n Sensor: temperature | fields: lat, qc, unit, value\nTask: Retrieve reading from visibility whose ts is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000527", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: ts, level, lat, qc\n Sensor: temperature | fields: level, ts, reading, unit\nTask: Fetch depth from air_quality that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000528", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lon, value, unit, ts\n Sensor: drought_index | fields: value, level, unit, type\nTask: Get reading from soil_moisture where type appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000529", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, reading, value, unit\n Sensor: temperature | fields: unit, level, type, value\nTask: Fetch lat from rainfall where reading is greater than the total of depth in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000530", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: value, qc, unit, reading\n Sensor: snow_depth | fields: unit, ts, level, value\nTask: Retrieve value from lightning that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000531", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: value, qc, depth, level\n Sensor: pressure | fields: unit, value, lon, type\nTask: Retrieve depth from turbidity whose ts is found in pressure records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000532", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, level, lat, qc\n Sensor: humidity | fields: depth, lat, ts, qc\nTask: Fetch reading from temperature where depth exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000533", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: depth, lon, qc, type\n Sensor: drought_index | fields: value, reading, qc, level\nTask: Fetch depth from evaporation where ts exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\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": "evaporation", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000534", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, level, depth, reading\n Sensor: rainfall | fields: unit, lon, reading, type\nTask: Retrieve lat from dew_point whose type is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000535", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, value, depth, qc\n Sensor: snow_depth | fields: ts, value, lat, lon\nTask: Get depth from evaporation where reading exceeds the total reading from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000536", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, depth, level, qc\n Sensor: dew_point | fields: lat, unit, lon, qc\nTask: Fetch lat from evaporation that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000537", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: level, depth, unit, ts\n Sensor: evaporation | fields: value, depth, ts, level\nTask: Fetch reading 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=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000538", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: unit, depth, lon, reading\n Sensor: frost | fields: value, depth, level, unit\nTask: Retrieve value from turbidity with depth above the MIN(value) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, lon, depth, value\n Sensor: cloud_cover | fields: qc, unit, lon, type\nTask: Fetch level from frost where type exists in cloud_cover sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\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": "frost", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000540", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, value, depth, lat\n Sensor: drought_index | fields: value, reading, ts, lon\nTask: Fetch value from humidity that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000541", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: depth, unit, lon, reading\n Sensor: evaporation | fields: unit, reading, lat, lon\nTask: Fetch reading from sunlight where reading is greater than the total of depth in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "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_fixed_v1_val_000542", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, qc, depth, ts\n Sensor: humidity | fields: value, ts, qc, reading\nTask: Retrieve lon from uv_index that have at least one matching reading in humidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000543", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, lon, depth, type\n Sensor: visibility | fields: lat, value, depth, qc\nTask: Fetch lon from uv_index that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000544", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, unit, type, value\n Sensor: pressure | fields: reading, ts, level, lat\nTask: Fetch level from lightning that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000545", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: value, unit, type, depth\n Sensor: turbidity | fields: lat, unit, reading, level\nTask: Get lon from lightning where depth exceeds the total depth from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000546", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: level, qc, lat, ts\n Sensor: evaporation | fields: depth, unit, qc, ts\nTask: Fetch reading from sunlight that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000547", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: lon, reading, lat, unit\n Sensor: pressure | fields: unit, lon, reading, level\nTask: Retrieve lat from frost whose depth is found in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000548", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: ts, type, level, value\n Sensor: humidity | fields: reading, lat, qc, type\nTask: Retrieve depth from pressure whose unit is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000549", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: value, lon, qc, lat\n Sensor: evaporation | fields: type, value, ts, level\nTask: Fetch depth from sunlight where depth exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000550", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: value, depth, type, ts\n Sensor: turbidity | fields: level, unit, ts, depth\nTask: Get level from sunlight where depth appears in turbidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "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_fixed_v1_val_000551", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lat, reading, unit, value\n Sensor: temperature | fields: reading, unit, ts, level\nTask: Retrieve reading from rainfall that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000552", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, qc, type, lat\n Sensor: pressure | fields: depth, reading, value, type\nTask: Retrieve level from rainfall with reading above the AVG(reading) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000553", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, qc, level, depth\n Sensor: sunlight | fields: value, lat, qc, level\nTask: Fetch lon from air_quality where reading is greater than the minimum of depth in sunlight for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000554", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: unit, value, level, lat\n Sensor: rainfall | fields: level, value, lon, depth\nTask: Retrieve depth from humidity with value above the COUNT(reading) of rainfall readings sharing 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(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000555", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: level, type, lon, ts\n Sensor: wind_speed | fields: type, lat, ts, unit\nTask: Fetch lat from uv_index where reading is greater than the total of depth in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000556", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: qc, lon, unit, ts\n Sensor: evaporation | fields: type, unit, value, ts\nTask: Retrieve reading from drought_index that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000557", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, unit, ts, qc\n Sensor: sunlight | fields: type, depth, lon, level\nTask: Get reading from turbidity where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000558", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: type, level, lon, ts\n Sensor: air_quality | fields: level, value, type, reading\nTask: Get depth from turbidity where value exceeds the count of value from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000559", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lon, level, type, reading\n Sensor: drought_index | fields: level, type, reading, lat\nTask: Retrieve lon from humidity with value above the SUM(depth) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000560", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: ts, depth, type, level\n Sensor: uv_index | fields: lon, ts, depth, reading\nTask: Fetch reading from evaporation where unit exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000561", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: depth, level, lat, lon\n Sensor: pressure | fields: ts, unit, depth, type\nTask: Get lon from cloud_cover where ts appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000562", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: qc, unit, ts, lat\n Sensor: air_quality | fields: reading, value, lat, qc\nTask: Get level from pressure where reading exceeds the total reading from air_quality for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000563", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: depth, qc, type, reading\n Sensor: temperature | fields: qc, depth, ts, type\nTask: Retrieve level from humidity that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000564", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: value, qc, lon, unit\n Sensor: turbidity | fields: reading, lat, type, unit\nTask: Retrieve depth from evaporation that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000565", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: level, lon, lat, depth\n Sensor: wind_speed | fields: lon, type, value, ts\nTask: Get level from snow_depth where depth appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000566", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, value, unit, ts\n Sensor: lightning | fields: lat, ts, qc, lon\nTask: Retrieve lat from wind_speed that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000567", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: reading, ts, type, lon\n Sensor: drought_index | fields: reading, lon, type, level\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=\"hub\"),\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": "hub", "inner_alias": "drt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000568", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lon, depth, qc, value\n Sensor: snow_depth | fields: depth, lat, value, lon\nTask: Get reading from wind_speed where value exceeds the average depth from snow_depth 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\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "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_fixed_v1_val_000569", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, qc, value, lat\n Sensor: lightning | fields: value, lon, level, lat\nTask: Retrieve lat from dew_point whose type is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000570", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: reading, qc, lat, depth\n Sensor: evaporation | fields: lat, level, unit, reading\nTask: Get lat from snow_depth where ts appears in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000571", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: unit, value, type, level\n Sensor: visibility | fields: qc, type, ts, value\nTask: Get level from cloud_cover where value exceeds the minimum depth from visibility 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\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000572", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: unit, lon, qc, lat\n Sensor: wind_speed | fields: reading, level, depth, qc\nTask: Fetch value from cloud_cover where depth exists in wind_speed sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000573", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: ts, unit, lon, level\n Sensor: dew_point | fields: lon, ts, value, type\nTask: Get value from air_quality where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000574", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: level, lat, depth, lon\n Sensor: cloud_cover | fields: qc, depth, reading, lat\nTask: Get value from wind_speed where value exceeds the total value from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000575", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, ts, level, value\n Sensor: humidity | fields: level, lat, depth, qc\nTask: Retrieve lat from dew_point with depth above the MIN(depth) of humidity 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(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000576", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lat, reading, unit, depth\n Sensor: soil_moisture | fields: lat, depth, level, ts\nTask: Get lon from uv_index where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000577", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: level, unit, lat, type\n Sensor: dew_point | fields: depth, lon, ts, level\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_fixed_v1_val_000578", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: qc, type, depth, level\n Sensor: rainfall | fields: unit, qc, type, lat\nTask: Fetch depth from cloud_cover where value is greater than the minimum of reading in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "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_fixed_v1_val_000579", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, type, value, ts\n Sensor: pressure | fields: lon, lat, value, unit\nTask: Get reading from evaporation where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000580", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, lon, ts, value\n Sensor: cloud_cover | fields: depth, qc, ts, lat\nTask: Retrieve level from humidity whose type is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000581", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: level, type, unit, ts\n Sensor: dew_point | fields: depth, ts, qc, type\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=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000582", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: depth, lon, value, unit\n Sensor: humidity | fields: value, qc, lat, ts\nTask: Retrieve reading from lightning that have at least one matching reading in humidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000583", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: reading, value, type, ts\n Sensor: snow_depth | fields: reading, ts, level, unit\nTask: Retrieve lat from dew_point that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000584", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, depth, level, type\n Sensor: frost | fields: lat, ts, qc, level\nTask: Retrieve depth from temperature that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000585", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, depth, type, reading\n Sensor: cloud_cover | fields: depth, value, reading, lat\nTask: Get depth from temperature where depth exceeds the count of depth from cloud_cover for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000586", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: level, ts, lon, lat\n Sensor: cloud_cover | fields: qc, lon, lat, type\nTask: Get reading from turbidity where reading exceeds the count of reading from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000587", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: qc, level, reading, unit\n Sensor: sunlight | fields: depth, lat, unit, value\nTask: Retrieve reading from humidity with value above the SUM(reading) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000588", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lat, depth, value, lon\n Sensor: wind_speed | fields: value, qc, type, lon\nTask: Retrieve value from rainfall that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000589", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: value, depth, type, level\n Sensor: visibility | fields: qc, value, type, unit\nTask: Retrieve lon from temperature with reading above the SUM(reading) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000590", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: value, type, lon, reading\n Sensor: cloud_cover | fields: type, unit, lon, ts\nTask: Retrieve reading from wind_speed whose qc is found in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000591", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, qc, depth, level\n Sensor: air_quality | fields: unit, type, depth, lon\nTask: Retrieve level from visibility with depth above the MIN(value) of air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000592", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: reading, unit, lon, value\n Sensor: pressure | fields: reading, ts, type, lat\nTask: Retrieve lat from visibility whose depth is found in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000593", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, value, reading, type\n Sensor: dew_point | fields: lat, depth, value, qc\nTask: Retrieve depth from turbidity that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000594", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, type, lat, ts\n Sensor: rainfall | fields: reading, qc, level, type\nTask: Get lon from air_quality where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000595", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: level, qc, lon, lat\n Sensor: visibility | fields: ts, depth, qc, reading\nTask: Fetch value from uv_index where unit exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000596", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: reading, qc, depth, unit\n Sensor: visibility | fields: lon, lat, depth, unit\nTask: Get depth from dew_point where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000597", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: reading, value, type, ts\n Sensor: lightning | fields: qc, unit, lon, reading\nTask: Retrieve value from air_quality with reading above the COUNT(value) of lightning 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(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000598", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: depth, value, unit, reading\n Sensor: visibility | fields: level, unit, reading, qc\nTask: Fetch level from humidity where type exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000599", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, depth, ts, level\n Sensor: soil_moisture | fields: unit, qc, type, value\nTask: Fetch value from wind_speed where depth exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000600", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: level, qc, lon, type\n Sensor: sunlight | fields: value, ts, lat, qc\nTask: Get level from soil_moisture where ts appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "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_fixed_v1_val_000601", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, qc, value, ts\n Sensor: wind_speed | fields: lat, level, depth, ts\nTask: Fetch depth from turbidity where depth is greater than the total of depth in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000602", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: value, ts, lat, reading\n Sensor: visibility | fields: ts, depth, reading, unit\nTask: Get level from snow_depth where ts appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000603", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lat, ts, value, unit\n Sensor: frost | fields: ts, lat, qc, level\nTask: Get depth from drought_index where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000604", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lon, level, qc, depth\n Sensor: dew_point | fields: reading, qc, lat, type\nTask: Fetch depth from humidity that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000605", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: type, depth, lon, qc\n Sensor: lightning | fields: reading, ts, level, lat\nTask: Get lat from wind_speed where unit appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000606", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: reading, ts, unit, lon\n Sensor: frost | fields: depth, qc, reading, unit\nTask: Fetch reading 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=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000607", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, lat, depth, lon\n Sensor: temperature | fields: depth, lat, ts, value\nTask: Fetch lat from lightning that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000608", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, qc, unit, ts\n Sensor: cloud_cover | fields: level, lon, qc, unit\nTask: Get lon from wind_speed where reading exceeds the average depth from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000609", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: ts, lat, level, reading\n Sensor: frost | fields: type, lon, level, qc\nTask: Retrieve lon from pressure whose unit is found in frost records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "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_fixed_v1_val_000610", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: unit, type, lon, depth\n Sensor: lightning | fields: value, lon, unit, qc\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=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000611", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: qc, type, lat, level\n Sensor: lightning | fields: lat, level, value, lon\nTask: Fetch value from dew_point where type exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000612", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, reading, lat, value\n Sensor: uv_index | fields: depth, level, lon, qc\nTask: Retrieve value from humidity whose depth 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=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000613", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: ts, lon, unit, reading\n Sensor: visibility | fields: level, unit, lon, depth\nTask: Retrieve level from pressure that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000614", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lon, ts, lat, type\n Sensor: humidity | fields: value, level, type, lat\nTask: Retrieve reading 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=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000615", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, value, qc, ts\n Sensor: lightning | fields: lat, unit, type, lon\nTask: Get lon from visibility where ts appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000616", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: reading, value, lat, depth\n Sensor: drought_index | fields: depth, value, level, type\nTask: Get level from wind_speed where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000617", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, unit, level, ts\n Sensor: cloud_cover | fields: lon, type, lat, qc\nTask: Retrieve value from evaporation with value above the COUNT(reading) of cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000618", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: depth, reading, value, qc\n Sensor: frost | fields: value, qc, unit, depth\nTask: Retrieve value from temperature with depth above the COUNT(value) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\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": "temperature", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000619", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, lon, type, ts\n Sensor: pressure | fields: type, value, depth, unit\nTask: Retrieve lon from soil_moisture whose type is found in pressure records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000620", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lon, unit, qc, type\n Sensor: visibility | fields: ts, lat, level, unit\nTask: Retrieve lat from dew_point with value above the SUM(value) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000621", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lon, ts, depth, qc\n Sensor: frost | fields: level, lat, value, type\nTask: Get level from cloud_cover where type appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000622", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, level, ts, qc\n Sensor: dew_point | fields: lon, ts, lat, depth\nTask: Retrieve depth from rainfall that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000623", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: depth, reading, ts, value\n Sensor: soil_moisture | fields: lat, unit, level, depth\nTask: Get reading from frost where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000624", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: qc, depth, ts, value\n Sensor: frost | fields: value, lon, type, qc\nTask: Get value from sunlight where unit appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000625", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, reading, lon, ts\n Sensor: air_quality | fields: type, lat, unit, value\nTask: Get lon from soil_moisture where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000626", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, qc, unit, level\n Sensor: air_quality | fields: value, ts, level, lon\nTask: Retrieve level from frost whose ts is found in air_quality records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000627", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: reading, value, type, lat\n Sensor: dew_point | fields: reading, lat, lon, value\nTask: Fetch level from turbidity where value is greater than the count of of value in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000628", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: unit, level, lon, qc\n Sensor: pressure | fields: ts, unit, level, type\nTask: Get level from air_quality where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000629", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: ts, depth, value, unit\n Sensor: uv_index | fields: level, qc, lat, type\nTask: Retrieve depth from sunlight whose ts is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000630", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: depth, level, value, lon\n Sensor: lightning | fields: unit, value, level, qc\nTask: Retrieve lat from humidity with depth above the SUM(value) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000631", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, lat, depth, reading\n Sensor: temperature | fields: depth, value, type, lat\nTask: Fetch level from drought_index that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000632", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, reading, value, lon\n Sensor: cloud_cover | fields: lon, ts, lat, depth\nTask: Retrieve lat from soil_moisture whose unit is found in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000633", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lat, level, unit, depth\n Sensor: cloud_cover | fields: depth, value, qc, lat\nTask: Retrieve lon from sunlight whose ts is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000634", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, reading, unit, qc\n Sensor: drought_index | fields: level, reading, type, ts\nTask: Get lat from humidity where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000635", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, value, unit, ts\n Sensor: air_quality | fields: reading, ts, unit, depth\nTask: Retrieve level from snow_depth with depth above the SUM(depth) 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(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000636", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: level, reading, type, unit\n Sensor: turbidity | fields: ts, depth, lat, unit\nTask: Get lon from cloud_cover where reading exceeds the average reading from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "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_fixed_v1_val_000637", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, value, lon, qc\n Sensor: dew_point | fields: lat, type, ts, level\nTask: Retrieve lon from humidity that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000638", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: value, depth, type, lat\n Sensor: snow_depth | fields: level, depth, lon, value\nTask: Fetch lon from evaporation where depth is greater than the maximum of depth in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000639", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lat, reading, value, type\n Sensor: drought_index | fields: reading, depth, value, lon\nTask: Get value from rainfall where a corresponding entry exists in drought_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000640", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, level, lon, qc\n Sensor: drought_index | fields: unit, reading, lat, qc\nTask: Fetch reading from wind_speed where unit exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000641", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, type, ts, unit\n Sensor: evaporation | fields: unit, qc, reading, ts\nTask: Get value from uv_index where reading exceeds the maximum value from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000642", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: depth, lat, value, type\n Sensor: sunlight | fields: ts, qc, value, unit\nTask: Get lat from dew_point where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000643", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: type, qc, ts, lat\n Sensor: evaporation | fields: depth, qc, lon, unit\nTask: Fetch level from visibility where ts exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000644", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: value, type, reading, lon\n Sensor: pressure | fields: depth, type, lon, reading\nTask: Get value from evaporation where unit appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000645", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, unit, lat, ts\n Sensor: evaporation | fields: depth, value, level, unit\nTask: Fetch lon from drought_index where qc exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000646", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: depth, qc, value, lon\n Sensor: dew_point | fields: reading, value, type, qc\nTask: Retrieve reading from visibility with depth above the COUNT(value) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000647", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, lat, lon, qc\n Sensor: turbidity | fields: ts, lon, lat, level\nTask: Get depth from pressure where depth exceeds the count of value from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000648", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: type, depth, reading, unit\n Sensor: turbidity | fields: depth, value, lon, reading\nTask: Retrieve depth from visibility whose unit is found in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000649", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, value, type, depth\n Sensor: temperature | fields: value, type, level, ts\nTask: Fetch lat from frost where depth is greater than the maximum of depth in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000650", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, type, value, lon\n Sensor: uv_index | fields: ts, qc, unit, lon\nTask: Fetch level from turbidity that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000651", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, reading, depth, unit\n Sensor: wind_speed | fields: lon, ts, type, unit\nTask: Get level 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=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000652", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: unit, lat, type, depth\n Sensor: dew_point | fields: level, reading, unit, depth\nTask: Retrieve level 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=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000653", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lat, ts, reading, depth\n Sensor: rainfall | fields: lon, depth, type, qc\nTask: Get value from sunlight where qc appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000654", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lat, qc, type, ts\n Sensor: evaporation | fields: lon, lat, ts, unit\nTask: Retrieve level from lightning that have at least one matching reading in evaporation sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000655", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: depth, ts, type, qc\n Sensor: evaporation | fields: lon, unit, lat, reading\nTask: Fetch reading from visibility where reading is greater than the total of reading in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000656", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lat, unit, type, lon\n Sensor: drought_index | fields: reading, lon, depth, value\nTask: Get reading from frost where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000657", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lat, lon, depth, reading\n Sensor: humidity | fields: qc, ts, lon, lat\nTask: Fetch lat from temperature that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000658", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: reading, value, ts, depth\n Sensor: turbidity | fields: ts, unit, lon, qc\nTask: Retrieve reading from visibility that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000659", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, qc, type, reading\n Sensor: uv_index | fields: type, value, level, reading\nTask: Get lat from drought_index where unit appears in uv_index 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(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000660", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, lat, type, ts\n Sensor: drought_index | fields: unit, lat, value, type\nTask: Fetch reading from cloud_cover where unit exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000661", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, reading, level, ts\n Sensor: lightning | fields: depth, qc, value, ts\nTask: Get value from soil_moisture where ts appears in lightning readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000662", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, lon, qc, lat\n Sensor: turbidity | fields: value, ts, level, reading\nTask: Fetch value from frost where type exists in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000663", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: unit, type, lat, ts\n Sensor: rainfall | fields: ts, depth, level, lat\nTask: Get depth from frost where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000664", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, value, unit, ts\n Sensor: soil_moisture | fields: level, type, reading, ts\nTask: Retrieve lon from rainfall whose type is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000665", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: unit, lon, lat, depth\n Sensor: temperature | fields: reading, qc, value, ts\nTask: Retrieve lon from sunlight with depth above the MAX(value) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000666", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, value, lon, qc\n Sensor: soil_moisture | fields: level, ts, value, lon\nTask: Get depth from visibility where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\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": "thr", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000667", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, lon, reading, depth\n Sensor: pressure | fields: unit, ts, value, depth\nTask: Retrieve level from humidity whose unit is found in pressure records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000668", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: type, depth, qc, reading\n Sensor: soil_moisture | fields: level, lon, qc, type\nTask: Fetch depth from rainfall where reading is greater than the average of value in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000669", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, lat, unit, value\n Sensor: cloud_cover | fields: reading, lat, depth, level\nTask: Fetch lat from rainfall where type exists in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000670", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: level, qc, reading, unit\n Sensor: dew_point | fields: lat, lon, reading, type\nTask: Fetch level from wind_speed where unit exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000671", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: ts, qc, value, level\n Sensor: humidity | fields: ts, lat, level, unit\nTask: Retrieve lat from snow_depth whose qc is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000672", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lat, lon, reading, depth\n Sensor: drought_index | fields: value, type, level, qc\nTask: Fetch value from rainfall that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000673", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: level, reading, unit, depth\n Sensor: drought_index | fields: value, qc, unit, ts\nTask: Get lon from uv_index where unit appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000674", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, reading, depth, type\n Sensor: frost | fields: value, depth, lat, lon\nTask: Fetch depth 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=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000675", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: reading, value, type, unit\n Sensor: wind_speed | fields: lat, level, lon, type\nTask: Retrieve depth from uv_index that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000676", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, lon, value, reading\n Sensor: cloud_cover | fields: ts, unit, reading, type\nTask: Fetch lon from turbidity where type exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000677", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, reading, value, type\n Sensor: lightning | fields: level, depth, ts, qc\nTask: Retrieve value from cloud_cover with reading above the AVG(depth) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000678", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, reading, lat, depth\n Sensor: pressure | fields: value, qc, lon, depth\nTask: Get reading from rainfall where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000679", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: depth, type, value, ts\n Sensor: turbidity | fields: ts, type, value, lon\nTask: Fetch value from uv_index where reading is greater than the total of reading in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "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_fixed_v1_val_000680", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lon, ts, unit, value\n Sensor: visibility | fields: lat, depth, type, ts\nTask: Fetch reading from sunlight where qc exists in visibility sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000681", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: value, qc, lat, type\n Sensor: turbidity | fields: qc, type, ts, value\nTask: Retrieve depth from humidity with depth above the SUM(reading) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000682", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lat, type, ts, depth\n Sensor: frost | fields: lat, value, depth, qc\nTask: Fetch lat from drought_index where ts exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000683", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lat, qc, unit, lon\n Sensor: rainfall | fields: ts, lon, type, qc\nTask: Fetch lon from temperature that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000684", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, depth, qc, lon\n Sensor: drought_index | fields: value, qc, unit, level\nTask: Fetch lon from wind_speed where reading is greater than the count of of reading in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000685", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lat, reading, unit, lon\n Sensor: snow_depth | fields: type, value, ts, level\nTask: Get lon from frost where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000686", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: type, unit, ts, value\n Sensor: turbidity | fields: value, reading, depth, lat\nTask: Retrieve lat from frost whose unit is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000687", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: value, depth, lat, qc\n Sensor: evaporation | fields: depth, qc, ts, unit\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=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000688", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: depth, ts, level, value\n Sensor: dew_point | fields: value, qc, ts, lon\nTask: Get depth from soil_moisture where value exceeds the average depth from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000689", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, unit, type, lon\n Sensor: temperature | fields: depth, qc, value, type\nTask: Retrieve value from rainfall that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000690", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, ts, depth, reading\n Sensor: rainfall | fields: lat, unit, depth, reading\nTask: Get depth from air_quality where type appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000691", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: level, unit, value, qc\n Sensor: air_quality | fields: lat, qc, type, value\nTask: Get reading from temperature where qc appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000692", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, unit, ts, lon\n Sensor: sunlight | fields: value, unit, depth, lon\nTask: Fetch value from temperature that have at least one corresponding sunlight measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000693", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, lon, reading, qc\n Sensor: dew_point | fields: qc, depth, lat, lon\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=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000694", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: unit, level, lat, type\n Sensor: sunlight | fields: lat, reading, type, value\nTask: Fetch reading from snow_depth that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000695", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: reading, unit, depth, ts\n Sensor: cloud_cover | fields: reading, level, lon, value\nTask: Fetch lon from pressure that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000696", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: depth, value, lat, lon\n Sensor: sunlight | fields: lon, unit, lat, qc\nTask: Fetch value from dew_point where ts exists in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000697", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, value, type, reading\n Sensor: dew_point | fields: value, depth, type, ts\nTask: Retrieve lon from turbidity whose ts is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000698", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, ts, depth, value\n Sensor: cloud_cover | fields: lon, lat, type, qc\nTask: Fetch lon from temperature where value is greater than the total of value in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "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_fixed_v1_val_000699", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: ts, qc, lat, depth\n Sensor: temperature | fields: ts, unit, reading, lon\nTask: Get lat from visibility where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000700", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, reading, lon, depth\n Sensor: turbidity | fields: unit, level, value, lon\nTask: Get depth from lightning where unit appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000701", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: depth, value, reading, ts\n Sensor: visibility | fields: reading, lat, level, depth\nTask: Fetch lat from drought_index where reading is greater than the count of of value in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000702", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lat, ts, lon, type\n Sensor: visibility | fields: lat, level, value, reading\nTask: Get lon from snow_depth where reading exceeds the minimum value from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000703", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: reading, ts, type, depth\n Sensor: lightning | fields: lon, qc, reading, value\nTask: Get lat from air_quality where depth appears in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000704", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, qc, ts, value\n Sensor: visibility | fields: qc, lon, value, reading\nTask: Fetch level from frost where ts exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000705", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, type, depth, lon\n Sensor: turbidity | fields: depth, value, unit, type\nTask: Retrieve reading from sunlight with depth above the SUM(reading) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000706", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, type, depth, qc\n Sensor: lightning | fields: lon, unit, qc, ts\nTask: Retrieve value from dew_point with depth above the SUM(depth) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000707", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, type, lon, depth\n Sensor: sunlight | fields: value, depth, lon, unit\nTask: Fetch lat from dew_point where value is greater than the average of reading in sunlight for matching type.\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(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000708", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: ts, lon, value, lat\n Sensor: humidity | fields: qc, reading, lon, level\nTask: Retrieve depth from drought_index that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000709", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, level, value, qc\n Sensor: soil_moisture | fields: type, value, reading, lat\nTask: Retrieve level from wind_speed with reading above the COUNT(reading) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000710", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: unit, lon, ts, lat\n Sensor: drought_index | fields: value, qc, lon, level\nTask: Get value from wind_speed where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000711", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: type, reading, depth, unit\n Sensor: uv_index | fields: qc, reading, ts, depth\nTask: Get value from lightning where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000712", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, ts, value, lat\n Sensor: soil_moisture | fields: reading, qc, ts, type\nTask: Get reading from sunlight where value exceeds the maximum depth from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000713", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: level, value, depth, lat\n Sensor: uv_index | fields: level, depth, lat, type\nTask: Get value from evaporation where reading exceeds the minimum depth from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000714", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: level, qc, reading, value\n Sensor: temperature | fields: value, lat, reading, depth\nTask: Get lon from turbidity where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000715", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: depth, reading, unit, lat\n Sensor: soil_moisture | fields: lon, lat, reading, depth\nTask: Get lat from sunlight where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000716", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: unit, reading, lon, lat\n Sensor: rainfall | fields: unit, value, depth, level\nTask: Fetch level from turbidity where qc exists in rainfall sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000717", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, depth, unit, value\n Sensor: air_quality | fields: lon, ts, type, qc\nTask: Retrieve value from uv_index whose depth is found in air_quality records where type 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(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000718", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: type, lat, unit, reading\n Sensor: evaporation | fields: value, depth, reading, level\nTask: Get lon from visibility where depth exceeds the minimum reading from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000719", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: value, ts, qc, depth\n Sensor: lightning | fields: value, qc, lat, level\nTask: Retrieve lon from drought_index with value above the SUM(value) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000720", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: level, type, unit, value\n Sensor: sunlight | fields: level, qc, lat, unit\nTask: Get reading from wind_speed where depth exceeds the minimum value from sunlight for the same depth.\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(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "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_fixed_v1_val_000721", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, lat, type, value\n Sensor: evaporation | fields: unit, lat, ts, level\nTask: Get depth from soil_moisture where ts appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000722", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: ts, level, reading, lon\n Sensor: rainfall | fields: level, unit, value, lat\nTask: Get reading from frost where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000723", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, ts, lat, reading\n Sensor: snow_depth | fields: lon, reading, type, qc\nTask: Get depth from turbidity where depth appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000724", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, type, lon, lat\n Sensor: soil_moisture | fields: lat, value, lon, ts\nTask: Retrieve reading 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=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000725", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: value, qc, level, unit\n Sensor: evaporation | fields: lat, level, reading, type\nTask: Retrieve value 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=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000726", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: qc, depth, lon, type\n Sensor: humidity | fields: value, ts, lat, reading\nTask: Fetch value from dew_point that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000727", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: type, value, depth, qc\n Sensor: sunlight | fields: lon, depth, reading, type\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=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000728", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lon, depth, unit, level\n Sensor: evaporation | fields: reading, ts, value, unit\nTask: Retrieve depth from dew_point whose qc is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000729", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, value, lon, lat\n Sensor: snow_depth | fields: qc, ts, level, lat\nTask: Fetch value from drought_index that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000730", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: level, reading, type, lat\n Sensor: humidity | fields: value, lat, level, type\nTask: Get level from uv_index where depth exceeds the average value from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000731", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: reading, unit, lat, type\n Sensor: soil_moisture | fields: reading, unit, value, lat\nTask: Retrieve reading from frost whose qc is found in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000732", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: depth, type, lon, lat\n Sensor: temperature | fields: level, reading, type, lat\nTask: Fetch level from snow_depth where value is greater than the average of value in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000733", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, qc, lat, unit\n Sensor: cloud_cover | fields: value, depth, lat, type\nTask: Fetch reading from sunlight where value is greater than the maximum of value in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000734", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: reading, ts, type, lat\n Sensor: air_quality | fields: level, unit, reading, ts\nTask: Retrieve lon 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=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "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_fixed_v1_val_000735", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, reading, level, unit\n Sensor: cloud_cover | fields: value, unit, level, ts\nTask: Get reading from turbidity where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000736", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: ts, reading, depth, lon\n Sensor: evaporation | fields: level, lat, value, type\nTask: Retrieve lon from dew_point whose depth is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "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_fixed_v1_val_000737", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, lon, type, lat\n Sensor: humidity | fields: reading, depth, ts, qc\nTask: Get lon from wind_speed where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000738", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: type, reading, qc, lat\n Sensor: drought_index | fields: depth, level, lat, ts\nTask: Retrieve lat from wind_speed whose type is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000739", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lon, type, value, lat\n Sensor: sunlight | fields: lon, reading, lat, type\nTask: Get value 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=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000740", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lat, value, qc, lon\n Sensor: lightning | fields: qc, lon, type, unit\nTask: Get lon from dew_point where ts appears in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000741", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, lat, lon, value\n Sensor: frost | fields: unit, type, reading, level\nTask: Retrieve level from visibility with value above the AVG(reading) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000742", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lat, ts, depth, unit\n Sensor: frost | fields: type, lon, unit, qc\nTask: Get level from rainfall where ts appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000743", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: level, ts, qc, reading\n Sensor: humidity | fields: ts, qc, type, lon\nTask: Fetch depth from pressure where value is greater than the minimum of value in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "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_fixed_v1_val_000744", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, qc, unit, depth\n Sensor: uv_index | fields: type, lat, reading, lon\nTask: Get level from evaporation where depth appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "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_fixed_v1_val_000745", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: level, qc, depth, lat\n Sensor: turbidity | fields: lon, qc, reading, value\nTask: Get lat from air_quality where reading exceeds the minimum reading from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000746", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: ts, qc, unit, lat\n Sensor: visibility | fields: lon, depth, level, unit\nTask: Get reading from uv_index where ts appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000747", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: reading, ts, qc, level\n Sensor: rainfall | fields: depth, unit, value, lat\nTask: Retrieve lat from lightning whose ts is found in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000748", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, reading, type, depth\n Sensor: lightning | fields: reading, unit, ts, depth\nTask: Get level 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=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000749", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: ts, unit, value, reading\n Sensor: snow_depth | fields: unit, level, lon, depth\nTask: Fetch level from lightning where reading is greater than the maximum of value in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000750", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: reading, level, lat, unit\n Sensor: uv_index | fields: type, value, qc, level\nTask: Fetch value from visibility where value is greater than the average of value in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000751", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: value, type, level, depth\n Sensor: pressure | fields: ts, unit, reading, lon\nTask: Get lat from humidity where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000752", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, value, ts, unit\n Sensor: air_quality | fields: level, depth, lon, qc\nTask: Retrieve value from wind_speed with reading above the COUNT(value) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000753", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: depth, qc, reading, lat\n Sensor: cloud_cover | fields: reading, lon, level, value\nTask: Retrieve lon from uv_index that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000754", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, ts, lat, value\n Sensor: dew_point | fields: type, reading, qc, ts\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=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000755", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: ts, reading, lon, qc\n Sensor: rainfall | fields: type, qc, value, ts\nTask: Retrieve lat from uv_index whose qc is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000756", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, value, lon, type\n Sensor: humidity | fields: lat, reading, ts, qc\nTask: Fetch value from frost where depth is greater than the average of value in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "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_fixed_v1_val_000757", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, reading, level, depth\n Sensor: humidity | fields: level, type, lat, depth\nTask: Retrieve value from rainfall whose depth is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000758", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: level, type, lat, qc\n Sensor: temperature | fields: reading, unit, qc, ts\nTask: Retrieve depth from humidity that have at least one matching reading in temperature sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000759", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, value, type, lon\n Sensor: frost | fields: qc, ts, reading, unit\nTask: Get depth from sunlight where depth appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000760", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lat, level, value, depth\n Sensor: visibility | fields: depth, lat, level, reading\nTask: Get lon from humidity where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000761", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: reading, lon, depth, value\n Sensor: temperature | fields: lat, qc, value, ts\nTask: Retrieve level from dew_point with reading above the MAX(depth) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000762", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: ts, lon, lat, type\n Sensor: drought_index | fields: value, unit, lat, type\nTask: Retrieve value from uv_index with value above the MAX(value) of drought_index 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(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000763", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, type, depth, lon\n Sensor: rainfall | fields: reading, lat, type, level\nTask: Retrieve depth from dew_point whose depth is found in rainfall records where ts 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(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "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_fixed_v1_val_000764", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lat, level, lon, type\n Sensor: pressure | fields: depth, value, qc, lon\nTask: Fetch reading from humidity where ts exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000765", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: type, qc, depth, lat\n Sensor: temperature | fields: lat, depth, ts, value\nTask: Retrieve lat from evaporation that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000766", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, qc, value, lat\n Sensor: snow_depth | fields: qc, depth, ts, value\nTask: Fetch depth from air_quality where reading is greater than the minimum of reading in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000767", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, value, type, lon\n Sensor: frost | fields: ts, lat, level, depth\nTask: Retrieve value from air_quality with reading above the COUNT(value) of frost 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(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000768", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lon, unit, level, value\n Sensor: evaporation | fields: depth, unit, level, value\nTask: Get value from frost where unit appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "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_fixed_v1_val_000769", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, level, lon, value\n Sensor: drought_index | fields: ts, depth, lon, unit\nTask: Get lat from sunlight where value exceeds the total depth from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000770", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: level, lat, lon, depth\n Sensor: dew_point | fields: type, ts, depth, qc\nTask: Fetch depth 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=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000771", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: depth, ts, level, lat\n Sensor: sunlight | fields: depth, value, type, qc\nTask: Retrieve value from turbidity with depth above the COUNT(depth) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "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_fixed_v1_val_000772", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, lon, ts, depth\n Sensor: dew_point | fields: ts, qc, lon, lat\nTask: Get lat from cloud_cover where qc appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000773", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: unit, level, ts, value\n Sensor: dew_point | fields: lon, reading, lat, value\nTask: Fetch lon from evaporation where unit exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000774", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, type, value, ts\n Sensor: dew_point | fields: reading, value, qc, depth\nTask: Retrieve level 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=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000775", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: ts, lat, lon, qc\n Sensor: dew_point | fields: ts, qc, type, lon\nTask: Retrieve lon from cloud_cover whose depth is found in dew_point records where type 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(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000776", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lon, lat, reading, qc\n Sensor: wind_speed | fields: reading, ts, depth, level\nTask: Fetch reading from turbidity where reading is greater than the average of value in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000777", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, type, ts, lon\n Sensor: cloud_cover | fields: depth, unit, ts, value\nTask: Fetch depth from dew_point that have at least one corresponding cloud_cover measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000778", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: depth, lat, unit, lon\n Sensor: visibility | fields: reading, lat, qc, lon\nTask: Fetch lon from drought_index where value is greater than the total of value in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "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_fixed_v1_val_000779", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: depth, lon, ts, type\n Sensor: sunlight | fields: value, unit, reading, ts\nTask: Fetch lon from pressure that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000780", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: reading, lat, lon, type\n Sensor: uv_index | fields: reading, lat, depth, ts\nTask: Retrieve level from visibility with depth above the MIN(depth) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000781", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, value, ts, lat\n Sensor: rainfall | fields: value, qc, lon, level\nTask: Fetch reading from dew_point where depth is greater than the maximum of depth in rainfall for matching 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(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000782", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, qc, depth, unit\n Sensor: soil_moisture | fields: depth, qc, value, lon\nTask: Get depth from uv_index where depth exceeds the total reading from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000783", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, level, lat, reading\n Sensor: sunlight | fields: ts, value, unit, lat\nTask: Get depth from turbidity where type appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000784", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, reading, value, lat\n Sensor: uv_index | fields: ts, reading, qc, lon\nTask: Fetch value from sunlight that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\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": "ref", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000785", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: depth, type, level, unit\n Sensor: dew_point | fields: lon, level, depth, ts\nTask: Fetch lon from visibility that have at least one corresponding dew_point measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\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": "hub", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000786", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lon, level, value, depth\n Sensor: snow_depth | fields: lat, depth, ts, qc\nTask: Get reading from lightning where depth appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "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_fixed_v1_val_000787", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: value, type, qc, unit\n Sensor: pressure | fields: value, unit, type, reading\nTask: Fetch lon from dew_point that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000788", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: depth, level, value, qc\n Sensor: temperature | fields: type, depth, unit, ts\nTask: Fetch lat from snow_depth where value is greater than the minimum of reading in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000789", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: type, unit, lon, level\n Sensor: soil_moisture | fields: level, ts, unit, depth\nTask: Get value from lightning where unit appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000790", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: depth, ts, reading, lon\n Sensor: sunlight | fields: type, lat, qc, level\nTask: Get reading from pressure where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000791", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: type, qc, value, reading\n Sensor: evaporation | fields: level, ts, qc, type\nTask: Retrieve level from turbidity with reading above the COUNT(value) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000792", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: unit, depth, reading, type\n Sensor: evaporation | fields: level, unit, lon, lat\nTask: Fetch lat from soil_moisture that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000793", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, reading, ts, lon\n Sensor: wind_speed | fields: qc, unit, lat, type\nTask: Retrieve value from evaporation that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000794", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, level, value, qc\n Sensor: humidity | fields: level, depth, unit, value\nTask: Get lon from dew_point where value exceeds the total value from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000795", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lat, lon, type, value\n Sensor: temperature | fields: type, lat, qc, unit\nTask: Fetch lon 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=\"thr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000796", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, type, depth, value\n Sensor: rainfall | fields: reading, type, ts, depth\nTask: Fetch reading from pressure where value is greater than the total of reading in rainfall for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000797", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, depth, level, value\n Sensor: snow_depth | fields: reading, ts, level, type\nTask: Get lon from sunlight where type appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000798", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, level, reading, value\n Sensor: sunlight | fields: ts, type, reading, value\nTask: Retrieve value from temperature with depth above the MAX(reading) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000799", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: level, reading, type, lon\n Sensor: sunlight | fields: reading, lon, level, type\nTask: Fetch value from snow_depth where qc exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000800", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: value, lon, ts, depth\n Sensor: frost | fields: reading, level, lat, depth\nTask: Fetch value from sunlight where ts exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000801", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: reading, lat, depth, lon\n Sensor: rainfall | fields: qc, lon, unit, ts\nTask: Retrieve depth from sunlight with value above the MAX(value) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000802", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: reading, unit, lat, depth\n Sensor: uv_index | fields: unit, lat, qc, level\nTask: Fetch depth from pressure where ts exists in uv_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000803", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: level, type, unit, lon\n Sensor: frost | fields: level, lon, type, unit\nTask: Get level from air_quality where ts appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000804", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: type, ts, level, qc\n Sensor: sunlight | fields: ts, value, unit, type\nTask: Fetch reading from air_quality where value is greater than the maximum of reading in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "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_fixed_v1_val_000805", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, value, unit, type\n Sensor: cloud_cover | fields: type, depth, qc, ts\nTask: Get depth from air_quality where reading exceeds the count of reading from cloud_cover for the same type.\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(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000806", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: type, ts, qc, value\n Sensor: pressure | fields: level, reading, lon, unit\nTask: Fetch value from humidity where type exists in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000807", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, ts, lat, qc\n Sensor: drought_index | fields: ts, value, depth, type\nTask: Fetch depth from temperature that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000808", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: type, depth, lat, reading\n Sensor: temperature | fields: lon, lat, depth, unit\nTask: Fetch lon from turbidity that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000809", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: ts, reading, type, depth\n Sensor: air_quality | fields: depth, qc, unit, reading\nTask: Fetch reading from snow_depth where depth exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000810", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: depth, reading, unit, level\n Sensor: drought_index | fields: level, lon, ts, qc\nTask: Retrieve reading from visibility whose depth is found in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000811", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lon, reading, level, qc\n Sensor: rainfall | fields: reading, level, type, lon\nTask: Fetch lon from dew_point where ts exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000812", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: type, lat, unit, value\n Sensor: humidity | fields: lon, lat, unit, type\nTask: Retrieve reading from wind_speed with reading above the MIN(reading) of humidity 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(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000813", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lon, type, depth, lat\n Sensor: cloud_cover | fields: lon, lat, level, reading\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=\"clr\"),\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": "clr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000814", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: depth, unit, reading, qc\n Sensor: uv_index | fields: reading, value, level, type\nTask: Get lat from humidity where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000815", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: depth, level, reading, ts\n Sensor: snow_depth | fields: depth, qc, lat, ts\nTask: Retrieve lat from evaporation with depth above the AVG(depth) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000816", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: ts, type, depth, lon\n Sensor: rainfall | fields: type, unit, value, depth\nTask: Fetch reading from cloud_cover where ts exists in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000817", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: level, value, unit, ts\n Sensor: uv_index | fields: lon, unit, reading, type\nTask: Retrieve reading 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=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000818", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, type, reading, unit\n Sensor: soil_moisture | fields: ts, value, level, lon\nTask: Retrieve value from uv_index whose type 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=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000819", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, unit, type, qc\n Sensor: turbidity | fields: value, unit, level, lat\nTask: Fetch level from frost where depth is greater than the minimum of value in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", 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": "frost", "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_fixed_v1_val_000820", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: reading, type, lat, depth\n Sensor: pressure | fields: lat, qc, ts, value\nTask: Get lon from humidity where depth exceeds the count of value from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000821", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: type, reading, depth, lat\n Sensor: lightning | fields: ts, level, reading, value\nTask: Retrieve level from evaporation whose qc is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000822", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: depth, ts, lat, lon\n Sensor: wind_speed | fields: lon, type, qc, lat\nTask: Fetch value from temperature that have at least one corresponding wind_speed measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000823", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, depth, lon, type\n Sensor: pressure | fields: ts, level, qc, value\nTask: Fetch level from evaporation that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000824", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, unit, reading, qc\n Sensor: air_quality | fields: reading, qc, lon, ts\nTask: Retrieve reading from pressure whose depth is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000825", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lat, lon, reading, depth\n Sensor: lightning | fields: depth, qc, reading, unit\nTask: Get level from dew_point where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000826", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: reading, type, lon, unit\n Sensor: turbidity | fields: reading, qc, lat, type\nTask: Retrieve value from humidity whose unit is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000827", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: type, qc, ts, lon\n Sensor: uv_index | fields: level, unit, reading, value\nTask: Fetch lon from wind_speed where reading is greater than the minimum of value in uv_index for matching 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(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000828", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lat, level, depth, reading\n Sensor: pressure | fields: lat, qc, unit, lon\nTask: Fetch depth from evaporation where type exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000829", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, level, depth, lat\n Sensor: frost | fields: type, unit, reading, level\nTask: Retrieve lon from dew_point that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000830", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, type, qc, ts\n Sensor: temperature | fields: unit, qc, depth, value\nTask: Get value from pressure where depth exceeds the minimum depth from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000831", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: qc, ts, type, value\n Sensor: wind_speed | fields: depth, unit, value, qc\nTask: Retrieve lat from air_quality that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000832", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: qc, level, reading, unit\n Sensor: rainfall | fields: unit, type, lon, level\nTask: Get lon from visibility where type appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000833", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, level, ts, depth\n Sensor: snow_depth | fields: lat, reading, ts, depth\nTask: Retrieve reading from rainfall whose type is found in snow_depth records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000834", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: value, lon, qc, lat\n Sensor: air_quality | fields: reading, depth, ts, level\nTask: Retrieve lon from humidity whose unit is found in air_quality records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000835", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, reading, unit, lon\n Sensor: visibility | fields: unit, lat, lon, type\nTask: Retrieve value from evaporation whose ts is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000836", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: ts, unit, level, depth\n Sensor: frost | fields: ts, value, lat, depth\nTask: Retrieve reading from cloud_cover whose ts is found in frost records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000837", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: type, depth, ts, qc\n Sensor: pressure | fields: unit, type, value, level\nTask: Fetch value from snow_depth where type 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=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000838", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: level, lat, depth, value\n Sensor: turbidity | fields: depth, type, unit, value\nTask: Retrieve level 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=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000839", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lon, lat, level, depth\n Sensor: air_quality | fields: ts, reading, lat, lon\nTask: Fetch lat from sunlight where qc exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000840", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, lat, level, unit\n Sensor: air_quality | fields: depth, unit, type, lat\nTask: Retrieve depth 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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000841", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lon, lat, ts, qc\n Sensor: wind_speed | fields: lat, lon, unit, qc\nTask: Retrieve value from uv_index with value above the MAX(reading) of wind_speed readings sharing the same ts.\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(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000842", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: ts, depth, qc, reading\n Sensor: cloud_cover | fields: value, qc, unit, level\nTask: Fetch level from frost where qc 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=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000843", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, qc, value, level\n Sensor: air_quality | fields: type, depth, qc, level\nTask: Get lon from uv_index where unit appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000844", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: value, lat, type, level\n Sensor: frost | fields: lat, reading, depth, type\nTask: Get lat from turbidity where unit appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000845", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, lon, value, unit\n Sensor: drought_index | fields: reading, ts, type, value\nTask: Retrieve lon from uv_index with reading above the SUM(value) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000846", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lat, value, reading, lon\n Sensor: visibility | fields: depth, value, reading, type\nTask: Retrieve reading from humidity with depth above the COUNT(depth) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000847", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, depth, lat, reading\n Sensor: pressure | fields: ts, type, lon, level\nTask: Fetch value from soil_moisture that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000848", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, type, qc, lon\n Sensor: turbidity | fields: level, type, reading, value\nTask: Get lon from cloud_cover where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000849", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, ts, qc, depth\n Sensor: temperature | fields: unit, lon, reading, qc\nTask: Retrieve lat from turbidity with value above the COUNT(value) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000850", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, reading, depth, lat\n Sensor: pressure | fields: lon, depth, type, lat\nTask: Retrieve value from temperature whose type is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000851", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, level, unit, ts\n Sensor: frost | fields: lat, type, qc, unit\nTask: Get lat from rainfall where value exceeds the average value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000852", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: type, reading, unit, ts\n Sensor: evaporation | fields: depth, lat, type, qc\nTask: Get level from snow_depth where value exceeds the average reading from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "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_fixed_v1_val_000853", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: type, value, depth, ts\n Sensor: humidity | fields: level, type, qc, reading\nTask: Get depth from rainfall where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000854", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: type, unit, value, depth\n Sensor: pressure | fields: level, unit, qc, depth\nTask: Get lat from turbidity where depth appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000855", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: value, depth, qc, level\n Sensor: air_quality | fields: level, lon, type, unit\nTask: Retrieve depth from humidity that have at least one matching reading in air_quality sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000856", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: depth, lat, lon, ts\n Sensor: wind_speed | fields: reading, ts, depth, level\nTask: Get reading from soil_moisture where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000857", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: level, ts, depth, unit\n Sensor: soil_moisture | fields: qc, type, level, value\nTask: Fetch value from lightning that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000858", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: level, type, lon, lat\n Sensor: turbidity | fields: unit, lat, qc, value\nTask: Fetch depth from temperature where depth is greater than the minimum of depth in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000859", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: level, depth, reading, type\n Sensor: humidity | fields: type, lon, level, ts\nTask: Get lon from air_quality where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000860", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: qc, ts, lon, type\n Sensor: dew_point | fields: depth, ts, qc, lon\nTask: Get depth from sunlight where depth appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000861", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: unit, qc, value, lon\n Sensor: uv_index | fields: level, qc, type, value\nTask: Get lon from sunlight where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000862", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lat, ts, reading, unit\n Sensor: rainfall | fields: reading, lon, qc, unit\nTask: Fetch value 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=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000863", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: ts, unit, reading, lon\n Sensor: dew_point | fields: type, unit, value, level\nTask: Fetch value from humidity where qc exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\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", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000864", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: depth, ts, reading, level\n Sensor: cloud_cover | fields: lat, unit, reading, value\nTask: Get reading from turbidity where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000865", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, value, ts, unit\n Sensor: snow_depth | fields: unit, lat, qc, ts\nTask: Get value from pressure where value exceeds the minimum depth from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000866", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lon, depth, reading, lat\n Sensor: rainfall | fields: lon, depth, lat, type\nTask: Retrieve reading from uv_index with depth above the MAX(value) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000867", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: depth, type, unit, value\n Sensor: frost | fields: type, qc, lat, unit\nTask: Get level from pressure where ts appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000868", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: ts, lon, reading, qc\n Sensor: uv_index | fields: lat, unit, reading, level\nTask: Get lat from frost where unit appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000869", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: level, ts, reading, qc\n Sensor: snow_depth | fields: unit, qc, depth, ts\nTask: Retrieve lon from pressure whose depth is found in snow_depth records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000870", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: unit, depth, qc, lat\n Sensor: turbidity | fields: reading, lon, qc, level\nTask: Fetch level from uv_index that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000871", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, type, ts, lon\n Sensor: lightning | fields: reading, level, lon, lat\nTask: Get lon from snow_depth where type appears in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000872", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: reading, lon, level, depth\n Sensor: evaporation | fields: unit, level, qc, lat\nTask: Fetch lat from frost where reading is greater than the minimum of value in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000873", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, qc, value, unit\n Sensor: pressure | fields: lat, depth, lon, qc\nTask: Fetch lat from dew_point that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000874", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lat, ts, depth, reading\n Sensor: lightning | fields: lat, ts, value, qc\nTask: Get reading from wind_speed where depth exceeds the count of reading from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000875", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, lon, type, lat\n Sensor: air_quality | fields: qc, level, depth, value\nTask: Get value from sunlight where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000876", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: value, type, reading, level\n Sensor: soil_moisture | fields: type, unit, depth, qc\nTask: Retrieve level from pressure whose depth is found in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000877", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: value, type, qc, level\n Sensor: rainfall | fields: ts, type, level, qc\nTask: Fetch depth 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=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000878", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, type, level, value\n Sensor: visibility | fields: ts, value, type, qc\nTask: Get lat from drought_index where value exceeds the minimum reading from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000879", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: unit, ts, type, depth\n Sensor: evaporation | fields: reading, qc, depth, lon\nTask: Get lat from wind_speed where unit appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000880", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, lon, level, type\n Sensor: turbidity | fields: level, value, ts, lat\nTask: Retrieve lat from pressure whose qc is found in turbidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000881", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, type, qc, lat\n Sensor: temperature | fields: lon, value, depth, lat\nTask: Retrieve reading 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=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000882", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lat, depth, ts, reading\n Sensor: rainfall | fields: qc, lat, type, level\nTask: Get lon from humidity where reading exceeds the minimum depth from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000883", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: unit, level, ts, value\n Sensor: cloud_cover | fields: unit, value, depth, ts\nTask: Fetch value from pressure where unit exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000884", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: unit, lon, ts, depth\n Sensor: air_quality | fields: unit, ts, reading, depth\nTask: Get level from dew_point where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000885", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, level, type, depth\n Sensor: air_quality | fields: qc, unit, ts, lon\nTask: Retrieve reading from wind_speed whose qc is found in air_quality records where qc 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(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000886", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: reading, depth, unit, type\n Sensor: cloud_cover | fields: ts, reading, type, depth\nTask: Get lon from pressure where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000887", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: unit, lon, depth, type\n Sensor: cloud_cover | fields: ts, type, qc, reading\nTask: Fetch value from snow_depth that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000888", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, ts, unit, depth\n Sensor: turbidity | fields: lat, lon, depth, unit\nTask: Get level from visibility where a corresponding entry exists in turbidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000889", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: ts, level, reading, lon\n Sensor: evaporation | fields: lat, unit, depth, type\nTask: Get lat from snow_depth where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000890", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: reading, ts, unit, lat\n Sensor: soil_moisture | fields: type, lat, ts, unit\nTask: Retrieve reading from evaporation that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000891", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, unit, ts, depth\n Sensor: wind_speed | fields: lat, value, ts, depth\nTask: Fetch lat from air_quality that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000892", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, lat, lon, depth\n Sensor: sunlight | fields: depth, unit, type, lon\nTask: Retrieve level from drought_index whose qc 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=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000893", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: value, reading, level, lat\n Sensor: pressure | fields: ts, value, lon, lat\nTask: Retrieve lat from sunlight with value above the SUM(depth) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000894", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, unit, lon, ts\n Sensor: soil_moisture | fields: reading, lat, value, qc\nTask: Fetch value from rainfall that have at least one corresponding soil_moisture measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000895", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: value, reading, lat, unit\n Sensor: air_quality | fields: level, lon, type, value\nTask: Get level from drought_index where ts appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000896", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: qc, lat, depth, value\n Sensor: rainfall | fields: depth, unit, level, ts\nTask: Retrieve reading from lightning whose ts is found in rainfall records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000897", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, value, reading, unit\n Sensor: wind_speed | fields: reading, value, lon, type\nTask: Get value from humidity where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000898", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, reading, depth, lon\n Sensor: wind_speed | fields: reading, lat, ts, type\nTask: Fetch lat from evaporation that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000899", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: value, ts, lat, qc\n Sensor: pressure | fields: unit, level, value, reading\nTask: Fetch reading from lightning where ts exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000900", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, reading, level, lat\n Sensor: cloud_cover | fields: level, type, depth, qc\nTask: Retrieve value from turbidity with depth above the SUM(value) of cloud_cover readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000901", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: qc, level, type, lon\n Sensor: pressure | fields: value, type, lat, depth\nTask: Retrieve value from lightning with value above the COUNT(value) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000902", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, value, unit, lat\n Sensor: evaporation | fields: reading, ts, type, lon\nTask: Retrieve level from rainfall with value above the COUNT(value) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000903", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, unit, lon, type\n Sensor: humidity | fields: type, reading, lon, value\nTask: Get depth from frost where reading exceeds the minimum reading from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000904", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: level, value, unit, depth\n Sensor: turbidity | fields: ts, unit, lon, type\nTask: Fetch level from humidity where reading is greater than the minimum of reading in turbidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000905", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lon, unit, level, ts\n Sensor: lightning | fields: lon, value, depth, reading\nTask: Get reading from cloud_cover where depth appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000906", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, lon, ts, value\n Sensor: lightning | fields: depth, reading, unit, type\nTask: Get depth from sunlight where type appears in lightning readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000907", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lon, reading, value, qc\n Sensor: temperature | fields: depth, unit, ts, lat\nTask: Retrieve depth from sunlight with reading above the COUNT(value) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000908", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: depth, lon, qc, ts\n Sensor: dew_point | fields: depth, value, lat, level\nTask: Retrieve lon from evaporation whose unit is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000909", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lon, level, value, qc\n Sensor: sunlight | fields: type, reading, level, ts\nTask: Fetch lon from air_quality where unit exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000910", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: level, lat, unit, depth\n Sensor: uv_index | fields: lon, lat, ts, depth\nTask: Get lon 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=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000911", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: level, reading, ts, lat\n Sensor: visibility | fields: qc, unit, lon, level\nTask: Get lon from humidity where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000912", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, reading, ts, qc\n Sensor: air_quality | fields: lon, depth, level, qc\nTask: Fetch depth from snow_depth where unit exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000913", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lon, type, lat, ts\n Sensor: uv_index | fields: ts, qc, lat, depth\nTask: Fetch value from soil_moisture where depth is greater than the count of of depth in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "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_fixed_v1_val_000914", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, qc, reading, level\n Sensor: sunlight | fields: unit, reading, type, lat\nTask: Get lat from temperature where reading exceeds the maximum depth from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000915", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lon, lat, depth, value\n Sensor: cloud_cover | fields: level, ts, qc, value\nTask: Fetch lon from pressure where depth exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000916", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: reading, lon, depth, type\n Sensor: turbidity | fields: value, type, lon, depth\nTask: Retrieve reading from soil_moisture whose qc is found in turbidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000917", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: qc, depth, ts, value\n Sensor: dew_point | fields: qc, type, lat, reading\nTask: Get depth from lightning where depth appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000918", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, value, lon, lat\n Sensor: dew_point | fields: type, qc, reading, lon\nTask: Retrieve lat from wind_speed that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000919", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, level, ts, depth\n Sensor: turbidity | fields: lon, type, value, depth\nTask: Fetch depth from frost where depth exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000920", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | 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=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000921", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: qc, depth, value, reading\n Sensor: humidity | fields: lon, type, ts, value\nTask: Retrieve lat from air_quality whose ts is found in humidity records where depth 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(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000922", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: ts, type, level, depth\n Sensor: lightning | fields: ts, depth, value, reading\nTask: Fetch reading from frost where unit exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000923", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lon, depth, ts, lat\n Sensor: temperature | fields: value, qc, reading, ts\nTask: Fetch lon from wind_speed where depth exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000924", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, lon, depth, lat\n Sensor: temperature | fields: value, reading, ts, lon\nTask: Get level from visibility where value exceeds the total depth from temperature 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(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000925", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, lat, value, level\n Sensor: air_quality | fields: level, depth, unit, lat\nTask: Retrieve lat from dew_point with depth above the COUNT(depth) of air_quality 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(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000926", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: level, lat, qc, lon\n Sensor: pressure | fields: qc, value, lon, unit\nTask: Fetch lat from drought_index where depth is greater than the minimum of depth in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000927", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lon, ts, unit, type\n Sensor: pressure | fields: lat, level, depth, reading\nTask: Retrieve lon from temperature that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000928", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: reading, lat, depth, lon\n Sensor: wind_speed | fields: value, unit, reading, depth\nTask: Fetch lat from cloud_cover that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000929", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: reading, level, lon, qc\n Sensor: uv_index | fields: lat, unit, qc, depth\nTask: Fetch level from visibility that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000930", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: reading, lat, level, lon\n Sensor: visibility | fields: qc, reading, ts, depth\nTask: Fetch value from drought_index where value is greater than the average of reading in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000931", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lon, depth, value, type\n Sensor: sunlight | fields: reading, lat, type, depth\nTask: Retrieve reading from air_quality whose qc is found in sunlight records where unit 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(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000932", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: ts, level, unit, type\n Sensor: uv_index | fields: depth, lat, qc, type\nTask: Get reading from air_quality where reading exceeds the count of reading from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000933", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lon, reading, ts, level\n Sensor: evaporation | fields: type, lon, depth, reading\nTask: Get reading from wind_speed where ts appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000934", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: unit, reading, level, ts\n Sensor: snow_depth | fields: type, unit, lat, lon\nTask: Fetch value from humidity where value is greater than the total of depth in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000935", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: reading, lon, ts, qc\n Sensor: dew_point | fields: ts, value, unit, qc\nTask: Retrieve lon from rainfall that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000936", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: type, reading, ts, unit\n Sensor: lightning | fields: unit, qc, reading, depth\nTask: Get reading from rainfall where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000937", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, qc, lon, depth\n Sensor: cloud_cover | fields: qc, ts, type, depth\nTask: Get value from evaporation where depth appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000938", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, ts, qc, lat\n Sensor: sunlight | fields: level, qc, reading, lat\nTask: Fetch lat from soil_moisture where depth exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000939", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, unit, reading, depth\n Sensor: cloud_cover | fields: ts, qc, reading, lon\nTask: Retrieve lat from visibility whose ts is found in cloud_cover records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000940", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: level, unit, reading, ts\n Sensor: air_quality | fields: qc, reading, level, lat\nTask: Get lon from frost where qc appears in air_quality readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000941", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: reading, qc, lat, ts\n Sensor: frost | fields: lat, level, ts, qc\nTask: Fetch level from pressure that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000942", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, type, ts, depth\n Sensor: frost | fields: lon, value, type, depth\nTask: Get value from temperature where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000943", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, lon, type, depth\n Sensor: wind_speed | fields: value, qc, lon, ts\nTask: Fetch level from cloud_cover where unit exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\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": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000944", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: depth, reading, unit, type\n Sensor: frost | fields: lon, qc, unit, depth\nTask: Get lat from lightning where qc appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000945", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: value, reading, lon, ts\n Sensor: temperature | fields: lon, depth, reading, type\nTask: Get level from wind_speed where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000946", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: type, depth, level, value\n Sensor: pressure | fields: depth, lon, unit, level\nTask: Fetch lat from evaporation where value is greater than the count of of reading in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000947", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: unit, reading, lon, level\n Sensor: uv_index | fields: ts, unit, lat, depth\nTask: Get value from humidity where ts appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000948", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, unit, lon, ts\n Sensor: dew_point | fields: qc, value, lat, type\nTask: Retrieve value from cloud_cover with reading above the MIN(value) of dew_point 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(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000949", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, ts, reading, unit\n Sensor: soil_moisture | fields: level, value, ts, qc\nTask: Fetch depth from evaporation where value is greater than the average of reading in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000950", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: ts, lat, unit, level\n Sensor: pressure | fields: level, unit, type, depth\nTask: Fetch reading from turbidity where value is greater than the average of reading in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000951", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, depth, lat, type\n Sensor: sunlight | fields: lat, unit, value, reading\nTask: Get level from wind_speed where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000952", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: unit, ts, type, value\n Sensor: pressure | fields: lon, level, type, lat\nTask: Get lat from wind_speed where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000953", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: lon, reading, lat, ts\n Sensor: uv_index | fields: depth, qc, lat, reading\nTask: Get reading from air_quality where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000954", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: level, lon, ts, lat\n Sensor: cloud_cover | fields: type, ts, depth, unit\nTask: Get value from humidity where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000955", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lon, lat, level, type\n Sensor: visibility | fields: qc, type, reading, lat\nTask: Get value from evaporation where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000956", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: depth, level, reading, value\n Sensor: air_quality | fields: ts, lon, qc, depth\nTask: Get lon from drought_index where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000957", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lat, unit, value, type\n Sensor: humidity | fields: unit, lat, lon, reading\nTask: Retrieve reading from air_quality that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000958", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lat, ts, unit, reading\n Sensor: soil_moisture | fields: lat, lon, value, unit\nTask: Get reading from turbidity where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000959", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, lat, unit, value\n Sensor: soil_moisture | fields: reading, lat, level, value\nTask: Get lon from frost where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000960", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lon, level, depth, ts\n Sensor: evaporation | fields: type, depth, reading, value\nTask: Retrieve reading from pressure with depth above the SUM(reading) of evaporation readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000961", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, unit, lon, depth\n Sensor: frost | fields: lon, level, qc, type\nTask: Fetch value from dew_point where unit exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000962", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, value, type, qc\n Sensor: sunlight | fields: depth, level, reading, lat\nTask: Fetch value from cloud_cover that have at least one corresponding sunlight measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000963", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, unit, qc, level\n Sensor: temperature | fields: type, qc, level, value\nTask: Retrieve value from humidity whose unit is found in temperature records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000964", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: unit, lon, value, reading\n Sensor: turbidity | fields: qc, reading, type, unit\nTask: Retrieve lon from pressure with reading above the SUM(reading) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000965", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, qc, depth, lat\n Sensor: frost | fields: unit, ts, lat, type\nTask: Get value from drought_index where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000966", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: reading, ts, type, level\n Sensor: visibility | fields: type, qc, reading, lon\nTask: Fetch value from temperature where reading is greater than the minimum of value in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000967", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: unit, ts, lat, type\n Sensor: wind_speed | fields: reading, depth, qc, level\nTask: Retrieve depth from sunlight whose ts is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000968", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lat, ts, qc, unit\n Sensor: humidity | fields: value, unit, ts, qc\nTask: Fetch lat from temperature where unit exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000969", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lat, reading, qc, value\n Sensor: evaporation | fields: value, level, type, ts\nTask: Retrieve reading from wind_speed whose depth is found in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000970", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, lat, ts, reading\n Sensor: visibility | fields: type, value, unit, reading\nTask: Fetch depth from turbidity where depth exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "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_fixed_v1_val_000971", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, lon, unit, ts\n Sensor: sunlight | fields: ts, qc, unit, type\nTask: Fetch level from rainfall where depth exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000972", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, qc, level, lat\n Sensor: evaporation | fields: depth, value, lat, type\nTask: Get reading from sunlight where unit appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000973", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: ts, reading, unit, qc\n Sensor: sunlight | fields: reading, level, ts, lat\nTask: Get depth from air_quality where value 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=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000974", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: reading, type, unit, lat\n Sensor: sunlight | fields: unit, depth, ts, level\nTask: Get reading from dew_point where value exceeds the minimum reading from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\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": "dew_point", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000975", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: reading, ts, lon, value\n Sensor: evaporation | fields: unit, ts, lat, qc\nTask: Get level from frost where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000976", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, qc, unit, depth\n Sensor: sunlight | fields: qc, unit, depth, lat\nTask: Retrieve lon from wind_speed with depth above the MAX(reading) of sunlight 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(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000977", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, type, value, level\n Sensor: pressure | fields: lon, level, unit, lat\nTask: Get lat from evaporation where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000978", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: ts, lat, unit, lon\n Sensor: soil_moisture | fields: lat, lon, ts, depth\nTask: Fetch value from turbidity where value is greater than the maximum of depth in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000979", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, ts, depth, type\n Sensor: sunlight | fields: type, qc, depth, unit\nTask: Get depth from snow_depth where reading exceeds the average depth from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000980", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: ts, level, unit, reading\n Sensor: humidity | fields: reading, qc, ts, unit\nTask: Retrieve level from dew_point whose ts is found in humidity records where unit 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(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000981", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: type, level, lat, ts\n Sensor: pressure | fields: depth, ts, type, value\nTask: Get lat from dew_point where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000982", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, reading, ts, unit\n Sensor: turbidity | fields: value, qc, lon, lat\nTask: Fetch reading from dew_point that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000983", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: reading, lon, level, value\n Sensor: air_quality | fields: type, lon, lat, value\nTask: Fetch lon from evaporation that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000984", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, qc, reading, lon\n Sensor: snow_depth | fields: qc, value, type, lat\nTask: Fetch reading from wind_speed where qc exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000985", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, ts, depth, value\n Sensor: drought_index | fields: level, reading, type, lat\nTask: Get lon from temperature where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000986", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, reading, value, depth\n Sensor: evaporation | fields: type, unit, depth, qc\nTask: Get lon from air_quality where reading exceeds the minimum depth from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000987", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lon, unit, ts, value\n Sensor: cloud_cover | fields: value, unit, reading, qc\nTask: Get reading from visibility where a corresponding entry exists in cloud_cover with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000988", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: type, lon, unit, lat\n Sensor: sunlight | fields: value, type, reading, lat\nTask: Fetch lon from dew_point where ts exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000989", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, depth, type, reading\n Sensor: snow_depth | fields: qc, type, level, lat\nTask: Get level from turbidity where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000990", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: level, reading, lon, lat\n Sensor: dew_point | fields: ts, depth, qc, type\nTask: Retrieve value from drought_index whose depth is found in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000991", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, qc, value, unit\n Sensor: temperature | fields: depth, qc, lon, reading\nTask: Fetch reading from air_quality that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_000992", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: depth, value, unit, type\n Sensor: snow_depth | fields: lat, qc, unit, type\nTask: Fetch depth from soil_moisture where reading is greater than the total of reading in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000993", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, reading, level, ts\n Sensor: frost | fields: reading, level, lon, value\nTask: Get level from pressure where a corresponding entry exists in frost with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000994", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: type, level, value, reading\n Sensor: pressure | fields: depth, lat, unit, ts\nTask: Retrieve lon from drought_index with reading above the MIN(value) of pressure 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(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000995", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, lon, type, ts\n Sensor: drought_index | fields: lon, lat, level, unit\nTask: Retrieve depth from soil_moisture with reading above the MAX(depth) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\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": "gst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000996", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: ts, unit, depth, type\n Sensor: turbidity | fields: level, lon, lat, ts\nTask: Get lon from snow_depth where depth exceeds the count of reading from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000997", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, type, value, level\n Sensor: turbidity | fields: qc, lat, unit, depth\nTask: Get level from rainfall where value exceeds the count of reading from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000998", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: reading, level, type, lon\n Sensor: cloud_cover | fields: unit, qc, lat, ts\nTask: Retrieve level from evaporation whose ts is found in cloud_cover records where type 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=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_000999", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: qc, ts, depth, reading\n Sensor: lightning | fields: value, type, ts, lat\nTask: Get level from air_quality where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001000", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, type, reading, qc\n Sensor: dew_point | fields: lat, value, reading, lon\nTask: Retrieve reading from visibility whose qc is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001001", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: unit, reading, type, qc\n Sensor: soil_moisture | fields: lat, qc, lon, depth\nTask: Fetch lat from sunlight that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001002", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, qc, lon, ts\n Sensor: soil_moisture | fields: type, value, reading, unit\nTask: Fetch lon from frost that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001003", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: level, lon, value, type\n Sensor: visibility | fields: reading, type, depth, ts\nTask: Retrieve level from lightning that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001004", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, lat, ts, unit\n Sensor: humidity | fields: qc, level, reading, type\nTask: Get level from visibility where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001005", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: reading, value, qc, level\n Sensor: evaporation | fields: level, qc, reading, ts\nTask: Get reading from visibility where qc appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001006", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, reading, level, lat\n Sensor: visibility | fields: value, depth, lon, unit\nTask: Fetch lat from sunlight where ts exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001007", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, ts, depth, lon\n Sensor: rainfall | fields: ts, qc, lon, depth\nTask: Get level from temperature where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001008", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: unit, lat, value, reading\n Sensor: visibility | fields: value, level, depth, reading\nTask: Get depth from sunlight where value exceeds the total value from visibility for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001009", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lat, value, lon, level\n Sensor: sunlight | fields: reading, lon, unit, depth\nTask: Fetch level from snow_depth where depth exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001010", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lon, reading, ts, level\n Sensor: sunlight | fields: ts, lat, unit, reading\nTask: Fetch lon from dew_point that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001011", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, qc, ts, lat\n Sensor: soil_moisture | fields: depth, lat, type, value\nTask: Get level from humidity where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001012", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lat, value, unit, qc\n Sensor: dew_point | fields: value, lon, qc, ts\nTask: Retrieve depth from drought_index with depth above the MAX(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001013", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, unit, value, qc\n Sensor: pressure | fields: ts, lon, value, reading\nTask: Retrieve reading from cloud_cover with depth above the AVG(value) 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(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001014", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: depth, lon, level, value\n Sensor: soil_moisture | fields: reading, depth, lon, type\nTask: Fetch level from humidity where type exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001015", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, type, reading, value\n Sensor: temperature | fields: ts, level, qc, unit\nTask: Get depth from rainfall where reading exceeds the count of depth from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001016", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: depth, ts, type, unit\n Sensor: cloud_cover | fields: unit, type, qc, lon\nTask: Fetch reading from visibility that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001017", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, qc, level, value\n Sensor: turbidity | fields: value, level, type, reading\nTask: Retrieve level from soil_moisture that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001018", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, qc, level, unit\n Sensor: evaporation | fields: unit, lat, level, ts\nTask: Get level 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=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001019", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, depth, ts, level\n Sensor: rainfall | fields: level, lat, depth, ts\nTask: Retrieve depth from turbidity whose unit is found in rainfall records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "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_fixed_v1_val_001020", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, type, ts, unit\n Sensor: temperature | fields: depth, lat, unit, type\nTask: Fetch lat from cloud_cover that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001021", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: unit, type, value, level\n Sensor: air_quality | fields: qc, lat, reading, type\nTask: Get lon from frost where depth appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001022", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, lon, depth, level\n Sensor: temperature | fields: type, ts, level, value\nTask: Get lat from humidity where depth exceeds the maximum depth from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001023", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: reading, value, lon, ts\n Sensor: wind_speed | fields: depth, type, qc, reading\nTask: Fetch value from visibility where depth is greater than the total of depth in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"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": "clr", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001024", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lon, ts, depth, level\n Sensor: drought_index | fields: depth, reading, unit, type\nTask: Get reading from turbidity where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001025", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: depth, unit, lat, qc\n Sensor: dew_point | fields: qc, lat, lon, reading\nTask: Fetch depth from uv_index where value is greater than the average of reading in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001026", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: reading, lon, depth, qc\n Sensor: lightning | fields: lon, unit, reading, level\nTask: Get level from sunlight where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001027", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: ts, value, type, reading\n Sensor: turbidity | fields: ts, lat, reading, qc\nTask: Retrieve reading from drought_index with depth above the MAX(value) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001028", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, type, ts, lon\n Sensor: wind_speed | fields: depth, type, qc, reading\nTask: Fetch depth from lightning where depth exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001029", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, qc, type, reading\n Sensor: air_quality | fields: reading, unit, value, lat\nTask: Fetch lon from wind_speed where value is greater than the maximum of value in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001030", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, depth, ts, lat\n Sensor: sunlight | fields: level, ts, lon, qc\nTask: Retrieve value from frost whose unit is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001031", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, value, level, ts\n Sensor: turbidity | fields: ts, depth, qc, value\nTask: Retrieve reading from temperature with depth above the COUNT(reading) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001032", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lon, ts, unit, reading\n Sensor: rainfall | fields: reading, unit, lon, depth\nTask: Retrieve lat from sunlight with depth above the COUNT(reading) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001033", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: level, reading, type, lon\n Sensor: lightning | fields: qc, value, reading, unit\nTask: Get lat from sunlight where type appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "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_fixed_v1_val_001034", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: unit, reading, lat, type\n Sensor: uv_index | fields: ts, type, unit, lon\nTask: Get lon from soil_moisture where unit appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001035", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: reading, type, level, unit\n Sensor: pressure | fields: ts, type, value, lat\nTask: Fetch depth from humidity where reading is greater than the count of of reading in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001036", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, type, level, lon\n Sensor: humidity | fields: value, ts, depth, type\nTask: Retrieve value from dew_point that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001037", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: reading, unit, lon, qc\n Sensor: cloud_cover | fields: ts, value, lat, depth\nTask: Fetch lon from pressure where depth is greater than the average of reading in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001038", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, lat, type, lon\n Sensor: frost | fields: unit, value, qc, depth\nTask: Fetch lat from visibility that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001039", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: ts, level, value, depth\n Sensor: sunlight | fields: level, value, lat, qc\nTask: Get reading from turbidity where ts appears in sunlight readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001040", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: qc, reading, ts, type\n Sensor: frost | fields: lat, type, reading, level\nTask: Get lat from pressure where qc appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001041", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: unit, level, qc, depth\n Sensor: visibility | fields: lon, ts, lat, qc\nTask: Fetch value from sunlight where ts exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001042", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: depth, reading, lat, ts\n Sensor: snow_depth | fields: reading, ts, type, lat\nTask: Retrieve lon from frost with value above the MAX(depth) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "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_fixed_v1_val_001043", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lat, depth, unit, lon\n Sensor: humidity | fields: lat, qc, depth, type\nTask: Fetch reading from sunlight that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001044", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, ts, unit, reading\n Sensor: temperature | fields: depth, type, ts, reading\nTask: Get depth from dew_point where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001045", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, lat, unit, ts\n Sensor: rainfall | fields: qc, depth, value, lat\nTask: Retrieve level from pressure whose qc is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001046", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: unit, lat, depth, qc\n Sensor: pressure | fields: value, lon, qc, level\nTask: Fetch lon from snow_depth where depth exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001047", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: value, reading, lon, ts\n Sensor: air_quality | fields: type, lon, qc, level\nTask: Get depth from rainfall where reading exceeds the average reading from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001048", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, level, reading, lon\n Sensor: temperature | fields: depth, lon, ts, type\nTask: Fetch value from cloud_cover where depth is greater than the minimum of depth in temperature 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(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001049", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: type, depth, ts, lat\n Sensor: lightning | fields: type, value, qc, reading\nTask: Fetch lon from wind_speed where depth exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001050", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: depth, qc, value, ts\n Sensor: air_quality | fields: type, level, depth, value\nTask: Retrieve reading 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=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001051", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: value, unit, ts, qc\n Sensor: drought_index | fields: level, lat, value, unit\nTask: Get lon from humidity where depth appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "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_fixed_v1_val_001052", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, lon, ts, value\n Sensor: rainfall | fields: qc, reading, value, lat\nTask: Get level from turbidity where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001053", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, reading, type, level\n Sensor: pressure | fields: qc, value, type, level\nTask: Fetch reading from temperature where reading is greater than the count of of reading in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001054", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, value, depth, level\n Sensor: rainfall | fields: qc, lat, ts, reading\nTask: Fetch reading from evaporation where reading is greater than the maximum of value in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001055", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: ts, reading, lon, depth\n Sensor: drought_index | fields: level, depth, ts, lat\nTask: Get value from rainfall where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001056", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: type, level, depth, lat\n Sensor: humidity | fields: qc, lon, unit, type\nTask: Retrieve depth from rainfall with depth above the MIN(reading) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001057", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, type, unit, ts\n Sensor: dew_point | fields: unit, lon, reading, ts\nTask: Fetch lat from soil_moisture where value is greater than the count of of reading in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001058", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, depth, level, ts\n Sensor: visibility | fields: ts, depth, reading, level\nTask: Fetch reading from temperature where ts exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001059", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lon, ts, lat, type\n Sensor: humidity | fields: ts, type, depth, value\nTask: Get value from evaporation where unit appears in humidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001060", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, ts, type, unit\n Sensor: evaporation | fields: unit, reading, lon, level\nTask: Fetch depth from snow_depth where ts exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001061", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: qc, lat, ts, level\n Sensor: turbidity | fields: unit, type, depth, value\nTask: Get value from snow_depth where depth appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001062", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lat, lon, depth, value\n Sensor: sunlight | fields: lat, level, ts, depth\nTask: Retrieve value from temperature with value above the COUNT(value) of sunlight readings sharing 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(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001063", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: value, unit, reading, lat\n Sensor: turbidity | fields: lat, ts, reading, type\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=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001064", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: level, lat, reading, depth\n Sensor: air_quality | fields: unit, qc, lon, reading\nTask: Retrieve value from soil_moisture whose ts is found in air_quality records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001065", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, lat, depth, qc\n Sensor: visibility | fields: type, qc, level, reading\nTask: Fetch lat from turbidity that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001066", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, reading, value, lat\n Sensor: wind_speed | fields: unit, qc, level, lat\nTask: Retrieve value from drought_index whose qc is found in wind_speed records where type 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(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "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_fixed_v1_val_001067", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: level, ts, lon, depth\n Sensor: turbidity | fields: depth, reading, value, ts\nTask: Fetch depth from pressure where depth exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001068", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: ts, lat, unit, qc\n Sensor: turbidity | fields: level, reading, unit, type\nTask: Get reading from pressure where type appears in turbidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001069", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: depth, value, qc, lon\n Sensor: frost | fields: depth, unit, lat, qc\nTask: Retrieve reading from sunlight with value above the COUNT(reading) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001070", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, ts, value, qc\n Sensor: evaporation | fields: type, qc, value, level\nTask: Get level from lightning where depth appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001071", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: qc, value, ts, depth\n Sensor: dew_point | fields: ts, qc, lat, unit\nTask: Fetch depth from turbidity that have at least one corresponding dew_point measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001072", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: value, unit, lat, depth\n Sensor: snow_depth | fields: lat, depth, type, qc\nTask: Get lon from turbidity where ts appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001073", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: unit, ts, lon, reading\n Sensor: dew_point | fields: depth, unit, type, level\nTask: Fetch depth from lightning where value is greater than the count of of reading in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001074", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: reading, type, lat, value\n Sensor: temperature | fields: ts, qc, depth, unit\nTask: Get value from air_quality where depth exceeds the maximum reading from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001075", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, level, lon, type\n Sensor: evaporation | fields: depth, lon, reading, ts\nTask: Get lon from cloud_cover where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001076", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, level, unit, reading\n Sensor: evaporation | fields: ts, reading, value, qc\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=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001077", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: unit, qc, type, depth\n Sensor: uv_index | fields: reading, depth, value, level\nTask: Get lat from wind_speed where value exceeds the average reading from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001078", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, depth, type, level\n Sensor: cloud_cover | fields: value, ts, level, reading\nTask: Fetch lat from dew_point where depth is greater than the average of depth in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "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_fixed_v1_val_001079", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: ts, unit, lat, value\n Sensor: soil_moisture | fields: lat, ts, level, reading\nTask: Retrieve level from pressure whose depth is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001080", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, lat, level, value\n Sensor: lightning | fields: value, reading, unit, lon\nTask: Get lat from air_quality where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001081", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, ts, type, depth\n Sensor: frost | fields: lat, qc, value, type\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_fixed_v1_val_001082", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: level, type, unit, depth\n Sensor: humidity | fields: qc, level, lat, unit\nTask: Get lon from rainfall where ts appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001083", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, depth, type, unit\n Sensor: drought_index | fields: type, reading, lon, value\nTask: Retrieve lat from uv_index with value above the COUNT(value) of drought_index 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(\"COUNT\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001084", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: ts, unit, lat, value\n Sensor: evaporation | fields: unit, type, ts, reading\nTask: Get lon from uv_index where depth appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001085", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, ts, lon, level\n Sensor: temperature | fields: lat, level, lon, type\nTask: Get lon from evaporation where depth appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001086", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: type, lon, value, unit\n Sensor: lightning | fields: value, reading, unit, lon\nTask: Fetch level from turbidity where value is greater than the total of value in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001087", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: qc, type, depth, ts\n Sensor: uv_index | fields: depth, unit, value, qc\nTask: Fetch depth from dew_point where reading is greater than the total of depth in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001088", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: level, value, depth, unit\n Sensor: cloud_cover | fields: qc, ts, depth, value\nTask: Fetch value from visibility that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001089", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, qc, lon, reading\n Sensor: temperature | fields: lat, ts, type, qc\nTask: Fetch value from visibility that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001090", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: depth, qc, unit, level\n Sensor: frost | fields: depth, ts, lat, lon\nTask: Retrieve depth from dew_point that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001091", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: level, qc, value, ts\n Sensor: sunlight | fields: unit, lon, qc, lat\nTask: Get value from rainfall where value exceeds the minimum reading from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001092", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: level, qc, type, value\n Sensor: pressure | fields: type, qc, reading, level\nTask: Retrieve value 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=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001093", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, level, depth, qc\n Sensor: turbidity | fields: qc, ts, lon, unit\nTask: Retrieve reading from temperature whose type is found in turbidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001094", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: depth, qc, reading, ts\n Sensor: uv_index | fields: ts, lon, unit, qc\nTask: Retrieve lon from humidity that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001095", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: reading, type, ts, qc\n Sensor: air_quality | fields: depth, lat, qc, ts\nTask: Fetch level from cloud_cover where reading is greater than the total of value in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001096", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: reading, ts, depth, lon\n Sensor: cloud_cover | fields: ts, value, depth, unit\nTask: Fetch lon from air_quality where ts exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001097", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: qc, value, ts, lon\n Sensor: temperature | fields: depth, level, value, unit\nTask: Get value from soil_moisture where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001098", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: ts, value, qc, level\n Sensor: sunlight | fields: lon, unit, qc, value\nTask: Retrieve lat from dew_point that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001099", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: ts, lon, lat, qc\n Sensor: dew_point | fields: qc, reading, lat, ts\nTask: Get level from snow_depth where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001100", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, depth, lon, type\n Sensor: lightning | fields: lat, level, value, unit\nTask: Retrieve reading from snow_depth whose type is found in lightning records where unit 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(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001101", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: ts, value, type, lat\n Sensor: cloud_cover | fields: reading, depth, unit, qc\nTask: Retrieve reading 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=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001102", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: unit, level, depth, qc\n Sensor: rainfall | fields: level, lon, reading, qc\nTask: Get depth from cloud_cover where unit appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001103", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: reading, ts, depth, lat\n Sensor: soil_moisture | fields: ts, level, qc, depth\nTask: Fetch lat from pressure where ts exists in soil_moisture sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001104", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: ts, qc, lon, unit\n Sensor: rainfall | fields: reading, unit, level, qc\nTask: Fetch lat 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=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001105", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, lon, depth, reading\n Sensor: uv_index | fields: unit, value, depth, lat\nTask: Get lon 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=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001106", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, qc, unit, value\n Sensor: soil_moisture | fields: qc, type, reading, value\nTask: Retrieve depth from turbidity whose unit is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001107", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: qc, ts, value, unit\n Sensor: rainfall | fields: lon, lat, depth, type\nTask: Get level from evaporation where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001108", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, type, unit, reading\n Sensor: snow_depth | fields: depth, reading, qc, type\nTask: Fetch value from uv_index that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001109", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, unit, reading, lon\n Sensor: lightning | fields: type, ts, reading, lon\nTask: Get lat from soil_moisture where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001110", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, level, reading, type\n Sensor: humidity | fields: reading, unit, depth, lat\nTask: Retrieve lon from cloud_cover that have at least one matching reading in humidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001111", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, type, depth, reading\n Sensor: drought_index | fields: unit, lat, ts, depth\nTask: Fetch level from snow_depth that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001112", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: type, reading, depth, lon\n Sensor: wind_speed | fields: lat, lon, value, level\nTask: Fetch reading from lightning where depth exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001113", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: depth, level, reading, qc\n Sensor: uv_index | fields: lat, level, reading, ts\nTask: Fetch lon from turbidity where type exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001114", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: ts, lon, unit, depth\n Sensor: dew_point | fields: level, reading, ts, type\nTask: Get level from lightning where a corresponding entry exists in dew_point with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001115", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: reading, lat, ts, type\n Sensor: visibility | fields: value, level, reading, depth\nTask: Get level from cloud_cover where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001116", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: value, type, qc, unit\n Sensor: sunlight | fields: qc, lat, value, depth\nTask: Fetch lon from lightning where unit exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001117", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: value, type, lat, unit\n Sensor: drought_index | fields: unit, lat, ts, type\nTask: Get value from humidity where qc appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001118", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, lat, ts, depth\n Sensor: evaporation | fields: qc, type, depth, level\nTask: Get reading from snow_depth where value exceeds the average reading from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001119", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, ts, type, unit\n Sensor: visibility | fields: value, lat, unit, ts\nTask: Fetch level 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=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001120", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lat, ts, type, value\n Sensor: snow_depth | fields: unit, value, lon, level\nTask: Fetch lon from dew_point where type exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001121", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, qc, value, ts\n Sensor: sunlight | fields: lon, type, value, reading\nTask: Retrieve lon from evaporation that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001122", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, level, reading, depth\n Sensor: evaporation | fields: lon, level, value, depth\nTask: Fetch reading from visibility that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001123", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: reading, value, ts, unit\n Sensor: wind_speed | fields: ts, reading, lat, lon\nTask: Retrieve lon from rainfall whose unit is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001124", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, lat, depth, unit\n Sensor: lightning | fields: ts, level, unit, value\nTask: Fetch depth from humidity where reading is greater than the maximum of depth in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001125", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, reading, lon, lat\n Sensor: snow_depth | fields: qc, lon, depth, lat\nTask: Get lat from drought_index where ts appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001126", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, depth, qc, lon\n Sensor: rainfall | fields: lon, value, lat, reading\nTask: Fetch lon from cloud_cover where value is greater than the count of of value in rainfall for matching unit.\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(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001127", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: unit, ts, qc, type\n Sensor: drought_index | fields: lat, level, value, lon\nTask: Get lat from snow_depth where reading exceeds the count of depth from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001128", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lon, ts, unit, level\n Sensor: humidity | fields: type, reading, unit, depth\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=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001129", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lat, ts, value, qc\n Sensor: wind_speed | fields: depth, unit, level, lat\nTask: Retrieve level from cloud_cover that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001130", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: reading, depth, level, lat\n Sensor: sunlight | fields: reading, level, depth, type\nTask: Fetch reading from cloud_cover that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001131", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: level, ts, type, value\n Sensor: evaporation | fields: unit, qc, lat, ts\nTask: Get lon from frost where depth exceeds the total depth from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001132", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, ts, unit, qc\n Sensor: lightning | fields: ts, lat, depth, level\nTask: Fetch depth from air_quality where value is greater than the minimum of depth in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001133", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: ts, lon, depth, reading\n Sensor: snow_depth | fields: type, unit, reading, ts\nTask: Retrieve reading from cloud_cover that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001134", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, ts, lat, reading\n Sensor: rainfall | fields: type, lon, qc, ts\nTask: Get value from snow_depth where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001135", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, unit, depth, reading\n Sensor: uv_index | fields: unit, qc, lon, ts\nTask: Get value from lightning where depth appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001136", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, ts, type, qc\n Sensor: pressure | fields: lon, unit, level, depth\nTask: Fetch depth from air_quality where qc exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "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_fixed_v1_val_001137", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, value, qc, lat\n Sensor: humidity | fields: lon, qc, level, value\nTask: Retrieve value from visibility with reading above the MAX(value) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001138", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: ts, value, depth, level\n Sensor: visibility | fields: level, lat, depth, lon\nTask: Fetch level from drought_index where depth is greater than the maximum of value in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001139", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: type, depth, level, reading\n Sensor: air_quality | fields: lon, qc, reading, lat\nTask: Retrieve lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001140", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: level, depth, lat, type\n Sensor: frost | fields: reading, qc, value, unit\nTask: Fetch level from snow_depth where qc exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001141", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: ts, qc, depth, lon\n Sensor: wind_speed | fields: reading, value, lat, type\nTask: Retrieve depth from rainfall that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001142", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: type, ts, reading, level\n Sensor: dew_point | fields: depth, level, type, lat\nTask: Get depth from turbidity where value exceeds the maximum depth from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001143", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, type, lon, qc\n Sensor: temperature | fields: value, lon, level, depth\nTask: Get lon from frost where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001144", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: qc, reading, level, lon\n Sensor: humidity | fields: unit, value, type, qc\nTask: Retrieve level from frost with value above the COUNT(depth) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001145", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: ts, unit, qc, level\n Sensor: cloud_cover | fields: lat, level, lon, depth\nTask: Get depth from pressure where type appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "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_fixed_v1_val_001146", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: reading, lat, depth, qc\n Sensor: frost | fields: reading, lon, value, level\nTask: Get reading from air_quality where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001147", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: ts, reading, value, unit\n Sensor: visibility | fields: reading, lon, qc, level\nTask: Get reading from dew_point where depth exceeds the total depth from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "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_fixed_v1_val_001148", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, value, depth, lat\n Sensor: uv_index | fields: unit, qc, type, value\nTask: Fetch lon from rainfall where reading is greater than the minimum of reading in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "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_fixed_v1_val_001149", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: reading, type, unit, ts\n Sensor: cloud_cover | fields: lat, level, lon, unit\nTask: Retrieve lon from air_quality that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001150", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: unit, value, qc, lat\n Sensor: rainfall | fields: value, ts, reading, depth\nTask: Get level from air_quality where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001151", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, type, depth, level\n Sensor: turbidity | fields: type, unit, value, qc\nTask: Retrieve lat from visibility whose depth is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001152", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: ts, lon, qc, type\n Sensor: snow_depth | fields: qc, level, ts, value\nTask: Get depth from sunlight where reading exceeds the average depth from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "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_fixed_v1_val_001153", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, type, unit, value\n Sensor: evaporation | fields: lat, unit, lon, qc\nTask: Retrieve depth from sunlight whose type is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "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_fixed_v1_val_001154", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, lat, lon, depth\n Sensor: temperature | fields: type, lon, ts, level\nTask: Get lat from soil_moisture where unit appears in temperature 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(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001155", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, lat, lon, type\n Sensor: turbidity | fields: depth, unit, qc, reading\nTask: Get reading from dew_point where reading exceeds the count of reading from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001156", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, type, lat, depth\n Sensor: cloud_cover | fields: type, unit, value, depth\nTask: Retrieve lon from air_quality with depth above the MIN(depth) of cloud_cover readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001157", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: value, ts, qc, depth\n Sensor: air_quality | fields: lon, reading, depth, value\nTask: Get reading from rainfall where value exceeds the count of value from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001158", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: reading, unit, value, ts\n Sensor: humidity | fields: depth, type, reading, ts\nTask: Get depth from soil_moisture where unit appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001159", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, depth, value, unit\n Sensor: evaporation | fields: type, lon, lat, qc\nTask: Get value from soil_moisture where depth exceeds the minimum depth from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001160", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, unit, value, qc\n Sensor: frost | fields: type, qc, lat, reading\nTask: Fetch value from evaporation where qc exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001161", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, value, ts, lat\n Sensor: visibility | fields: depth, lon, ts, level\nTask: Retrieve value 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=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001162", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: level, unit, value, type\n Sensor: humidity | fields: reading, depth, qc, level\nTask: Fetch reading from temperature where value is greater than the total of depth in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001163", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: ts, depth, value, lat\n Sensor: temperature | fields: ts, qc, reading, type\nTask: Fetch depth from dew_point where type exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001164", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lon, ts, lat, qc\n Sensor: sunlight | fields: value, ts, type, unit\nTask: Get reading from temperature where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001165", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, type, lat, value\n Sensor: visibility | fields: type, level, lon, ts\nTask: Retrieve level from humidity with value above the SUM(depth) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001166", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, level, reading, lat\n Sensor: dew_point | fields: lon, type, value, qc\nTask: Retrieve value 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=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "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_fixed_v1_val_001167", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, depth, lon, ts\n Sensor: turbidity | fields: reading, ts, lon, type\nTask: Fetch reading from cloud_cover where value is greater than the minimum of value in turbidity for matching 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(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "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_fixed_v1_val_001168", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, unit, depth, lon\n Sensor: air_quality | fields: level, reading, ts, depth\nTask: Fetch lat from dew_point where type exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001169", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, level, lon, unit\n Sensor: lightning | fields: depth, ts, type, qc\nTask: Fetch level from sunlight that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "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_fixed_v1_val_001170", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: value, depth, unit, reading\n Sensor: evaporation | fields: ts, reading, qc, lon\nTask: Retrieve depth from dew_point whose ts is found in evaporation records where type 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(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001171", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: type, level, reading, ts\n Sensor: frost | fields: level, lon, type, value\nTask: Fetch lat from evaporation where unit exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001172", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: unit, lat, qc, type\n Sensor: turbidity | fields: lat, ts, level, type\nTask: Get reading from soil_moisture where value exceeds the total value from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "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_fixed_v1_val_001173", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: qc, depth, type, lon\n Sensor: turbidity | fields: qc, ts, unit, lat\nTask: Fetch reading from frost where unit exists in turbidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001174", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: type, lat, level, unit\n Sensor: humidity | fields: reading, unit, lat, depth\nTask: Fetch reading from cloud_cover where value is greater than the maximum of value in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "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_fixed_v1_val_001175", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: ts, value, type, lon\n Sensor: drought_index | fields: lat, qc, ts, reading\nTask: Get reading from frost where reading exceeds the maximum depth from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001176", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: level, type, qc, reading\n Sensor: temperature | fields: ts, value, lat, type\nTask: Get value from uv_index where depth appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001177", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: level, type, lon, reading\n Sensor: soil_moisture | fields: qc, type, level, depth\nTask: Fetch lon from frost where value is greater than the count of of reading in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001178", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lon, depth, qc, level\n Sensor: rainfall | fields: unit, lon, qc, ts\nTask: Get lon from uv_index where qc appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001179", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: value, lat, qc, unit\n Sensor: temperature | fields: qc, reading, type, depth\nTask: Fetch value from lightning that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001180", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: ts, lat, qc, reading\n Sensor: turbidity | fields: value, ts, type, depth\nTask: Fetch level from lightning that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001181", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, qc, level, ts\n Sensor: visibility | fields: value, level, qc, lon\nTask: Fetch value from temperature where type exists in visibility 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(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001182", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lon, reading, level, unit\n Sensor: drought_index | fields: lat, value, lon, depth\nTask: Fetch value from rainfall that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001183", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, qc, lon, level\n Sensor: sunlight | fields: level, qc, ts, value\nTask: Get reading from air_quality where type appears in sunlight readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001184", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: value, type, qc, lat\n Sensor: soil_moisture | fields: lat, ts, depth, type\nTask: Get lat from humidity where reading exceeds the maximum value from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001185", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: qc, lat, type, depth\n Sensor: pressure | fields: reading, type, level, value\nTask: Get level from rainfall where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001186", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: lat, ts, lon, reading\n Sensor: visibility | fields: level, type, depth, reading\nTask: Get depth from drought_index where reading exceeds the minimum value from visibility for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001187", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, ts, value, level\n Sensor: dew_point | fields: unit, level, reading, ts\nTask: Retrieve depth from snow_depth whose ts is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001188", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: level, ts, unit, lon\n Sensor: visibility | fields: level, value, ts, depth\nTask: Retrieve level from pressure with value above the COUNT(value) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001189", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: qc, type, level, lat\n Sensor: cloud_cover | fields: value, level, type, lon\nTask: Get value from evaporation where depth exceeds the count of depth from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001190", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, value, unit, qc\n Sensor: uv_index | fields: level, reading, depth, ts\nTask: Retrieve depth from humidity with reading above the SUM(depth) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001191", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, ts, reading, value\n Sensor: temperature | fields: lon, value, reading, ts\nTask: Fetch level from dew_point where ts exists in temperature sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001192", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: qc, level, reading, lat\n Sensor: rainfall | fields: lon, reading, unit, value\nTask: Retrieve value from snow_depth whose qc is found in rainfall records where type 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(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001193", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: value, unit, reading, type\n Sensor: frost | fields: value, lat, ts, qc\nTask: Get depth from snow_depth where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001194", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: type, lon, qc, value\n Sensor: air_quality | fields: lat, reading, lon, level\nTask: Get depth from dew_point where reading exceeds the maximum value from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001195", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lon, qc, unit, type\n Sensor: uv_index | fields: type, depth, level, unit\nTask: Retrieve level from air_quality whose type is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "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_fixed_v1_val_001196", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: value, reading, lon, ts\n Sensor: rainfall | fields: qc, unit, ts, level\nTask: Fetch depth from visibility where reading is greater than the maximum of depth in rainfall for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001197", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: type, ts, qc, reading\n Sensor: uv_index | fields: lat, unit, type, value\nTask: Fetch reading from pressure where depth exists in uv_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\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": "pressure", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001198", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, qc, lon, value\n Sensor: frost | fields: qc, lon, unit, ts\nTask: Retrieve depth from rainfall that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001199", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, lat, type, unit\n Sensor: turbidity | fields: unit, lat, ts, reading\nTask: Get depth from temperature where reading exceeds the minimum value from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001200", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lat, value, depth, type\n Sensor: air_quality | fields: level, type, ts, unit\nTask: Get lon from cloud_cover where type appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "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_fixed_v1_val_001201", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: reading, level, lon, depth\n Sensor: air_quality | fields: lon, value, qc, type\nTask: Retrieve depth from temperature with reading above the MAX(reading) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001202", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: depth, value, lon, level\n Sensor: cloud_cover | fields: reading, lon, type, value\nTask: Retrieve reading 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=\"hub\"),\n filter=has_match(\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": "hub", "inner_alias": "nbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001203", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, qc, reading, unit\n Sensor: dew_point | fields: qc, depth, lat, type\nTask: Retrieve level from soil_moisture with depth above the AVG(depth) of dew_point readings sharing the same ts.\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(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001204", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, qc, type, ts\n Sensor: sunlight | fields: qc, lat, depth, ts\nTask: Get reading from turbidity where reading exceeds the average reading from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001205", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, lon, reading, lat\n Sensor: soil_moisture | fields: lon, reading, depth, lat\nTask: Fetch lat from frost where unit exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001206", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lat, type, value, ts\n Sensor: frost | fields: reading, level, value, qc\nTask: Get depth from pressure where depth appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001207", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: level, value, reading, type\n Sensor: visibility | fields: unit, lon, reading, ts\nTask: Get lon from soil_moisture where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001208", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: qc, lon, value, lat\n Sensor: humidity | fields: level, reading, type, qc\nTask: Get lon from rainfall where reading exceeds the minimum depth from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001209", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: value, ts, unit, lat\n Sensor: frost | fields: value, ts, qc, level\nTask: Fetch reading from evaporation where reading is greater than the count of of value in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001210", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: reading, qc, ts, lon\n Sensor: temperature | fields: ts, value, unit, qc\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=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001211", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, reading, level, lon\n Sensor: cloud_cover | fields: level, value, reading, lat\nTask: Fetch lat from rainfall where depth is greater than the average of value in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001212", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, lon, unit, lat\n Sensor: turbidity | fields: ts, lat, level, reading\nTask: Retrieve reading from dew_point with value above the COUNT(reading) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001213", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, unit, qc, type\n Sensor: frost | fields: lon, lat, type, value\nTask: Get reading from visibility where value exceeds the average reading from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001214", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, level, reading, ts\n Sensor: dew_point | fields: value, ts, lon, unit\nTask: Get depth from turbidity where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001215", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, ts, lat, lon\n Sensor: sunlight | fields: qc, value, ts, type\nTask: Get lon from air_quality where unit appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001216", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, qc, value, level\n Sensor: soil_moisture | fields: lat, value, qc, unit\nTask: Fetch level from visibility that have at least one corresponding soil_moisture measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001217", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: type, value, reading, lat\n Sensor: frost | fields: ts, lat, type, qc\nTask: Fetch depth from humidity where ts exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001218", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, unit, lon, level\n Sensor: frost | fields: qc, reading, value, depth\nTask: Get value from drought_index where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001219", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lat, type, reading, value\n Sensor: pressure | fields: ts, level, type, lat\nTask: Fetch value from evaporation that have at least one corresponding pressure measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001220", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: value, depth, type, lon\n Sensor: evaporation | fields: unit, ts, lat, value\nTask: Get depth from frost where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001221", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: qc, ts, value, depth\n Sensor: snow_depth | fields: lon, ts, type, unit\nTask: Get lon from wind_speed where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001222", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: ts, lon, level, value\n Sensor: evaporation | fields: ts, unit, qc, level\nTask: Fetch reading from rainfall where depth exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "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_fixed_v1_val_001223", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lon, depth, qc, ts\n Sensor: cloud_cover | fields: level, type, value, qc\nTask: Retrieve level from snow_depth that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001224", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, lon, depth, value\n Sensor: lightning | fields: type, level, reading, unit\nTask: Retrieve reading from evaporation with depth above the MIN(reading) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001225", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lon, depth, qc, unit\n Sensor: drought_index | fields: reading, depth, unit, ts\nTask: Fetch lon from pressure where reading is greater than the average of reading in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001226", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, type, reading, value\n Sensor: drought_index | fields: lon, ts, level, reading\nTask: Retrieve depth from frost whose depth is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001227", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, reading, unit, depth\n Sensor: pressure | fields: qc, unit, ts, level\nTask: Retrieve lat from cloud_cover whose ts is found in pressure records where qc 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(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001228", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: ts, lat, type, unit\n Sensor: visibility | fields: qc, ts, lat, value\nTask: Get lat from wind_speed where depth exceeds the total value from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001229", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: qc, ts, lat, type\n Sensor: visibility | fields: depth, type, lon, value\nTask: Retrieve depth from air_quality with value above the SUM(depth) 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(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001230", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, ts, reading, qc\n Sensor: visibility | fields: qc, reading, level, unit\nTask: Fetch value from frost where depth exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001231", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: level, lat, depth, reading\n Sensor: uv_index | fields: qc, level, lon, lat\nTask: Fetch value from frost where value is greater than the minimum of depth in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001232", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: type, lat, depth, reading\n Sensor: air_quality | fields: ts, unit, lat, value\nTask: Get reading from frost where value exceeds the average depth from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001233", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, depth, lon, reading\n Sensor: air_quality | fields: ts, qc, value, reading\nTask: Fetch level from lightning where value is greater than the count of of value in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001234", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: type, lon, value, level\n Sensor: dew_point | fields: lat, value, type, qc\nTask: Get lon from wind_speed where type appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\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": "prt", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001235", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: ts, lat, depth, qc\n Sensor: humidity | fields: reading, depth, value, qc\nTask: Get depth from air_quality where reading exceeds the count of reading from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001236", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, type, reading, lat\n Sensor: snow_depth | fields: lon, qc, unit, type\nTask: Retrieve level from visibility that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001237", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lat, reading, depth, ts\n Sensor: air_quality | fields: reading, type, level, lon\nTask: Retrieve level from uv_index that have at least one matching reading in air_quality sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001238", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: qc, lon, depth, lat\n Sensor: snow_depth | fields: level, ts, lon, unit\nTask: Fetch value from sunlight where ts exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001239", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: level, value, reading, depth\n Sensor: wind_speed | fields: ts, value, lon, lat\nTask: Fetch depth from soil_moisture that have at least one corresponding wind_speed measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001240", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: level, qc, unit, value\n Sensor: turbidity | fields: type, ts, value, reading\nTask: Fetch lon from frost where depth is greater than the average of depth in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001241", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, ts, level, reading\n Sensor: uv_index | fields: lat, lon, unit, level\nTask: Fetch depth 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=\"flx\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "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_fixed_v1_val_001242", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, qc, ts, unit\n Sensor: wind_speed | fields: level, unit, value, ts\nTask: Get reading from pressure where unit appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001243", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: reading, qc, value, ts\n Sensor: drought_index | fields: unit, value, lon, qc\nTask: Get reading from lightning where ts appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001244", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lat, type, unit, depth\n Sensor: snow_depth | fields: depth, reading, ts, level\nTask: Fetch lat from temperature where unit exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001245", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: qc, level, unit, ts\n Sensor: frost | fields: lon, ts, qc, lat\nTask: Get level from pressure where a corresponding entry exists in frost with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001246", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, type, depth, lat\n Sensor: drought_index | fields: reading, type, lon, ts\nTask: Fetch level from rainfall where depth is greater than the minimum of value in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001247", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, reading, ts, depth\n Sensor: wind_speed | fields: level, ts, type, qc\nTask: Retrieve reading from cloud_cover that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001248", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lon, depth, value, unit\n Sensor: temperature | fields: ts, qc, unit, level\nTask: Fetch reading from humidity that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001249", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: ts, lon, value, reading\n Sensor: frost | fields: lat, lon, type, qc\nTask: Retrieve reading from evaporation whose depth is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001250", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: type, ts, unit, level\n Sensor: soil_moisture | fields: lon, level, unit, type\nTask: Get level from wind_speed where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001251", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, type, lon, lat\n Sensor: pressure | fields: lat, depth, lon, reading\nTask: Get reading from drought_index where value exceeds the total reading from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001252", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, lat, level, reading\n Sensor: uv_index | fields: ts, type, lat, reading\nTask: Fetch lat from frost where unit exists in uv_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "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_fixed_v1_val_001253", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: qc, depth, lat, level\n Sensor: snow_depth | fields: reading, value, qc, ts\nTask: Fetch depth from pressure that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001254", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: level, reading, value, unit\n Sensor: turbidity | fields: type, qc, reading, depth\nTask: Retrieve lat from rainfall that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001255", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: ts, lon, unit, qc\n Sensor: turbidity | fields: lon, qc, lat, ts\nTask: Get reading 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=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001256", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, type, unit, qc\n Sensor: drought_index | fields: level, ts, type, lat\nTask: Fetch lon from dew_point that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001257", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: depth, level, reading, unit\n Sensor: drought_index | fields: type, qc, lon, ts\nTask: Get level from pressure where reading exceeds the total value from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001258", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: value, reading, ts, unit\n Sensor: snow_depth | fields: lat, lon, level, qc\nTask: Get value from rainfall where unit appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001259", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: type, value, lon, level\n Sensor: humidity | fields: lon, level, unit, reading\nTask: Get lon from wind_speed where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001260", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: reading, lat, qc, value\n Sensor: visibility | fields: lat, level, depth, type\nTask: Fetch lat from frost where qc exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001261", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: depth, qc, value, type\n Sensor: pressure | fields: qc, value, lon, unit\nTask: Fetch level from turbidity that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001262", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, qc, level, reading\n Sensor: cloud_cover | fields: unit, level, ts, value\nTask: Get level from pressure where reading exceeds the average reading from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001263", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: qc, ts, reading, unit\n Sensor: air_quality | fields: lon, value, qc, unit\nTask: Retrieve reading from drought_index whose qc is found in air_quality records where ts 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(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001264", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: unit, lon, type, qc\n Sensor: snow_depth | fields: lon, type, lat, ts\nTask: Retrieve value from soil_moisture that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001265", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: level, qc, lat, value\n Sensor: dew_point | fields: depth, lon, unit, type\nTask: Retrieve reading from snow_depth whose qc is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001266", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: value, type, level, reading\n Sensor: frost | fields: type, value, depth, reading\nTask: Get lon from sunlight where reading exceeds the minimum reading from frost 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(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001267", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: depth, value, lat, type\n Sensor: uv_index | fields: unit, depth, value, lat\nTask: Retrieve level 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=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001268", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: type, reading, level, depth\n Sensor: dew_point | fields: reading, lat, level, ts\nTask: Fetch lat from visibility that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001269", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: reading, depth, lat, type\n Sensor: wind_speed | fields: qc, type, ts, reading\nTask: Fetch reading from visibility that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001270", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: ts, reading, lon, value\n Sensor: snow_depth | fields: level, lon, value, lat\nTask: Get depth from visibility where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001271", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: value, lon, level, qc\n Sensor: evaporation | fields: qc, value, reading, level\nTask: Get reading from lightning where value exceeds the count of depth from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001272", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lat, type, level, lon\n Sensor: rainfall | fields: type, reading, qc, level\nTask: Fetch lat from humidity where qc exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001273", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: depth, unit, value, level\n Sensor: sunlight | fields: depth, qc, lat, lon\nTask: Retrieve lat from temperature that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001274", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, value, depth, lat\n Sensor: visibility | fields: reading, value, qc, type\nTask: Get lat from frost where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001275", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, depth, qc, lat\n Sensor: temperature | fields: depth, qc, reading, lat\nTask: Get lon from air_quality where reading exceeds the minimum value from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001276", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lon, value, ts, type\n Sensor: evaporation | fields: qc, level, lon, unit\nTask: Fetch lon from snow_depth where depth is greater than the maximum of reading in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001277", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: depth, type, qc, reading\n Sensor: cloud_cover | fields: level, depth, value, reading\nTask: Retrieve depth 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=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001278", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lat, level, reading, depth\n Sensor: frost | fields: lat, type, qc, depth\nTask: Get level from snow_depth where reading exceeds the minimum value from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001279", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: type, level, depth, reading\n Sensor: uv_index | fields: type, ts, unit, lon\nTask: Fetch lat from drought_index where value is greater than the total of reading in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001280", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: level, value, type, depth\n Sensor: humidity | fields: unit, value, qc, lat\nTask: Retrieve depth from temperature that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001281", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lat, level, depth, lon\n Sensor: turbidity | fields: ts, qc, type, reading\nTask: Get lon from air_quality where qc appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001282", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, lat, value, ts\n Sensor: snow_depth | fields: level, lon, ts, reading\nTask: Get reading from cloud_cover where type appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "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_fixed_v1_val_001283", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: depth, qc, type, reading\n Sensor: uv_index | fields: type, lat, ts, qc\nTask: Retrieve level from cloud_cover whose type is found in uv_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=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001284", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, type, reading, value\n Sensor: humidity | fields: ts, type, depth, unit\nTask: Fetch lon from cloud_cover where depth exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001285", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lon, reading, value, depth\n Sensor: rainfall | fields: lon, level, ts, value\nTask: Get lat from dew_point where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001286", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: unit, level, value, lon\n Sensor: drought_index | fields: value, type, reading, unit\nTask: Retrieve value from temperature whose qc is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001287", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: type, depth, unit, qc\n Sensor: uv_index | fields: qc, lat, level, unit\nTask: Retrieve depth from soil_moisture with depth above the MAX(value) of uv_index 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(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001288", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, level, type, qc\n Sensor: evaporation | fields: type, lon, value, level\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=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001289", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, lat, value, ts\n Sensor: humidity | fields: reading, value, type, lat\nTask: Retrieve lon from air_quality whose unit is found in humidity records where qc 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(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001290", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, type, lon, ts\n Sensor: visibility | fields: reading, lon, type, lat\nTask: Retrieve reading from pressure whose ts is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001291", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: level, qc, lon, depth\n Sensor: uv_index | fields: qc, reading, depth, level\nTask: Retrieve value from frost whose type is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001292", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: value, type, lat, qc\n Sensor: cloud_cover | fields: unit, lat, depth, qc\nTask: Retrieve depth from frost with reading above the SUM(reading) of cloud_cover readings sharing the same 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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001293", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, unit, type, ts\n Sensor: temperature | fields: type, value, level, lon\nTask: Get reading from air_quality where depth exceeds the total depth from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001294", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: reading, type, ts, qc\n Sensor: soil_moisture | fields: reading, lon, level, ts\nTask: Get reading from humidity where qc appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001295", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: unit, value, ts, depth\n Sensor: air_quality | fields: reading, depth, level, lon\nTask: Retrieve reading from turbidity with value above the AVG(depth) of air_quality readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001296", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: type, value, unit, ts\n Sensor: drought_index | fields: qc, unit, depth, value\nTask: Get reading from cloud_cover where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001297", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, type, reading, depth\n Sensor: drought_index | fields: ts, lat, depth, level\nTask: Retrieve lat from uv_index whose type is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001298", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lon, lat, value, level\n Sensor: rainfall | fields: reading, unit, type, depth\nTask: Retrieve level from sunlight that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001299", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, ts, type, lat\n Sensor: pressure | fields: level, value, reading, qc\nTask: Get value from uv_index where reading exceeds the count of value from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001300", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: type, depth, ts, value\n Sensor: snow_depth | fields: depth, lon, type, ts\nTask: Fetch reading from air_quality where depth is greater than the total of depth in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001301", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: qc, depth, ts, lon\n Sensor: lightning | fields: level, qc, type, value\nTask: Fetch lat from evaporation where type exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001302", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: depth, value, lat, unit\n Sensor: sunlight | fields: unit, level, reading, lon\nTask: Retrieve reading from pressure whose ts is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001303", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: type, qc, unit, lat\n Sensor: soil_moisture | fields: unit, level, value, ts\nTask: Fetch level from wind_speed where unit exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001304", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: qc, lat, lon, reading\n Sensor: drought_index | fields: lon, level, depth, ts\nTask: Fetch lon from sunlight where depth is greater than the total of reading in drought_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001305", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, reading, unit, level\n Sensor: cloud_cover | fields: ts, lon, level, lat\nTask: Fetch lat 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=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001306", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: depth, level, ts, qc\n Sensor: uv_index | fields: type, level, depth, ts\nTask: Fetch lon from visibility where depth is greater than the count of of depth in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001307", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: qc, lat, lon, value\n Sensor: air_quality | fields: reading, type, ts, value\nTask: Retrieve level from uv_index that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001308", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lon, type, unit, level\n Sensor: pressure | fields: qc, level, ts, lon\nTask: Get value from soil_moisture where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001309", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, value, qc, type\n Sensor: pressure | fields: level, ts, qc, value\nTask: Fetch value from visibility where value is greater than the average of value in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001310", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: depth, type, reading, qc\n Sensor: soil_moisture | fields: qc, depth, unit, type\nTask: Get lat from evaporation where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001311", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, unit, level, lat\n Sensor: soil_moisture | fields: ts, unit, level, value\nTask: Fetch lat from visibility that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001312", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: qc, unit, reading, lat\n Sensor: drought_index | fields: type, level, qc, ts\nTask: Get lon from air_quality where value exceeds the minimum depth from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001313", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, unit, type, lon\n Sensor: turbidity | fields: qc, unit, lat, reading\nTask: Get lat from evaporation where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001314", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, depth, ts, lat\n Sensor: dew_point | fields: depth, level, ts, lat\nTask: Retrieve depth from turbidity that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001315", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: value, qc, lat, unit\n Sensor: dew_point | fields: type, lat, depth, qc\nTask: Retrieve level from wind_speed that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001316", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, value, qc, level\n Sensor: air_quality | fields: lon, ts, lat, level\nTask: Fetch lat from humidity that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001317", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lon, lat, level, value\n Sensor: soil_moisture | fields: value, ts, type, lon\nTask: Fetch lat from snow_depth where unit exists in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001318", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, lon, unit, reading\n Sensor: drought_index | fields: ts, lat, lon, depth\nTask: Get level from humidity where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001319", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: qc, lon, ts, lat\n Sensor: soil_moisture | fields: qc, unit, type, depth\nTask: Fetch lon from rainfall where reading is greater than the total of value in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001320", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: unit, reading, value, qc\n Sensor: humidity | fields: type, unit, lon, ts\nTask: Retrieve value from wind_speed with depth above the MIN(value) of humidity readings sharing the same type.\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(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001321", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: depth, type, lat, ts\n Sensor: rainfall | fields: type, lat, ts, unit\nTask: Fetch level from pressure that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001322", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: qc, value, lon, lat\n Sensor: uv_index | fields: type, level, unit, reading\nTask: Get reading from soil_moisture where ts appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001323", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: ts, qc, reading, lat\n Sensor: soil_moisture | fields: type, unit, ts, lon\nTask: Fetch value from dew_point where value is greater than the count of of reading in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001324", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: type, qc, ts, lat\n Sensor: snow_depth | fields: lon, ts, level, depth\nTask: Get reading from dew_point where depth exceeds the maximum reading from snow_depth for the same type.\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(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001325", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: value, lat, lon, unit\n Sensor: pressure | fields: type, unit, qc, level\nTask: Get lon from sunlight where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001326", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: level, depth, ts, qc\n Sensor: air_quality | fields: depth, lat, level, lon\nTask: Fetch lon from frost where ts exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001327", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, ts, lon, unit\n Sensor: uv_index | fields: qc, depth, lat, unit\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=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001328", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: lat, depth, unit, ts\n Sensor: cloud_cover | fields: type, ts, value, unit\nTask: Fetch depth from air_quality where value is greater than the minimum of reading in cloud_cover for matching ts.\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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001329", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: value, level, lat, unit\n Sensor: humidity | fields: qc, reading, value, level\nTask: Retrieve reading from air_quality with depth above the COUNT(depth) of humidity readings sharing the same depth.\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(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001330", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, value, depth, ts\n Sensor: air_quality | fields: unit, value, reading, qc\nTask: Retrieve value from visibility with depth above the AVG(reading) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001331", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, qc, unit, lat\n Sensor: snow_depth | fields: type, lat, depth, reading\nTask: Retrieve depth from air_quality with reading above the AVG(depth) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001332", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: unit, lon, type, lat\n Sensor: temperature | fields: reading, lon, ts, level\nTask: Get lon from snow_depth where qc appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001333", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, ts, depth, level\n Sensor: pressure | fields: value, lat, ts, type\nTask: Fetch level from air_quality where depth exists in pressure sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001334", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, reading, ts, lat\n Sensor: wind_speed | fields: qc, level, depth, ts\nTask: Fetch value from sunlight where depth exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001335", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, lon, depth, ts\n Sensor: rainfall | fields: unit, qc, ts, lat\nTask: Get lat from evaporation where value exceeds the total depth from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001336", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: reading, qc, ts, level\n Sensor: wind_speed | fields: qc, lon, type, ts\nTask: Fetch reading from soil_moisture that have at least one corresponding wind_speed measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001337", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: qc, depth, level, type\n Sensor: turbidity | fields: qc, ts, lat, reading\nTask: Get lon from air_quality where depth exceeds the minimum depth from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001338", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: qc, unit, lon, depth\n Sensor: sunlight | fields: level, lat, depth, type\nTask: Retrieve reading from pressure with reading above the SUM(value) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001339", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, lat, unit, lon\n Sensor: visibility | fields: ts, unit, depth, value\nTask: Retrieve lon from temperature whose ts is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001340", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, lat, depth, lon\n Sensor: turbidity | fields: unit, type, lat, qc\nTask: Get lon from cloud_cover where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001341", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, reading, qc, lon\n Sensor: wind_speed | fields: lon, type, lat, level\nTask: Get depth from turbidity where unit appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\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": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001342", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: level, qc, depth, ts\n Sensor: snow_depth | fields: unit, qc, lat, depth\nTask: Get reading from pressure where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001343", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lon, ts, qc, level\n Sensor: lightning | fields: type, ts, qc, reading\nTask: Fetch level from dew_point that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001344", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: level, lon, qc, lat\n Sensor: frost | fields: depth, level, type, unit\nTask: Get level from drought_index where qc appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001345", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, reading, lon, depth\n Sensor: temperature | fields: qc, level, reading, depth\nTask: Retrieve depth from drought_index whose unit is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001346", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lat, reading, depth, type\n Sensor: evaporation | fields: ts, lon, qc, lat\nTask: Retrieve level from air_quality that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001347", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: level, value, reading, qc\n Sensor: temperature | fields: unit, level, depth, ts\nTask: Retrieve level from visibility with value above the MIN(value) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001348", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, reading, type, value\n Sensor: drought_index | fields: value, lon, reading, unit\nTask: Retrieve value from humidity with depth above the AVG(reading) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001349", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: type, qc, ts, unit\n Sensor: sunlight | fields: lat, qc, value, depth\nTask: Fetch lon from wind_speed where type exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001350", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, level, unit, depth\n Sensor: soil_moisture | fields: value, reading, qc, level\nTask: Fetch depth from uv_index that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001351", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, qc, unit, level\n Sensor: frost | fields: reading, depth, unit, ts\nTask: Fetch reading from drought_index where depth 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=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001352", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, depth, lon, reading\n Sensor: drought_index | fields: lon, value, ts, depth\nTask: Fetch depth from lightning where unit exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001353", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lon, lat, type, level\n Sensor: pressure | fields: type, ts, reading, lon\nTask: Retrieve lon from temperature that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "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_fixed_v1_val_001354", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, ts, unit, depth\n Sensor: lightning | fields: value, qc, lon, ts\nTask: Get value from rainfall where qc appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001355", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: level, depth, ts, reading\n Sensor: frost | fields: depth, level, lat, value\nTask: Fetch lon from evaporation where type exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001356", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, lon, value, qc\n Sensor: pressure | fields: reading, lon, value, ts\nTask: Get lon from temperature where reading exceeds the average reading from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001357", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: reading, unit, lat, depth\n Sensor: soil_moisture | fields: reading, depth, value, unit\nTask: Fetch lon from lightning where qc exists in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "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_fixed_v1_val_001358", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, ts, level, depth\n Sensor: snow_depth | fields: lat, value, type, unit\nTask: Retrieve lat from pressure whose unit is found in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001359", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: depth, unit, reading, lat\n Sensor: snow_depth | fields: level, qc, value, depth\nTask: Retrieve lat from drought_index that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001360", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, reading, ts, depth\n Sensor: evaporation | fields: ts, depth, lat, reading\nTask: Get lat from uv_index where ts appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001361", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, depth, value, level\n Sensor: turbidity | fields: ts, level, lon, value\nTask: Fetch value 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=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001362", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: type, unit, reading, lat\n Sensor: soil_moisture | fields: depth, type, qc, lat\nTask: Fetch level from rainfall where reading is greater than the average of reading in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001363", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, qc, reading, type\n Sensor: visibility | fields: lon, type, lat, level\nTask: Get level from cloud_cover where value exceeds the average reading from visibility 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(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001364", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: ts, lon, reading, unit\n Sensor: soil_moisture | fields: level, ts, lon, qc\nTask: Fetch lon from snow_depth where depth is greater than the average of reading in soil_moisture for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001365", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, value, unit, reading\n Sensor: soil_moisture | fields: unit, lon, qc, value\nTask: Fetch depth from visibility where ts exists in soil_moisture sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001366", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lon, unit, type, depth\n Sensor: turbidity | fields: level, reading, type, lat\nTask: Get depth from pressure where qc appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001367", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, qc, depth, level\n Sensor: lightning | fields: lat, ts, type, depth\nTask: Get value from dew_point where reading exceeds the maximum reading from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001368", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: reading, value, lon, level\n Sensor: temperature | fields: lat, level, value, unit\nTask: Fetch reading from cloud_cover where value is greater than the maximum of depth in temperature for matching unit.\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(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001369", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: level, depth, value, qc\n Sensor: dew_point | fields: type, lat, qc, unit\nTask: Get depth from wind_speed where reading exceeds the maximum value from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001370", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: level, depth, lat, reading\n Sensor: rainfall | fields: qc, level, lat, lon\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=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001371", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: depth, level, value, ts\n Sensor: air_quality | fields: unit, value, lat, depth\nTask: Get value 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=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001372", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, level, qc, lat\n Sensor: temperature | fields: qc, ts, value, reading\nTask: Retrieve level from soil_moisture whose type is found in temperature records where depth 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(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001373", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lat, type, depth, lon\n Sensor: wind_speed | fields: type, reading, lon, unit\nTask: Fetch lat from visibility where depth is greater than the count of of reading in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001374", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: ts, unit, lon, depth\n Sensor: lightning | fields: type, depth, lon, level\nTask: Retrieve level from sunlight whose qc is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001375", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, level, qc, value\n Sensor: visibility | fields: level, depth, qc, type\nTask: Retrieve reading from turbidity that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001376", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, level, lon, type\n Sensor: snow_depth | fields: depth, value, qc, level\nTask: Retrieve reading from turbidity that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001377", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, type, reading, depth\n Sensor: humidity | fields: level, lat, qc, value\nTask: Fetch level from evaporation where depth is greater than the total of reading in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001378", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, unit, type, qc\n Sensor: humidity | fields: level, lon, type, reading\nTask: Get reading 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=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001379", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, type, lon, lat\n Sensor: humidity | fields: type, qc, reading, ts\nTask: Retrieve depth from wind_speed that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001380", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: depth, value, level, ts\n Sensor: sunlight | fields: level, reading, lon, depth\nTask: Retrieve lat from dew_point whose qc is found in sunlight records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "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_fixed_v1_val_001381", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: unit, level, type, lon\n Sensor: frost | fields: lat, ts, reading, value\nTask: Retrieve reading from lightning that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001382", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: ts, depth, lat, reading\n Sensor: wind_speed | fields: level, lat, depth, unit\nTask: Fetch value from snow_depth where value is greater than the count of of depth in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001383", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, lon, depth, unit\n Sensor: cloud_cover | fields: level, lon, qc, depth\nTask: Get value from drought_index where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001384", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: ts, value, unit, depth\n Sensor: air_quality | fields: ts, depth, value, level\nTask: Get depth from pressure where depth exceeds the total reading from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001385", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, level, value, reading\n Sensor: drought_index | fields: lon, qc, unit, lat\nTask: Get depth from soil_moisture where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\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": "clr", "inner_alias": "drt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001386", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: reading, lon, unit, level\n Sensor: dew_point | fields: value, lat, unit, ts\nTask: Get lat from rainfall where depth exceeds the minimum value from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001387", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, type, lon, qc\n Sensor: rainfall | fields: value, depth, reading, ts\nTask: Retrieve value from soil_moisture whose type is found in rainfall records where qc 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=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001388", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, level, depth, type\n Sensor: temperature | fields: qc, unit, type, value\nTask: Get level from humidity where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001389", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, reading, depth, lat\n Sensor: turbidity | fields: depth, reading, level, type\nTask: Get lat from rainfall where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001390", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: type, unit, lat, reading\n Sensor: pressure | fields: lon, lat, value, reading\nTask: Retrieve depth 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=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001391", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lat, qc, value, reading\n Sensor: sunlight | fields: type, level, qc, ts\nTask: Fetch depth from uv_index where type exists in sunlight sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001392", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: qc, unit, reading, level\n Sensor: rainfall | fields: reading, lon, level, value\nTask: Fetch depth from frost where depth exists in rainfall sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001393", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, qc, lat, level\n Sensor: turbidity | fields: type, level, ts, lat\nTask: Get depth from drought_index where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001394", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: ts, level, value, qc\n Sensor: turbidity | fields: lon, qc, type, depth\nTask: Retrieve lat from evaporation with depth above the COUNT(reading) of turbidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001395", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: reading, lat, ts, unit\n Sensor: frost | fields: level, lat, reading, qc\nTask: Fetch reading from turbidity where depth 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=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001396", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, value, type, depth\n Sensor: uv_index | fields: lat, reading, unit, level\nTask: Retrieve lat from lightning with depth above the SUM(reading) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001397", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lat, ts, depth, type\n Sensor: lightning | fields: qc, lon, type, value\nTask: Retrieve depth from rainfall whose unit is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001398", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: depth, qc, lon, ts\n Sensor: uv_index | fields: lon, reading, value, type\nTask: Retrieve level from air_quality with depth above the AVG(depth) of uv_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001399", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: ts, level, unit, depth\n Sensor: cloud_cover | fields: reading, depth, lon, lat\nTask: Get lon from drought_index where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001400", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, value, unit, depth\n Sensor: temperature | fields: lon, reading, unit, value\nTask: Get lat from dew_point where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001401", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, qc, level, value\n Sensor: uv_index | fields: unit, reading, lat, ts\nTask: Get value from evaporation where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001402", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: qc, level, value, unit\n Sensor: drought_index | fields: ts, reading, lat, level\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=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001403", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, value, lon, reading\n Sensor: evaporation | fields: depth, type, qc, value\nTask: Retrieve lon from uv_index with value above the AVG(value) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001404", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, reading, level, ts\n Sensor: turbidity | fields: level, ts, qc, type\nTask: Get level from dew_point where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001405", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: reading, value, depth, unit\n Sensor: soil_moisture | fields: value, unit, ts, reading\nTask: Fetch level from lightning where reading is greater than the count of of depth in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001406", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: qc, level, depth, lon\n Sensor: pressure | fields: depth, lon, unit, type\nTask: Get lon from humidity where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001407", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, ts, unit, reading\n Sensor: air_quality | fields: depth, lon, unit, reading\nTask: Fetch level from dew_point where depth is greater than the average of value in air_quality for matching type.\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(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001408", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: reading, ts, type, qc\n Sensor: wind_speed | fields: value, lat, qc, level\nTask: Get depth from air_quality where value exceeds the count of reading from wind_speed for the same type.\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(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001409", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: type, lat, reading, qc\n Sensor: lightning | fields: qc, depth, unit, value\nTask: Fetch depth from soil_moisture where qc exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001410", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: depth, reading, qc, value\n Sensor: drought_index | fields: unit, lat, type, value\nTask: Fetch reading from cloud_cover where depth exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001411", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: level, qc, ts, type\n Sensor: pressure | fields: reading, lon, unit, value\nTask: Retrieve lat from lightning with value above the MAX(value) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001412", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: level, type, depth, lon\n Sensor: uv_index | fields: ts, lon, level, unit\nTask: Retrieve lat from lightning with reading above the AVG(reading) of uv_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001413", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: qc, type, level, depth\n Sensor: humidity | fields: level, value, ts, lat\nTask: Retrieve value from evaporation with depth above the MIN(depth) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "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_fixed_v1_val_001414", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: qc, ts, lat, unit\n Sensor: evaporation | fields: qc, reading, type, lat\nTask: Get lon from lightning where depth appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "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_fixed_v1_val_001415", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: value, level, unit, type\n Sensor: humidity | fields: level, reading, type, lat\nTask: Retrieve lon from visibility with reading above the AVG(value) 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(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "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_fixed_v1_val_001416", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: value, lat, lon, qc\n Sensor: snow_depth | fields: unit, qc, reading, lon\nTask: Retrieve value from lightning whose type is found in snow_depth records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001417", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, lon, value, reading\n Sensor: uv_index | fields: unit, qc, lon, ts\nTask: Get reading from wind_speed where depth exceeds the minimum depth from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001418", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: level, qc, type, unit\n Sensor: wind_speed | fields: ts, qc, lon, depth\nTask: Fetch level from air_quality where unit exists in wind_speed sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001419", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: reading, type, lon, level\n Sensor: lightning | fields: lon, reading, value, lat\nTask: Fetch reading from wind_speed where reading is greater than the average of reading in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001420", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, lat, lon, qc\n Sensor: wind_speed | fields: lon, ts, qc, unit\nTask: Fetch lat from soil_moisture that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001421", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, lat, reading, depth\n Sensor: evaporation | fields: level, reading, unit, type\nTask: Fetch reading from air_quality that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001422", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: type, depth, lat, level\n Sensor: sunlight | fields: level, lat, unit, ts\nTask: Get value from air_quality where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001423", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, qc, value, reading\n Sensor: snow_depth | fields: depth, value, ts, reading\nTask: Get reading from evaporation where qc appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001424", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, reading, level, ts\n Sensor: drought_index | fields: lon, lat, depth, reading\nTask: Retrieve lon from cloud_cover whose ts is found in drought_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "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_fixed_v1_val_001425", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: type, qc, reading, lon\n Sensor: soil_moisture | fields: qc, reading, unit, ts\nTask: Retrieve level from temperature whose type is found in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001426", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, lon, qc, level\n Sensor: temperature | fields: depth, type, qc, lat\nTask: Fetch lat from drought_index where qc exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001427", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: depth, qc, level, ts\n Sensor: lightning | fields: level, depth, lat, unit\nTask: Retrieve lat from visibility with value above the MIN(depth) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001428", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: type, reading, lon, ts\n Sensor: cloud_cover | fields: value, unit, qc, ts\nTask: Fetch value from snow_depth where depth exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001429", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, level, type, unit\n Sensor: evaporation | fields: depth, reading, qc, level\nTask: Get lat from wind_speed where depth exceeds the average depth from evaporation for the same type.\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(\"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": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001430", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, ts, value, qc\n Sensor: temperature | fields: depth, ts, value, qc\nTask: Fetch lon from dew_point where depth is greater than the count of of depth in temperature for matching ts.\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(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001431", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: level, lon, lat, qc\n Sensor: turbidity | fields: value, qc, lon, lat\nTask: Get reading from evaporation where depth appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001432", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, unit, type, value\n Sensor: lightning | fields: depth, type, reading, value\nTask: Retrieve lat from evaporation that have at least one matching reading in lightning sharing 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=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001433", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, level, reading, lat\n Sensor: visibility | fields: qc, lat, lon, reading\nTask: Fetch level from evaporation where type exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001434", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: qc, type, level, lon\n Sensor: temperature | fields: lat, ts, lon, value\nTask: Fetch reading from evaporation where value is greater than the average of reading in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001435", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: ts, lon, level, lat\n Sensor: pressure | fields: qc, level, value, type\nTask: Get depth from soil_moisture where unit appears in pressure readings with matching ts.\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=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001436", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, reading, lat, lon\n Sensor: dew_point | fields: qc, level, ts, unit\nTask: Retrieve lon from rainfall whose depth is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001437", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, value, ts, qc\n Sensor: frost | fields: level, lat, depth, unit\nTask: Get level from visibility where depth appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001438", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: qc, lat, lon, depth\n Sensor: pressure | fields: lon, unit, depth, lat\nTask: Retrieve lon from soil_moisture with depth above the AVG(depth) of pressure readings sharing the same qc.\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(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001439", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, value, qc, level\n Sensor: drought_index | fields: lon, ts, level, reading\nTask: Get lon from turbidity where unit appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001440", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: qc, depth, level, type\n Sensor: sunlight | fields: type, value, ts, reading\nTask: Retrieve value from temperature with depth above the AVG(value) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001441", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: level, value, ts, unit\n Sensor: visibility | fields: ts, level, value, lon\nTask: Retrieve level from dew_point whose type is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001442", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: level, lat, unit, lon\n Sensor: humidity | fields: type, ts, qc, reading\nTask: Retrieve lon from drought_index with value above the SUM(depth) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001443", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: depth, lat, type, level\n Sensor: temperature | fields: ts, lon, lat, reading\nTask: Retrieve lat from wind_speed that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001444", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lon, lat, unit, reading\n Sensor: air_quality | fields: unit, reading, level, lon\nTask: Get reading from evaporation where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001445", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, ts, type, lon\n Sensor: evaporation | fields: lon, level, type, ts\nTask: Retrieve level from air_quality whose ts is found in evaporation records where type 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(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001446", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, unit, depth, level\n Sensor: dew_point | fields: lat, lon, unit, depth\nTask: Get value from temperature where depth exceeds the minimum value from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001447", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, unit, reading, lat\n Sensor: uv_index | fields: depth, ts, level, type\nTask: Retrieve lat from wind_speed whose type is found in uv_index records where ts 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(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001448", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: qc, ts, level, depth\n Sensor: dew_point | fields: ts, qc, level, value\nTask: Fetch lon from humidity that have at least one corresponding dew_point measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001449", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lon, unit, type, level\n Sensor: turbidity | fields: type, qc, reading, lat\nTask: Retrieve level from uv_index whose qc is found in turbidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001450", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: unit, ts, type, lat\n Sensor: drought_index | fields: value, lat, lon, reading\nTask: Get depth from dew_point where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001451", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: type, value, reading, lat\n Sensor: wind_speed | fields: unit, depth, type, qc\nTask: Fetch reading from turbidity where unit 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=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001452", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, qc, type, depth\n Sensor: uv_index | fields: type, qc, lon, reading\nTask: Retrieve value from rainfall with reading above the MAX(reading) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001453", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, lat, level, qc\n Sensor: cloud_cover | fields: level, lat, type, reading\nTask: Fetch level from temperature where qc exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001454", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: level, depth, reading, ts\n Sensor: air_quality | fields: type, reading, qc, lon\nTask: Fetch value from uv_index where unit exists in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001455", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lat, level, qc, depth\n Sensor: wind_speed | fields: level, ts, lat, reading\nTask: Retrieve reading from uv_index whose qc is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001456", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: reading, lat, lon, ts\n Sensor: drought_index | fields: level, reading, value, lat\nTask: Fetch value from air_quality where qc exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001457", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lat, lon, qc, reading\n Sensor: soil_moisture | fields: level, reading, ts, value\nTask: Retrieve level from rainfall with depth above the COUNT(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001458", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lon, level, lat, value\n Sensor: frost | fields: type, unit, lon, qc\nTask: Get level from evaporation where a corresponding entry exists in frost with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001459", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, level, qc, lon\n Sensor: dew_point | fields: lon, reading, qc, type\nTask: Fetch depth from rainfall that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001460", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: reading, type, unit, lat\n Sensor: wind_speed | fields: reading, type, lon, depth\nTask: Get level from snow_depth where value exceeds the total reading from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001461", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lat, type, level, qc\n Sensor: cloud_cover | fields: unit, qc, reading, depth\nTask: Retrieve lat from drought_index with reading above the AVG(reading) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001462", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: depth, type, ts, unit\n Sensor: cloud_cover | fields: reading, value, lon, type\nTask: Fetch lat from air_quality where depth exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001463", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lat, lon, unit, value\n Sensor: rainfall | fields: unit, ts, depth, level\nTask: Retrieve depth from air_quality that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001464", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, value, unit, qc\n Sensor: pressure | fields: lat, lon, value, type\nTask: Fetch value from temperature where depth is greater than the minimum of reading in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001465", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: type, ts, depth, reading\n Sensor: wind_speed | fields: value, lat, depth, type\nTask: Get depth from sunlight where value exceeds the total depth from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001466", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lon, ts, unit, qc\n Sensor: visibility | fields: level, qc, lon, ts\nTask: Retrieve value from evaporation that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001467", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, depth, unit, reading\n Sensor: turbidity | fields: depth, level, value, lat\nTask: Retrieve lon from uv_index that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001468", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: qc, reading, ts, level\n Sensor: pressure | fields: lon, reading, value, unit\nTask: Fetch reading from soil_moisture where reading is greater than the count of of value in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "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_fixed_v1_val_001469", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: depth, lat, lon, reading\n Sensor: cloud_cover | fields: unit, reading, value, level\nTask: Retrieve reading from temperature whose unit is found in cloud_cover records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001470", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: value, unit, depth, reading\n Sensor: soil_moisture | fields: unit, reading, lon, lat\nTask: Get value from lightning where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001471", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, type, depth, level\n Sensor: turbidity | fields: lon, depth, reading, lat\nTask: Retrieve depth from temperature with depth above the COUNT(reading) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001472", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: ts, lon, reading, type\n Sensor: turbidity | fields: unit, value, lat, level\nTask: Get value 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=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001473", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lat, lon, value, unit\n Sensor: uv_index | fields: ts, depth, qc, unit\nTask: Retrieve lon from humidity with depth above the MAX(depth) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001474", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, unit, type, lon\n Sensor: uv_index | fields: reading, value, lon, type\nTask: Fetch level from air_quality where depth is greater than the count of of depth in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001475", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, level, qc, ts\n Sensor: air_quality | fields: level, lat, lon, unit\nTask: Retrieve lat from visibility whose type is found in air_quality records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001476", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lon, unit, depth, type\n Sensor: wind_speed | fields: reading, type, level, depth\nTask: Retrieve lat from sunlight whose ts is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001477", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: value, type, lon, lat\n Sensor: lightning | fields: reading, unit, depth, lon\nTask: Retrieve reading from soil_moisture with reading above the COUNT(value) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001478", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, level, lat, value\n Sensor: sunlight | fields: type, depth, ts, lat\nTask: Fetch depth from evaporation where depth is greater than the count of of depth in sunlight for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001479", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: level, unit, qc, lon\n Sensor: cloud_cover | fields: value, unit, qc, reading\nTask: Get lat from lightning where depth appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001480", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, lon, value, ts\n Sensor: uv_index | fields: lon, ts, value, lat\nTask: Get lat from dew_point where ts appears in uv_index 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(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001481", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: qc, lon, reading, unit\n Sensor: frost | fields: level, lon, value, reading\nTask: Fetch value from sunlight where unit exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001482", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: reading, ts, level, lat\n Sensor: humidity | fields: lon, value, type, reading\nTask: Fetch lon from frost that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001483", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, level, value, reading\n Sensor: rainfall | fields: unit, lon, type, qc\nTask: Fetch depth 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=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001484", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, lat, unit, depth\n Sensor: sunlight | fields: reading, lon, qc, level\nTask: Fetch level from turbidity that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001485", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, value, reading, qc\n Sensor: cloud_cover | fields: unit, qc, ts, lat\nTask: Get lon from pressure where value exceeds the maximum depth from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001486", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: depth, type, lon, lat\n Sensor: frost | fields: depth, ts, level, unit\nTask: Retrieve reading from evaporation whose unit is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001487", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: level, depth, lon, value\n Sensor: dew_point | fields: lon, ts, unit, level\nTask: Retrieve reading from humidity whose qc is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001488", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: unit, depth, value, level\n Sensor: humidity | fields: qc, depth, unit, lat\nTask: Fetch reading from uv_index where reading is greater than the maximum of depth in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001489", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, depth, value, reading\n Sensor: frost | fields: reading, qc, type, lat\nTask: Retrieve lat from visibility with value above the AVG(depth) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001490", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, type, value, level\n Sensor: wind_speed | fields: level, lat, unit, reading\nTask: Retrieve lat from rainfall that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001491", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: reading, unit, value, ts\n Sensor: lightning | fields: value, type, unit, qc\nTask: Fetch value from sunlight where depth is greater than the average of reading in lightning for matching 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(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "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_fixed_v1_val_001492", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: depth, type, ts, lon\n Sensor: pressure | fields: unit, lon, level, qc\nTask: Get reading from cloud_cover where ts appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001493", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, ts, type, unit\n Sensor: sunlight | fields: level, qc, depth, type\nTask: Retrieve lon from rainfall whose unit is found in sunlight records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001494", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: depth, qc, lat, level\n Sensor: drought_index | fields: type, lon, level, value\nTask: Get depth from temperature where value exceeds the maximum reading from drought_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", 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=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001495", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lon, depth, lat, value\n Sensor: lightning | fields: depth, lon, qc, value\nTask: Retrieve lat from frost that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001496", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: unit, value, type, lat\n Sensor: dew_point | fields: qc, unit, lon, ts\nTask: Retrieve reading from frost whose type 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=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001497", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: qc, type, lat, unit\n Sensor: lightning | fields: type, level, lat, value\nTask: Get value from pressure where depth exceeds the total depth from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001498", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: type, lon, lat, unit\n Sensor: air_quality | fields: value, level, lat, ts\nTask: Get lat from cloud_cover where depth appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\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": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001499", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, ts, lon, reading\n Sensor: snow_depth | fields: lat, level, reading, unit\nTask: Retrieve lon from sunlight with value above the MIN(depth) of snow_depth readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001500", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lon, level, lat, qc\n Sensor: frost | fields: lat, qc, depth, ts\nTask: Retrieve lon from visibility with depth above the AVG(depth) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001501", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: ts, lat, level, depth\n Sensor: temperature | fields: depth, level, lon, type\nTask: Fetch value from visibility where value is greater than the maximum of reading in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001502", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, lat, level, qc\n Sensor: lightning | fields: level, value, unit, reading\nTask: Fetch reading from pressure where reading is greater than the maximum of depth in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001503", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lat, qc, unit, ts\n Sensor: drought_index | fields: type, qc, level, value\nTask: Retrieve reading from snow_depth with value above the SUM(depth) of drought_index readings sharing the same qc.\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(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001504", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lon, ts, level, depth\n Sensor: turbidity | fields: qc, type, ts, lon\nTask: Retrieve lon from frost with depth above the MAX(value) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001505", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, unit, lon, type\n Sensor: uv_index | fields: level, lon, lat, value\nTask: Get lat from turbidity where depth exceeds the count of depth from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001506", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, type, value, qc\n Sensor: air_quality | fields: depth, ts, lat, level\nTask: Fetch lat from humidity where qc exists in air_quality sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "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_fixed_v1_val_001507", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, unit, lon, qc\n Sensor: air_quality | fields: ts, type, reading, level\nTask: Retrieve level from cloud_cover with value above the AVG(reading) of air_quality 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(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001508", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: unit, type, qc, reading\n Sensor: soil_moisture | fields: ts, depth, type, qc\nTask: Fetch lon from air_quality where type exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001509", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: type, lat, ts, value\n Sensor: humidity | fields: lat, qc, depth, reading\nTask: Retrieve depth from soil_moisture whose unit 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=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001510", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, depth, type, lat\n Sensor: rainfall | fields: lat, unit, depth, reading\nTask: Fetch lat from soil_moisture where depth 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=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001511", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, qc, type, value\n Sensor: wind_speed | fields: unit, qc, type, ts\nTask: Retrieve value from cloud_cover with reading above the MAX(depth) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001512", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, unit, reading, lon\n Sensor: frost | fields: unit, value, qc, reading\nTask: Retrieve lat 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=\"stn\"),\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": "stn", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001513", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: reading, lat, unit, qc\n Sensor: pressure | fields: lon, depth, qc, lat\nTask: Get lon from visibility where type appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001514", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: unit, level, type, depth\n Sensor: wind_speed | fields: lon, type, ts, reading\nTask: Fetch lon from pressure where reading is greater than the total of reading in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001515", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: ts, value, depth, lat\n Sensor: wind_speed | fields: lon, unit, type, lat\nTask: Get lat from uv_index where value exceeds the minimum reading from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001516", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: qc, depth, lon, value\n Sensor: snow_depth | fields: ts, lat, lon, type\nTask: Fetch value from visibility where depth exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001517", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: ts, lat, depth, qc\n Sensor: sunlight | fields: value, type, qc, lon\nTask: Fetch depth from drought_index where ts exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001518", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: ts, depth, lat, reading\n Sensor: wind_speed | fields: lon, level, value, reading\nTask: Get lat from rainfall where depth exceeds the minimum value from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001519", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: reading, lat, lon, unit\n Sensor: pressure | fields: type, lon, ts, unit\nTask: Fetch lat 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=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001520", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: depth, reading, lat, value\n Sensor: wind_speed | fields: level, lon, 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=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001521", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, lat, reading, value\n Sensor: sunlight | fields: unit, depth, type, value\nTask: Fetch value from cloud_cover where unit exists in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001522", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, lon, qc, ts\n Sensor: visibility | fields: lat, qc, level, ts\nTask: Get level from drought_index where depth appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001523", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, reading, level, value\n Sensor: temperature | fields: reading, type, lon, lat\nTask: Get reading from rainfall where depth exceeds the total depth from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001524", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: reading, type, ts, depth\n Sensor: dew_point | fields: qc, type, depth, reading\nTask: Get lat from temperature where type appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "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_fixed_v1_val_001525", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, ts, depth, unit\n Sensor: pressure | fields: lat, depth, lon, level\nTask: Get reading from uv_index where value exceeds the average value from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001526", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, reading, lon, value\n Sensor: snow_depth | fields: ts, unit, lon, reading\nTask: Retrieve level from turbidity with reading above the COUNT(depth) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001527", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, level, value, reading\n Sensor: visibility | fields: unit, reading, level, lat\nTask: Get depth from turbidity where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001528", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lat, type, level, lon\n Sensor: soil_moisture | fields: depth, level, value, lat\nTask: Retrieve reading from wind_speed with reading above the AVG(depth) of soil_moisture readings sharing the same type.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001529", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: ts, reading, lon, value\n Sensor: evaporation | fields: lat, depth, value, unit\nTask: Get value from sunlight where type appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001530", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: type, unit, value, reading\n Sensor: wind_speed | fields: value, qc, unit, lat\nTask: Get lon from air_quality where depth exceeds the minimum depth from wind_speed for the same unit.\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(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001531", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, depth, qc, type\n Sensor: pressure | fields: qc, lon, depth, value\nTask: Get reading from drought_index where depth exceeds the average depth from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "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_fixed_v1_val_001532", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, type, reading, lon\n Sensor: uv_index | fields: level, qc, lon, value\nTask: Get lat from frost where reading exceeds the average value from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001533", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lon, value, reading, unit\n Sensor: soil_moisture | fields: value, ts, lon, reading\nTask: Fetch level from evaporation where unit exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001534", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: unit, type, value, reading\n Sensor: turbidity | fields: depth, reading, type, lat\nTask: Fetch level from sunlight where unit exists in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001535", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, type, lat, unit\n Sensor: humidity | fields: ts, lon, lat, type\nTask: Fetch reading from lightning where depth exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001536", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, type, depth, value\n Sensor: soil_moisture | fields: depth, qc, value, lon\nTask: Fetch reading from cloud_cover where type exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001537", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: level, lon, unit, value\n Sensor: soil_moisture | fields: level, ts, value, lat\nTask: Fetch level from wind_speed where value is greater than the average of value in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001538", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, lat, level, qc\n Sensor: drought_index | fields: qc, lon, lat, ts\nTask: Get depth from rainfall where type appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, unit, reading, type\n Sensor: humidity | fields: qc, lat, depth, level\nTask: Fetch lat from evaporation where qc exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001540", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, value, unit, qc\n Sensor: dew_point | fields: reading, unit, type, depth\nTask: Fetch value from uv_index that have at least one corresponding dew_point measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001541", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, reading, value, ts\n Sensor: temperature | fields: qc, reading, unit, level\nTask: Retrieve level from dew_point that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001542", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, lat, depth, value\n Sensor: drought_index | fields: qc, depth, lat, lon\nTask: Fetch level from snow_depth that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001543", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, qc, depth, reading\n Sensor: snow_depth | fields: type, level, qc, depth\nTask: Get lat from frost where ts appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "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_fixed_v1_val_001544", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, type, reading, unit\n Sensor: cloud_cover | fields: unit, lon, reading, qc\nTask: Fetch level from turbidity where depth exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001545", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lat, depth, ts, reading\n Sensor: temperature | fields: lon, lat, ts, qc\nTask: Retrieve reading from air_quality whose depth is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001546", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: depth, qc, lat, ts\n Sensor: evaporation | fields: lat, unit, level, qc\nTask: Get depth from lightning where qc appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001547", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, level, lon, unit\n Sensor: turbidity | fields: value, depth, ts, level\nTask: Retrieve lat from lightning with depth above the MAX(depth) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001548", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: qc, level, type, unit\n Sensor: drought_index | fields: level, qc, lat, unit\nTask: Fetch depth from turbidity that have at least one corresponding drought_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001549", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lon, type, qc, lat\n Sensor: wind_speed | fields: qc, unit, lon, value\nTask: Retrieve reading from soil_moisture whose ts is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001550", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lon, reading, qc, depth\n Sensor: dew_point | fields: level, depth, value, unit\nTask: Retrieve value from air_quality with depth above the MAX(value) of dew_point 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(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001551", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lat, reading, qc, value\n Sensor: snow_depth | fields: unit, type, ts, lon\nTask: Retrieve level from cloud_cover with value above the MIN(value) of snow_depth 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(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001552", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: depth, value, level, reading\n Sensor: wind_speed | fields: depth, level, value, ts\nTask: Fetch lat from drought_index where qc exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001553", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: type, level, ts, reading\n Sensor: wind_speed | fields: type, unit, ts, lon\nTask: Fetch level from evaporation where value is greater than the maximum of value in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001554", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: ts, lat, depth, type\n Sensor: wind_speed | fields: unit, lat, reading, depth\nTask: Fetch value from pressure that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\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": "prt", "inner_alias": "gst", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001555", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: unit, type, level, ts\n Sensor: uv_index | fields: value, depth, type, unit\nTask: Retrieve depth from wind_speed that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001556", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, lon, value, unit\n Sensor: wind_speed | fields: level, depth, lon, unit\nTask: Fetch lat from humidity where unit 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=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001557", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: lon, reading, value, ts\n Sensor: dew_point | fields: value, type, level, lon\nTask: Fetch level from air_quality where depth is greater than the average of value in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001558", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: ts, reading, unit, level\n Sensor: visibility | fields: unit, type, lat, level\nTask: Retrieve depth from soil_moisture that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001559", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: type, lat, unit, lon\n Sensor: cloud_cover | fields: reading, ts, type, lat\nTask: Get depth from snow_depth where ts appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001560", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lon, depth, type, value\n Sensor: humidity | fields: lon, unit, depth, reading\nTask: Fetch depth from pressure where depth is greater than the total of depth in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001561", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: unit, type, lon, level\n Sensor: uv_index | fields: qc, value, ts, reading\nTask: Get lat from sunlight where depth exceeds the total value from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001562", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, reading, type, lat\n Sensor: soil_moisture | fields: depth, qc, ts, level\nTask: Get lat from cloud_cover where depth exceeds the maximum reading from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001563", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: qc, reading, type, value\n Sensor: cloud_cover | fields: qc, lat, depth, value\nTask: Retrieve depth from air_quality whose unit is found in cloud_cover records where depth 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(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001564", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: ts, lat, qc, level\n Sensor: snow_depth | fields: level, lon, unit, type\nTask: Fetch depth from humidity where ts exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001565", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, lat, level, lon\n Sensor: dew_point | fields: lat, type, level, value\nTask: Fetch lat from rainfall where type exists in dew_point sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001566", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: ts, type, depth, value\n Sensor: pressure | fields: unit, type, reading, value\nTask: Fetch lat from turbidity where qc exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001567", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: depth, unit, qc, lat\n Sensor: wind_speed | fields: unit, qc, lat, ts\nTask: Retrieve level from cloud_cover that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001568", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lon, type, reading, ts\n Sensor: temperature | fields: level, unit, reading, value\nTask: Get depth from visibility where depth appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001569", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lat, unit, depth, qc\n Sensor: turbidity | fields: lat, ts, reading, unit\nTask: Get value from lightning where reading exceeds the count of depth from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "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_fixed_v1_val_001570", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: reading, lon, unit, value\n Sensor: soil_moisture | fields: lat, ts, depth, qc\nTask: Get depth from wind_speed where value exceeds the maximum value from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001571", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, reading, lon, lat\n Sensor: snow_depth | fields: depth, reading, lon, level\nTask: Retrieve depth from visibility that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001572", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: qc, unit, depth, lon\n Sensor: drought_index | fields: depth, type, value, qc\nTask: Get depth from lightning where depth exceeds the average value from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001573", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: unit, level, qc, ts\n Sensor: dew_point | fields: type, lat, qc, level\nTask: Retrieve reading from uv_index that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001574", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: type, ts, level, unit\n Sensor: wind_speed | fields: depth, type, ts, lat\nTask: Fetch reading from turbidity that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001575", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: reading, lon, unit, depth\n Sensor: dew_point | fields: qc, reading, unit, ts\nTask: Retrieve depth from soil_moisture with depth above the SUM(reading) of dew_point 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(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001576", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, ts, reading, unit\n Sensor: lightning | fields: level, depth, reading, ts\nTask: Fetch depth from snow_depth where unit exists in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001577", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, ts, lon, qc\n Sensor: drought_index | fields: ts, type, lon, unit\nTask: Fetch level from sunlight where reading is greater than the total of depth in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001578", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: depth, lat, ts, level\n Sensor: rainfall | fields: unit, qc, level, type\nTask: Get reading from snow_depth where depth exceeds the total value from rainfall for the same unit.\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(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001579", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: depth, ts, reading, lat\n Sensor: wind_speed | fields: reading, unit, lon, ts\nTask: Fetch value from turbidity where depth exists in wind_speed sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001580", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: type, lon, depth, unit\n Sensor: soil_moisture | fields: lat, qc, type, reading\nTask: Retrieve depth from evaporation whose qc 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=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001581", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: unit, lon, level, ts\n Sensor: drought_index | fields: value, unit, type, qc\nTask: Retrieve value from humidity that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001582", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, value, lat, reading\n Sensor: snow_depth | fields: lat, reading, qc, value\nTask: Fetch value from rainfall where ts exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001583", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: ts, type, unit, depth\n Sensor: cloud_cover | fields: unit, value, qc, lon\nTask: Retrieve level from frost whose depth is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001584", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: ts, value, lon, level\n Sensor: rainfall | fields: lon, ts, type, unit\nTask: Get lat from temperature where unit appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001585", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: qc, lat, depth, type\n Sensor: temperature | fields: qc, ts, lon, lat\nTask: Get level from pressure where value exceeds the total value from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001586", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: type, ts, lat, lon\n Sensor: uv_index | fields: qc, lat, level, reading\nTask: Retrieve reading from cloud_cover that have at least one matching reading in uv_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001587", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, lon, unit, reading\n Sensor: frost | fields: level, qc, unit, value\nTask: Fetch lat from wind_speed where depth is greater than the average of value in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001588", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: value, lat, depth, type\n Sensor: wind_speed | fields: ts, unit, reading, type\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=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001589", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, lat, value, level\n Sensor: rainfall | fields: lat, lon, reading, level\nTask: Get level from uv_index where depth exceeds the total value from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001590", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: level, lon, unit, lat\n Sensor: drought_index | fields: ts, lat, depth, unit\nTask: Get value from cloud_cover where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001591", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: reading, value, ts, depth\n Sensor: evaporation | fields: lon, qc, ts, lat\nTask: Get depth from cloud_cover where ts appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001592", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: unit, reading, lon, level\n Sensor: temperature | fields: value, depth, unit, qc\nTask: Retrieve depth from dew_point whose depth is found in temperature records where unit 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(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001593", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: depth, lat, qc, lon\n Sensor: uv_index | fields: type, qc, level, depth\nTask: Get reading from visibility where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001594", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, lon, lat, depth\n Sensor: drought_index | fields: level, value, depth, lon\nTask: Fetch lat from rainfall where unit exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\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", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001595", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: qc, lat, type, unit\n Sensor: drought_index | fields: lat, lon, reading, qc\nTask: Get lat from rainfall where value exceeds the average depth from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001596", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, level, value, ts\n Sensor: evaporation | fields: value, level, type, lat\nTask: Retrieve lon from visibility whose ts is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001597", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lat, unit, qc, reading\n Sensor: lightning | fields: value, level, lon, qc\nTask: Get lon from uv_index where depth exceeds the total reading from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001598", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lat, level, reading, value\n Sensor: snow_depth | fields: qc, type, lat, reading\nTask: Fetch lat from wind_speed where value is greater than the minimum of reading in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001599", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, ts, lat, level\n Sensor: dew_point | fields: lat, reading, depth, unit\nTask: Get level from rainfall where depth exceeds the maximum depth from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001600", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: level, qc, unit, reading\n Sensor: temperature | fields: depth, value, qc, ts\nTask: Retrieve level from uv_index with depth above the AVG(value) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001601", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, lat, level, qc\n Sensor: pressure | fields: value, qc, lon, depth\nTask: Get level from turbidity where depth appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001602", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, lat, ts, qc\n Sensor: snow_depth | fields: value, unit, qc, ts\nTask: Get reading from air_quality where value exceeds the minimum value from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001603", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, depth, lon, value\n Sensor: lightning | fields: type, reading, level, lon\nTask: Retrieve level from pressure with reading above the AVG(depth) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001604", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, level, lat, ts\n Sensor: humidity | fields: depth, lat, type, ts\nTask: Fetch lat from visibility where qc 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=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001605", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lat, level, reading, value\n Sensor: turbidity | fields: depth, lat, qc, value\nTask: Fetch reading from air_quality where unit exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001606", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: ts, lat, lon, level\n Sensor: soil_moisture | fields: type, lat, lon, value\nTask: Get lat from drought_index where unit appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001607", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: depth, lat, type, lon\n Sensor: visibility | fields: ts, qc, value, reading\nTask: Fetch lat from turbidity where reading is greater than the average of reading in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001608", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lon, unit, value, lat\n Sensor: turbidity | fields: qc, type, value, lat\nTask: Retrieve lat from snow_depth with reading above the MAX(reading) of turbidity 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(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001609", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: level, reading, lat, unit\n Sensor: lightning | fields: lat, value, depth, reading\nTask: Fetch lon from air_quality that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001610", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: value, type, level, ts\n Sensor: dew_point | fields: reading, level, lon, unit\nTask: Retrieve depth from air_quality that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001611", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: ts, depth, level, lon\n Sensor: air_quality | fields: value, depth, unit, reading\nTask: Get reading from soil_moisture where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001612", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: value, ts, lon, unit\n Sensor: drought_index | fields: type, value, lat, qc\nTask: Retrieve level from soil_moisture whose depth is found in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001613", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: value, lon, qc, lat\n Sensor: snow_depth | fields: reading, depth, type, lon\nTask: Get level from wind_speed where reading exceeds the average reading from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001614", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: level, value, depth, lat\n Sensor: dew_point | fields: type, value, ts, unit\nTask: Get lat from frost where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001615", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, qc, level, ts\n Sensor: frost | fields: unit, value, qc, ts\nTask: Fetch value from dew_point where qc exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001616", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: unit, value, depth, type\n Sensor: soil_moisture | fields: qc, lat, type, unit\nTask: Fetch lat from humidity where reading is greater than the maximum of reading in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "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_fixed_v1_val_001617", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, reading, lat, depth\n Sensor: drought_index | fields: qc, unit, lon, reading\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=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001618", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, lon, reading, unit\n Sensor: humidity | fields: lon, lat, qc, value\nTask: Fetch value from cloud_cover where qc exists in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001619", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: value, depth, lon, qc\n Sensor: evaporation | fields: ts, unit, type, lat\nTask: Fetch lon from drought_index where qc exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001620", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lat, lon, level, qc\n Sensor: snow_depth | fields: unit, lon, value, reading\nTask: Fetch lon from pressure that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001621", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, lat, unit, depth\n Sensor: wind_speed | fields: ts, value, depth, unit\nTask: Fetch value from uv_index where value is greater than the average of reading in wind_speed for matching type.\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(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001622", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, depth, qc, lon\n Sensor: rainfall | fields: lat, value, type, reading\nTask: Fetch depth from visibility that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001623", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lat, level, value, type\n Sensor: evaporation | fields: unit, level, lon, lat\nTask: Fetch lon from rainfall where reading is greater than the count of of depth in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "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_fixed_v1_val_001624", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: reading, type, qc, depth\n Sensor: temperature | fields: lat, reading, qc, depth\nTask: Get level from sunlight where qc appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001625", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: type, level, lat, value\n Sensor: visibility | fields: depth, type, unit, lon\nTask: Fetch depth from humidity where ts exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001626", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: reading, unit, value, type\n Sensor: visibility | fields: type, lat, unit, qc\nTask: Get value from soil_moisture where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001627", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: type, reading, depth, qc\n Sensor: sunlight | fields: qc, level, unit, depth\nTask: Get level from humidity where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001628", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: level, reading, unit, depth\n Sensor: pressure | fields: unit, reading, value, ts\nTask: Get depth from sunlight where unit appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001629", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: level, reading, type, qc\n Sensor: evaporation | fields: unit, level, lon, depth\nTask: Get depth from snow_depth where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001630", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: unit, level, lat, depth\n Sensor: frost | fields: type, depth, level, reading\nTask: Retrieve reading from humidity with reading above the SUM(reading) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001631", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: ts, qc, unit, type\n Sensor: drought_index | fields: depth, qc, unit, lon\nTask: Get value from temperature where qc appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001632", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: level, value, qc, depth\n Sensor: drought_index | fields: type, level, depth, lon\nTask: Get level from soil_moisture where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001633", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: depth, lat, value, reading\n Sensor: turbidity | fields: ts, type, unit, depth\nTask: Fetch level from temperature that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001634", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: qc, unit, reading, type\n Sensor: turbidity | fields: qc, type, reading, unit\nTask: Get lat from pressure where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001635", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lat, lon, ts, reading\n Sensor: frost | fields: lat, type, value, reading\nTask: Fetch value from pressure where unit exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "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_fixed_v1_val_001636", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, lon, depth, reading\n Sensor: pressure | fields: qc, reading, ts, lat\nTask: Retrieve value from turbidity whose depth is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001637", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: reading, unit, type, lat\n Sensor: drought_index | fields: depth, type, ts, value\nTask: Fetch lon from frost where unit exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001638", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: unit, level, qc, lat\n Sensor: uv_index | fields: type, lat, ts, value\nTask: Fetch lat from drought_index where depth exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\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": "drought_index", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001639", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: depth, level, reading, ts\n Sensor: pressure | fields: reading, level, lat, value\nTask: Fetch reading from air_quality where unit exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001640", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lon, ts, depth, lat\n Sensor: turbidity | fields: lat, level, qc, unit\nTask: Get reading from drought_index where reading exceeds the minimum depth from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001641", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lon, value, depth, level\n Sensor: soil_moisture | fields: type, value, ts, unit\nTask: Fetch lat from uv_index that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001642", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, depth, value, lat\n Sensor: uv_index | fields: depth, level, unit, ts\nTask: Get reading from evaporation where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001643", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, reading, level, depth\n Sensor: air_quality | fields: lon, reading, lat, qc\nTask: Fetch lat from evaporation where reading is greater than the total of reading in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001644", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: qc, value, lat, depth\n Sensor: visibility | fields: value, ts, type, lon\nTask: Get value from wind_speed where qc appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001645", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, ts, depth, unit\n Sensor: pressure | fields: depth, unit, reading, value\nTask: Retrieve depth 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=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001646", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, lon, ts, depth\n Sensor: dew_point | fields: unit, level, qc, ts\nTask: Fetch level from pressure where type exists in dew_point sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001647", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, reading, level, unit\n Sensor: frost | fields: unit, reading, ts, qc\nTask: Get level from wind_speed where depth exceeds the minimum value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001648", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: level, ts, lon, lat\n Sensor: wind_speed | fields: value, lat, reading, unit\nTask: Get level from snow_depth where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001649", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, lon, level, depth\n Sensor: soil_moisture | fields: depth, qc, ts, type\nTask: Retrieve level 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=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001650", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, reading, lon, lat\n Sensor: uv_index | fields: type, lat, ts, value\nTask: Get reading from lightning where ts appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001651", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, lat, unit, qc\n Sensor: drought_index | fields: depth, type, value, lon\nTask: Get reading from temperature where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001652", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, depth, type, ts\n Sensor: frost | fields: level, depth, ts, qc\nTask: Fetch depth from turbidity where ts exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001653", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, value, lat, qc\n Sensor: temperature | fields: level, value, lon, unit\nTask: Retrieve reading from wind_speed that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001654", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lat, unit, level, lon\n Sensor: temperature | fields: type, lon, ts, depth\nTask: Retrieve reading from sunlight that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001655", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, value, lon, type\n Sensor: evaporation | fields: ts, qc, level, lon\nTask: Retrieve value from dew_point whose qc is found in evaporation records where qc 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(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001656", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, lon, value, ts\n Sensor: uv_index | fields: qc, ts, lon, unit\nTask: Fetch reading from sunlight that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001657", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, ts, reading, unit\n Sensor: turbidity | fields: reading, lon, value, type\nTask: Fetch depth from sunlight where qc exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001658", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: unit, type, level, reading\n Sensor: evaporation | fields: level, ts, qc, value\nTask: Retrieve depth from soil_moisture that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001659", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, lon, ts, reading\n Sensor: soil_moisture | fields: value, lon, level, reading\nTask: Retrieve level from evaporation that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001660", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, unit, qc, reading\n Sensor: soil_moisture | fields: depth, reading, ts, lon\nTask: Retrieve lon from evaporation whose qc is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001661", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, level, qc, lat\n Sensor: temperature | fields: value, level, reading, unit\nTask: Get value from visibility where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001662", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, type, level, lon\n Sensor: pressure | fields: qc, depth, type, value\nTask: Fetch reading from dew_point that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001663", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: depth, lon, lat, reading\n Sensor: uv_index | fields: unit, lat, level, value\nTask: Fetch lon from dew_point where reading is greater than the count of of reading in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001664", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, level, depth, lon\n Sensor: uv_index | fields: ts, lon, reading, lat\nTask: Retrieve value from wind_speed that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001665", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: unit, qc, lat, depth\n Sensor: soil_moisture | fields: lat, level, depth, ts\nTask: Fetch depth from temperature where reading is greater than the count of of reading in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001666", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: ts, lat, unit, type\n Sensor: snow_depth | fields: reading, value, level, lon\nTask: Get level from frost where qc appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001667", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: type, reading, qc, ts\n Sensor: soil_moisture | fields: lat, level, value, lon\nTask: Retrieve lon from uv_index with value above the MAX(reading) of soil_moisture 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\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001668", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: value, level, qc, type\n Sensor: turbidity | fields: depth, unit, lon, lat\nTask: Fetch depth from visibility where depth is greater than the average of reading in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001669", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, depth, value, type\n Sensor: pressure | fields: type, qc, reading, lon\nTask: Get value from snow_depth where reading exceeds the minimum value from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001670", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, lat, level, type\n Sensor: sunlight | fields: type, level, depth, reading\nTask: Retrieve depth from visibility with depth above the MIN(depth) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "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_fixed_v1_val_001671", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, lon, qc, type\n Sensor: rainfall | fields: value, lon, unit, lat\nTask: Retrieve value from soil_moisture that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001672", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: ts, level, unit, type\n Sensor: air_quality | fields: reading, value, ts, type\nTask: Retrieve value 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=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001673", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, level, depth, ts\n Sensor: air_quality | fields: type, reading, level, value\nTask: Retrieve depth from turbidity whose type is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001674", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: reading, qc, lat, level\n Sensor: dew_point | fields: lat, depth, qc, reading\nTask: Fetch value from snow_depth that have at least one corresponding dew_point measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001675", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: level, ts, lon, unit\n Sensor: pressure | fields: reading, qc, ts, unit\nTask: Fetch lat from frost where qc exists in pressure sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001676", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: type, depth, lon, level\n Sensor: sunlight | fields: level, lon, lat, unit\nTask: Fetch depth from rainfall where ts exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001677", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: qc, lat, level, type\n Sensor: sunlight | fields: lon, value, lat, ts\nTask: Get lon from cloud_cover where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001678", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: reading, value, lon, ts\n Sensor: uv_index | fields: lat, level, ts, value\nTask: Fetch lat from pressure where unit exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001679", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: level, lat, ts, lon\n Sensor: pressure | fields: depth, type, value, ts\nTask: Retrieve lon from cloud_cover whose ts is found in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001680", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: level, value, depth, qc\n Sensor: turbidity | fields: ts, depth, lon, lat\nTask: Fetch level from visibility where depth exists in turbidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001681", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: type, unit, ts, lat\n Sensor: drought_index | fields: type, depth, value, qc\nTask: Fetch lon 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=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001682", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: lat, ts, qc, depth\n Sensor: snow_depth | fields: lon, depth, level, type\nTask: Retrieve reading from lightning whose qc is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001683", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: lat, level, depth, qc\n Sensor: rainfall | fields: ts, value, depth, lat\nTask: Retrieve level from air_quality whose qc is found in rainfall records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001684", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: unit, qc, type, value\n Sensor: drought_index | fields: reading, type, unit, depth\nTask: Retrieve lon from wind_speed with reading above the COUNT(depth) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001685", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lon, depth, lat, reading\n Sensor: humidity | fields: unit, lon, value, type\nTask: Get level from dew_point where ts appears in humidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001686", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, lat, qc, unit\n Sensor: cloud_cover | fields: ts, depth, unit, level\nTask: Retrieve lat from frost with value above the MIN(reading) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "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_fixed_v1_val_001687", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, lon, depth, lat\n Sensor: pressure | fields: unit, level, ts, depth\nTask: Fetch lat from rainfall that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001688", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, depth, value, unit\n Sensor: soil_moisture | fields: level, depth, type, reading\nTask: Fetch level from humidity where unit exists in soil_moisture sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001689", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: value, lon, ts, reading\n Sensor: sunlight | fields: qc, lat, reading, ts\nTask: Fetch lat from drought_index that have at least one corresponding sunlight measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001690", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, qc, lat, ts\n Sensor: humidity | fields: level, qc, unit, lon\nTask: Retrieve lon from visibility that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001691", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, value, depth, unit\n Sensor: uv_index | fields: value, qc, unit, ts\nTask: Get depth from soil_moisture where unit appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001692", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, depth, type, qc\n Sensor: temperature | fields: reading, lat, ts, depth\nTask: Retrieve level from sunlight that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001693", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: level, lon, type, qc\n Sensor: cloud_cover | fields: level, ts, lat, type\nTask: Retrieve value from temperature that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001694", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: level, lon, depth, lat\n Sensor: lightning | fields: lat, value, level, type\nTask: Retrieve lat from drought_index with value above the COUNT(depth) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001695", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, unit, qc, lat\n Sensor: temperature | fields: reading, unit, ts, level\nTask: Fetch lon from drought_index where value is greater than the total of depth in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001696", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: depth, reading, unit, lat\n Sensor: wind_speed | fields: ts, type, qc, unit\nTask: Retrieve lon from soil_moisture whose ts is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\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": "soil_moisture", "inner_table": "wind_speed", "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_fixed_v1_val_001697", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lat, type, reading, unit\n Sensor: wind_speed | fields: lat, level, type, value\nTask: Get level from visibility where depth exceeds the average value from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001698", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: ts, level, unit, qc\n Sensor: rainfall | fields: lat, type, ts, level\nTask: Get level from cloud_cover where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001699", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, unit, lat, level\n Sensor: evaporation | fields: type, depth, value, qc\nTask: Fetch level from frost where depth is greater than the total of value in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001700", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, value, reading, level\n Sensor: rainfall | fields: qc, reading, lon, type\nTask: Get lon from humidity where type appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001701", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: reading, lat, value, type\n Sensor: air_quality | fields: value, ts, depth, level\nTask: Get level from uv_index where unit appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001702", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, lon, level, value\n Sensor: visibility | fields: lat, type, unit, ts\nTask: Retrieve level from frost with reading above the MAX(reading) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001703", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lat, level, qc, reading\n Sensor: sunlight | fields: reading, qc, value, lon\nTask: Get value from snow_depth where reading exceeds the count of reading from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001704", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lon, type, reading, ts\n Sensor: wind_speed | fields: lat, ts, value, type\nTask: Fetch depth from soil_moisture where depth is greater than the minimum of value in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001705", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: qc, lon, level, lat\n Sensor: sunlight | fields: reading, qc, type, unit\nTask: Retrieve lon from humidity that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001706", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, lon, value, lat\n Sensor: rainfall | fields: reading, ts, qc, value\nTask: Fetch value from cloud_cover that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001707", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: qc, lat, depth, value\n Sensor: turbidity | fields: depth, qc, ts, unit\nTask: Retrieve reading from visibility that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001708", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, reading, lat, value\n Sensor: uv_index | fields: depth, qc, lon, ts\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=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001709", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, ts, lon, depth\n Sensor: temperature | fields: level, type, lat, lon\nTask: Retrieve value from rainfall whose type is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001710", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: ts, reading, unit, qc\n Sensor: temperature | fields: unit, reading, lon, ts\nTask: Retrieve reading from lightning whose unit is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001711", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: reading, type, ts, level\n Sensor: wind_speed | fields: ts, reading, lat, unit\nTask: Get depth 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=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001712", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lon, qc, type, reading\n Sensor: frost | fields: ts, unit, level, depth\nTask: Retrieve level from lightning whose ts is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001713", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, type, lon, lat\n Sensor: uv_index | fields: lat, value, level, qc\nTask: Fetch depth from dew_point where type exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001714", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: ts, unit, type, lat\n Sensor: pressure | fields: depth, qc, level, unit\nTask: Retrieve lat from evaporation whose depth is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001715", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, unit, ts, lon\n Sensor: frost | fields: type, qc, lat, ts\nTask: Fetch lat from humidity where depth is greater than the total of depth in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001716", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: type, depth, level, reading\n Sensor: air_quality | fields: value, depth, unit, ts\nTask: Retrieve value from wind_speed with value above the MIN(reading) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\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": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001717", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: type, depth, level, reading\n Sensor: humidity | fields: reading, level, lat, ts\nTask: Retrieve depth from dew_point with value above the COUNT(reading) of humidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001718", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: type, unit, reading, ts\n Sensor: humidity | fields: lat, lon, type, reading\nTask: Retrieve value from dew_point with depth above the COUNT(reading) of humidity readings sharing the same unit.\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(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001719", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, ts, lon, lat\n Sensor: visibility | fields: ts, type, unit, lat\nTask: Fetch lat from soil_moisture where type exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001720", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: ts, depth, level, lon\n Sensor: uv_index | fields: reading, ts, value, lon\nTask: Get lat from frost where type appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001721", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, lat, depth, ts\n Sensor: frost | fields: type, ts, reading, lat\nTask: Retrieve level from cloud_cover with reading above the SUM(reading) of frost 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\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001722", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, ts, unit, value\n Sensor: air_quality | fields: reading, ts, level, qc\nTask: Get lat from drought_index where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001723", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: ts, lon, lat, type\n Sensor: drought_index | fields: ts, type, reading, lon\nTask: Fetch lat from pressure where value is greater than the count of of depth in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001724", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lat, reading, type, unit\n Sensor: sunlight | fields: lon, depth, value, ts\nTask: Fetch lon from drought_index where depth is greater than the count of of reading in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001725", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: ts, unit, depth, qc\n Sensor: frost | fields: ts, lon, qc, value\nTask: Get level from snow_depth where a corresponding entry exists in frost with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001726", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: value, type, unit, lon\n Sensor: air_quality | fields: lat, level, ts, unit\nTask: Fetch lon from wind_speed that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001727", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: reading, unit, level, ts\n Sensor: sunlight | fields: unit, qc, type, ts\nTask: Retrieve depth from drought_index that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001728", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: level, lat, unit, qc\n Sensor: soil_moisture | fields: lat, reading, value, level\nTask: Retrieve value from drought_index that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001729", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: qc, lon, value, lat\n Sensor: evaporation | fields: depth, ts, lon, type\nTask: Fetch reading from turbidity that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001730", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lat, type, level, unit\n Sensor: visibility | fields: type, value, lat, qc\nTask: Fetch lon from snow_depth that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001731", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: level, reading, value, lon\n Sensor: temperature | fields: ts, type, level, unit\nTask: Fetch lon from frost where reading is greater than the total of reading in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001732", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, ts, unit, qc\n Sensor: frost | fields: level, lon, ts, reading\nTask: Retrieve value from turbidity that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001733", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, qc, level, ts\n Sensor: frost | fields: lon, type, reading, qc\nTask: Fetch lon from drought_index where value is greater than the maximum of depth in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001734", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, ts, value, qc\n Sensor: uv_index | fields: unit, lat, depth, value\nTask: Fetch depth from soil_moisture that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001735", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: value, type, depth, level\n Sensor: turbidity | fields: ts, value, reading, depth\nTask: Retrieve reading from sunlight that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001736", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lon, value, level, qc\n Sensor: humidity | fields: ts, reading, lon, depth\nTask: Fetch lat from snow_depth where ts exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001737", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: qc, reading, value, depth\n Sensor: pressure | fields: lon, level, qc, unit\nTask: Fetch lat from frost where reading is greater than the minimum of depth in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001738", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: level, lat, lon, type\n Sensor: temperature | fields: reading, depth, value, ts\nTask: Retrieve depth from visibility with value above the MIN(value) of temperature readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001739", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, lon, qc, ts\n Sensor: visibility | fields: ts, type, lat, qc\nTask: Retrieve level from evaporation whose depth is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001740", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, depth, unit, lat\n Sensor: humidity | fields: depth, lon, value, reading\nTask: Retrieve lat from rainfall with reading above the MAX(value) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001741", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, reading, type, unit\n Sensor: pressure | fields: level, value, depth, lon\nTask: Retrieve reading from rainfall that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001742", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, value, depth, reading\n Sensor: frost | fields: lon, depth, level, ts\nTask: Get depth from rainfall where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001743", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, lat, value, qc\n Sensor: turbidity | fields: value, ts, unit, reading\nTask: Fetch lat from pressure where depth is greater than the average of value in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001744", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, reading, unit, level\n Sensor: cloud_cover | fields: level, lon, depth, lat\nTask: Fetch reading from soil_moisture that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001745", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: depth, value, qc, type\n Sensor: dew_point | fields: ts, reading, lon, unit\nTask: Get level from uv_index where reading exceeds the minimum depth from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001746", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lon, level, lat, depth\n Sensor: lightning | fields: level, unit, lat, ts\nTask: Retrieve reading from snow_depth with depth above the AVG(depth) of lightning readings sharing the same ts.\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(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001747", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: depth, level, reading, ts\n Sensor: snow_depth | fields: level, unit, value, type\nTask: Get lon from wind_speed where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001748", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: depth, qc, ts, lat\n Sensor: frost | fields: reading, lon, depth, value\nTask: Fetch value from humidity where unit 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=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001749", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, ts, reading, type\n Sensor: dew_point | fields: lon, qc, lat, depth\nTask: Get value from snow_depth where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001750", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: reading, value, unit, ts\n Sensor: lightning | fields: lat, level, type, lon\nTask: Fetch depth from pressure where qc exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001751", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, qc, level, ts\n Sensor: wind_speed | fields: depth, unit, ts, type\nTask: Retrieve depth 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=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001752", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, level, qc, type\n Sensor: rainfall | fields: level, lat, ts, type\nTask: Retrieve value from frost with value above the SUM(depth) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001753", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, ts, type, reading\n Sensor: drought_index | fields: reading, type, lat, level\nTask: Fetch reading from evaporation that have at least one corresponding drought_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001754", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: unit, value, lon, qc\n Sensor: cloud_cover | fields: lon, reading, unit, depth\nTask: Fetch reading from snow_depth where depth is greater than the minimum of depth in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001755", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: depth, unit, lon, type\n Sensor: drought_index | fields: lon, reading, value, type\nTask: Get depth from frost where reading exceeds the average depth from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001756", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lon, value, reading, ts\n Sensor: pressure | fields: lon, lat, value, level\nTask: Retrieve reading from wind_speed with reading above the COUNT(value) of pressure readings sharing the same unit.\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(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001757", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, reading, unit, level\n Sensor: drought_index | fields: ts, qc, value, level\nTask: Retrieve reading from air_quality that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001758", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lon, reading, lat, type\n Sensor: lightning | fields: lat, ts, unit, lon\nTask: Get value from humidity where qc appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001759", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: type, reading, lon, value\n Sensor: soil_moisture | fields: ts, level, reading, type\nTask: Fetch depth from visibility where type exists in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001760", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: level, reading, lat, qc\n Sensor: evaporation | fields: lat, ts, level, depth\nTask: Retrieve lat from temperature whose qc is found in evaporation records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001761", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, lat, type, lon\n Sensor: rainfall | fields: lon, unit, level, value\nTask: Retrieve level from humidity that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001762", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: qc, value, ts, unit\n Sensor: wind_speed | fields: depth, lat, level, reading\nTask: Fetch level from visibility where depth exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001763", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, ts, level, qc\n Sensor: visibility | fields: unit, ts, value, type\nTask: Fetch depth from frost where depth is greater than the count of of depth in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001764", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: type, ts, depth, value\n Sensor: temperature | fields: depth, level, unit, qc\nTask: Get lat 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=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001765", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: unit, lon, reading, lat\n Sensor: pressure | fields: reading, unit, type, qc\nTask: Fetch level from wind_speed that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001766", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: ts, qc, type, level\n Sensor: evaporation | fields: lat, ts, unit, depth\nTask: Get depth from wind_speed where unit appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001767", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, ts, lon, depth\n Sensor: evaporation | fields: level, ts, type, lat\nTask: Get value from turbidity where ts appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001768", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: unit, lon, ts, depth\n Sensor: rainfall | fields: lon, unit, reading, level\nTask: Retrieve lon 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=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001769", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: ts, lat, level, reading\n Sensor: air_quality | fields: lon, unit, depth, type\nTask: Fetch lat from pressure where value is greater than the count of of depth in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "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_fixed_v1_val_001770", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, ts, unit, value\n Sensor: humidity | fields: type, qc, lat, unit\nTask: Fetch level from sunlight where ts exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001771", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, lat, lon, depth\n Sensor: visibility | fields: lat, type, reading, value\nTask: Retrieve lon from sunlight with value above the MIN(value) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001772", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: type, level, depth, unit\n Sensor: humidity | fields: level, unit, type, ts\nTask: Get reading from pressure where depth exceeds the maximum depth from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001773", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: ts, reading, type, level\n Sensor: frost | fields: ts, value, qc, lat\nTask: Retrieve value from turbidity whose type is found in frost records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001774", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: qc, ts, reading, depth\n Sensor: snow_depth | fields: value, unit, depth, ts\nTask: Fetch level from soil_moisture where value is greater than the maximum of value in snow_depth for matching qc.\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(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001775", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lon, level, value, qc\n Sensor: lightning | fields: level, unit, lat, lon\nTask: Fetch depth 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=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001776", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: depth, lat, lon, reading\n Sensor: frost | fields: reading, qc, value, level\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_fixed_v1_val_001777", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: type, lon, qc, unit\n Sensor: drought_index | fields: lat, level, value, depth\nTask: Fetch depth from dew_point where qc exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001778", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, qc, depth, reading\n Sensor: uv_index | fields: type, qc, value, lon\nTask: Get level from evaporation where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001779", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: type, reading, qc, value\n Sensor: lightning | fields: value, qc, reading, depth\nTask: Get lon from wind_speed where value exceeds the minimum reading from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "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_fixed_v1_val_001780", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, lon, value, lat\n Sensor: cloud_cover | fields: unit, lon, reading, qc\nTask: Fetch depth from humidity where depth exists in cloud_cover sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001781", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: reading, ts, depth, level\n Sensor: soil_moisture | fields: reading, lon, unit, qc\nTask: Fetch level from uv_index where ts exists in soil_moisture sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001782", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: depth, unit, qc, lat\n Sensor: rainfall | fields: lat, qc, value, reading\nTask: Get value from snow_depth where a corresponding entry exists in rainfall with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001783", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, depth, lat, reading\n Sensor: drought_index | fields: level, qc, type, lat\nTask: Get level from dew_point where qc appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001784", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: reading, lat, lon, value\n Sensor: drought_index | fields: unit, reading, ts, type\nTask: Retrieve lat from turbidity whose depth is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001785", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: type, value, qc, level\n Sensor: dew_point | fields: value, level, qc, lon\nTask: Fetch level from temperature where value is greater than the minimum of reading in dew_point for matching 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(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "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_fixed_v1_val_001786", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, unit, lon, depth\n Sensor: sunlight | fields: ts, unit, lon, lat\nTask: Get value from dew_point where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001787", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, lat, reading, value\n Sensor: soil_moisture | fields: level, ts, lon, reading\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=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001788", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: depth, qc, type, lat\n Sensor: soil_moisture | fields: lat, type, unit, ts\nTask: Retrieve reading from snow_depth with value above the SUM(depth) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\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": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001789", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: type, level, qc, ts\n Sensor: pressure | fields: ts, lon, depth, unit\nTask: Retrieve level from drought_index with depth above the AVG(reading) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001790", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, depth, value, type\n Sensor: frost | fields: reading, lat, unit, ts\nTask: Retrieve level from drought_index whose type is found in frost records where type 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(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001791", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: qc, reading, level, lat\n Sensor: turbidity | fields: value, lon, depth, unit\nTask: Retrieve value from evaporation with value above the AVG(depth) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001792", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: qc, unit, lat, reading\n Sensor: cloud_cover | fields: ts, depth, type, value\nTask: Fetch depth from drought_index where depth is greater than the minimum of value in cloud_cover for matching 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=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001793", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, type, lon, unit\n Sensor: rainfall | fields: ts, value, depth, qc\nTask: Fetch level from cloud_cover where value is greater than the count of of value in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001794", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: ts, qc, type, depth\n Sensor: air_quality | fields: depth, lon, qc, ts\nTask: Fetch depth from pressure that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001795", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, type, value, lon\n Sensor: pressure | fields: type, qc, depth, lon\nTask: Fetch reading from turbidity where depth 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=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001796", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: level, depth, reading, lon\n Sensor: pressure | fields: depth, reading, qc, unit\nTask: Get lat from rainfall where qc appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001797", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: reading, type, qc, level\n Sensor: sunlight | fields: unit, level, type, qc\nTask: Get value from evaporation where value exceeds the maximum reading from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001798", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lat, qc, reading, value\n Sensor: snow_depth | fields: unit, depth, qc, value\nTask: Retrieve value from visibility whose depth is found in snow_depth records where ts 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=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001799", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: reading, type, qc, depth\n Sensor: pressure | fields: lon, reading, value, qc\nTask: Retrieve lon from wind_speed that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001800", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: ts, type, value, depth\n Sensor: pressure | fields: reading, lon, qc, ts\nTask: Retrieve lon from dew_point with reading above the MIN(depth) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001801", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: value, depth, type, ts\n Sensor: drought_index | fields: type, lon, unit, depth\nTask: Get lat from evaporation where reading exceeds the count of depth from drought_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001802", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: depth, value, unit, type\n Sensor: cloud_cover | fields: level, lon, lat, value\nTask: Fetch value from temperature where depth is greater than the maximum of reading in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001803", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: reading, qc, lat, value\n Sensor: evaporation | fields: type, value, unit, lon\nTask: Fetch lat from air_quality that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001804", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: depth, lat, level, unit\n Sensor: rainfall | fields: unit, value, type, lon\nTask: Fetch reading from air_quality where reading is greater than the minimum of reading in rainfall for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001805", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, qc, lat, type\n Sensor: rainfall | fields: type, lat, depth, value\nTask: Retrieve depth from sunlight whose type is found in rainfall records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001806", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: type, unit, reading, qc\n Sensor: wind_speed | fields: lon, level, value, ts\nTask: Get reading from turbidity where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001807", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: depth, type, qc, level\n Sensor: visibility | fields: lon, lat, depth, reading\nTask: Get value from lightning where depth exceeds the maximum depth from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001808", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, depth, qc, lat\n Sensor: uv_index | fields: level, depth, type, unit\nTask: Get value from sunlight where type appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001809", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: reading, depth, level, lat\n Sensor: uv_index | fields: level, depth, reading, lat\nTask: Fetch level from snow_depth where depth is greater than the average of depth in uv_index for matching ts.\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(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001810", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: qc, lat, depth, reading\n Sensor: sunlight | fields: ts, depth, type, unit\nTask: Fetch level from turbidity that have at least one corresponding sunlight measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001811", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: reading, lat, depth, level\n Sensor: dew_point | fields: lat, type, ts, level\nTask: Retrieve lat from air_quality with value above the SUM(depth) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001812", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: ts, lon, qc, value\n Sensor: drought_index | fields: lat, unit, level, ts\nTask: Fetch reading from frost where value is greater than the average of depth in drought_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001813", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lat, qc, value, level\n Sensor: temperature | fields: qc, depth, value, ts\nTask: Retrieve depth from snow_depth with depth above the MIN(value) of temperature 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\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001814", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, unit, lat, qc\n Sensor: frost | fields: unit, qc, ts, lon\nTask: Retrieve level from dew_point whose ts is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001815", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lon, type, depth, value\n Sensor: cloud_cover | fields: depth, unit, lat, lon\nTask: Fetch depth from soil_moisture that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001816", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lat, reading, type, level\n Sensor: lightning | fields: value, qc, unit, lat\nTask: Get lon from visibility where depth exceeds the total value from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001817", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, unit, ts, type\n Sensor: drought_index | fields: lon, ts, unit, level\nTask: Fetch lat from air_quality where type exists in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001818", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, lon, ts, reading\n Sensor: frost | fields: reading, unit, type, lon\nTask: Get value from drought_index where value exceeds the minimum value from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001819", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: value, depth, reading, lon\n Sensor: turbidity | fields: qc, lon, depth, ts\nTask: Get level from soil_moisture where depth appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001820", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: value, level, type, reading\n Sensor: cloud_cover | fields: ts, value, lon, reading\nTask: Get lon from rainfall where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001821", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: qc, unit, level, value\n Sensor: frost | fields: type, lon, value, qc\nTask: Get depth from visibility where reading exceeds the minimum value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001822", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, lon, ts, level\n Sensor: temperature | fields: type, level, reading, value\nTask: Get level from pressure where qc appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001823", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, qc, lat, level\n Sensor: humidity | fields: value, depth, lon, level\nTask: Fetch level from pressure where depth is greater than the total of value in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "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_fixed_v1_val_001824", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: depth, value, ts, type\n Sensor: sunlight | fields: qc, reading, value, unit\nTask: Get lat from pressure where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001825", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, level, lat, reading\n Sensor: visibility | fields: value, qc, ts, lon\nTask: Retrieve level from humidity whose qc is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001826", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, lat, ts, depth\n Sensor: visibility | fields: reading, depth, lon, value\nTask: Get lon from frost where unit appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001827", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: level, ts, qc, type\n Sensor: humidity | fields: lon, unit, reading, qc\nTask: Fetch value from uv_index where depth exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001828", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: reading, lat, level, unit\n Sensor: frost | fields: value, depth, level, lon\nTask: Get reading from pressure where value exceeds the maximum value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001829", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: type, level, ts, lon\n Sensor: frost | fields: depth, value, unit, reading\nTask: Get lat from visibility where ts appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001830", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, level, qc, depth\n Sensor: snow_depth | fields: qc, reading, value, level\nTask: Fetch depth from sunlight where unit exists in snow_depth sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001831", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: ts, depth, lat, unit\n Sensor: rainfall | fields: unit, ts, level, type\nTask: Fetch reading from temperature where depth is greater than the average of value in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001832", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lon, level, ts, lat\n Sensor: drought_index | fields: reading, unit, ts, lon\nTask: Get value from temperature where depth exceeds the maximum depth from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "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_fixed_v1_val_001833", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: value, reading, depth, qc\n Sensor: cloud_cover | fields: qc, value, level, ts\nTask: Fetch reading from drought_index where reading is greater than the minimum of value in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001834", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: ts, depth, lat, reading\n Sensor: dew_point | fields: qc, lon, value, unit\nTask: Get level from sunlight where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001835", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: ts, level, lon, lat\n Sensor: visibility | fields: depth, lat, qc, ts\nTask: Retrieve reading from lightning whose ts is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001836", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, depth, type, qc\n Sensor: cloud_cover | fields: ts, type, level, lat\nTask: Retrieve lat from lightning with value above the MIN(depth) of cloud_cover readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001837", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, qc, depth, level\n Sensor: air_quality | fields: reading, unit, type, ts\nTask: Retrieve value 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=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001838", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, type, value, ts\n Sensor: cloud_cover | fields: unit, depth, reading, lat\nTask: Fetch lat from air_quality where depth is greater than the total of depth in cloud_cover for matching depth.\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(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001839", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: qc, reading, ts, depth\n Sensor: lightning | fields: type, qc, reading, value\nTask: Fetch level from sunlight where value is greater than the count of of value in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001840", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lon, ts, level, reading\n Sensor: pressure | fields: type, qc, value, reading\nTask: Retrieve depth from soil_moisture whose qc is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001841", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, unit, level, reading\n Sensor: wind_speed | fields: lon, value, level, qc\nTask: Fetch depth from dew_point where ts exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\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": "dew_point", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001842", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: type, qc, reading, depth\n Sensor: turbidity | fields: level, reading, value, lon\nTask: Fetch reading from air_quality where ts exists in turbidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001843", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: depth, type, value, reading\n Sensor: evaporation | fields: type, qc, unit, level\nTask: Fetch value from soil_moisture where type exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001844", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: reading, lat, value, level\n Sensor: temperature | fields: qc, reading, lon, value\nTask: Get value from dew_point where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001845", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: qc, unit, level, lat\n Sensor: dew_point | fields: type, reading, ts, level\nTask: Get level from frost where qc appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001846", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: reading, qc, unit, level\n Sensor: turbidity | fields: value, qc, level, ts\nTask: Get value from frost where depth exceeds the count of value from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001847", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: type, depth, value, level\n Sensor: uv_index | fields: unit, value, type, level\nTask: Fetch level from pressure where qc exists in uv_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001848", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: depth, lon, lat, type\n Sensor: visibility | fields: reading, depth, ts, lon\nTask: Retrieve reading from snow_depth whose type is found in visibility records where ts 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(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001849", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, type, qc, unit\n Sensor: cloud_cover | fields: reading, level, qc, depth\nTask: Retrieve reading from dew_point whose qc is found in cloud_cover records where unit 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(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001850", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lat, value, lon, qc\n Sensor: rainfall | fields: depth, lat, lon, qc\nTask: Retrieve lat from cloud_cover with depth above the COUNT(depth) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001851", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, lat, ts, reading\n Sensor: air_quality | fields: depth, qc, lon, lat\nTask: Retrieve lon from snow_depth whose qc is found in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001852", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: level, qc, lat, reading\n Sensor: snow_depth | fields: lat, unit, depth, level\nTask: Get reading from drought_index where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001853", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, depth, type, level\n Sensor: evaporation | fields: level, qc, depth, type\nTask: Fetch depth from visibility where depth exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001854", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lat, depth, qc, reading\n Sensor: visibility | fields: depth, lon, type, reading\nTask: Get reading from temperature where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001855", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: depth, value, type, unit\n Sensor: dew_point | fields: unit, ts, value, reading\nTask: Fetch lat from cloud_cover where qc 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=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001856", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: unit, level, value, ts\n Sensor: dew_point | fields: level, type, unit, value\nTask: Retrieve lon from humidity whose type is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001857", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, qc, type, ts\n Sensor: lightning | fields: value, ts, level, lon\nTask: Get depth from dew_point where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001858", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, lon, depth, type\n Sensor: cloud_cover | fields: unit, depth, ts, reading\nTask: Fetch depth from evaporation where reading is greater than the average of reading in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001859", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, reading, qc, type\n Sensor: snow_depth | fields: lat, value, unit, reading\nTask: Get reading from turbidity where reading exceeds the average reading from snow_depth for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001860", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: ts, qc, type, value\n Sensor: rainfall | fields: unit, level, value, type\nTask: Get depth from drought_index where qc appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001861", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, lat, ts, reading\n Sensor: lightning | fields: reading, ts, lat, unit\nTask: Retrieve value from wind_speed that have at least one matching reading in lightning sharing 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=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001862", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: type, value, reading, ts\n Sensor: temperature | fields: lon, lat, ts, reading\nTask: Get depth from uv_index where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001863", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: level, type, ts, lat\n Sensor: uv_index | fields: type, value, lat, depth\nTask: Retrieve level from pressure with value above the COUNT(value) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001864", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, lat, unit, value\n Sensor: dew_point | fields: reading, unit, level, lon\nTask: Retrieve lon from soil_moisture with depth above the COUNT(reading) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001865", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: type, level, ts, lat\n Sensor: evaporation | fields: value, qc, level, lat\nTask: Get value from rainfall where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001866", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: qc, type, unit, depth\n Sensor: air_quality | fields: type, value, ts, reading\nTask: Fetch value from turbidity that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001867", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lon, ts, depth, lat\n Sensor: soil_moisture | fields: unit, depth, lat, ts\nTask: Get reading from uv_index where depth exceeds the maximum depth from soil_moisture for the same depth.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001868", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: type, depth, lat, lon\n Sensor: air_quality | fields: qc, level, unit, reading\nTask: Fetch lat from rainfall where reading is greater than the minimum of value in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001869", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: reading, qc, unit, depth\n Sensor: pressure | fields: qc, depth, value, level\nTask: Fetch reading from humidity that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001870", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lon, unit, lat, qc\n Sensor: sunlight | fields: value, reading, level, lon\nTask: Fetch lat from humidity where depth is greater than the minimum of value in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001871", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: value, lon, level, ts\n Sensor: turbidity | fields: reading, qc, type, level\nTask: Retrieve level from evaporation whose depth is found in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001872", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, unit, lon, ts\n Sensor: rainfall | fields: reading, unit, type, value\nTask: Retrieve value from temperature that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001873", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, lon, type, value\n Sensor: lightning | fields: lon, reading, value, type\nTask: Get reading from rainfall where ts appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001874", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: level, lat, type, depth\n Sensor: snow_depth | fields: reading, level, type, unit\nTask: Retrieve lon from humidity whose depth is found in snow_depth records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001875", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: reading, ts, lon, depth\n Sensor: evaporation | fields: value, qc, reading, depth\nTask: Retrieve level from cloud_cover that have at least one matching reading in evaporation sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\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", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001876", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, ts, depth, lon\n Sensor: turbidity | fields: type, reading, lon, level\nTask: Get lon from pressure where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001877", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: type, depth, reading, ts\n Sensor: turbidity | fields: depth, ts, qc, unit\nTask: Retrieve depth from humidity whose unit is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001878", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, unit, ts, qc\n Sensor: humidity | fields: reading, level, value, unit\nTask: Retrieve lon from lightning with reading above the MIN(depth) of humidity readings sharing 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(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "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_fixed_v1_val_001879", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: value, depth, qc, unit\n Sensor: frost | fields: unit, ts, qc, value\nTask: Retrieve level from evaporation that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "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_fixed_v1_val_001880", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: qc, reading, level, lat\n Sensor: dew_point | fields: level, unit, ts, value\nTask: Fetch lon from frost where depth is greater than the average of value in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001881", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: value, type, lon, reading\n Sensor: evaporation | fields: lon, lat, value, unit\nTask: Get lat 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=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001882", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: value, level, type, qc\n Sensor: uv_index | fields: unit, depth, lon, level\nTask: Get lat from turbidity where a corresponding entry exists in uv_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001883", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, qc, lat, level\n Sensor: rainfall | fields: lon, depth, level, qc\nTask: Get depth from air_quality where type appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001884", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: reading, ts, value, qc\n Sensor: lightning | fields: depth, lat, level, qc\nTask: Get reading from temperature where value exceeds the count of depth from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001885", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, depth, reading, qc\n Sensor: dew_point | fields: lon, type, level, unit\nTask: Get value from humidity where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001886", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, ts, depth, lon\n Sensor: rainfall | fields: lon, value, lat, reading\nTask: Fetch value from uv_index where type 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=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001887", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: ts, type, unit, depth\n Sensor: drought_index | fields: qc, type, unit, lon\nTask: Fetch lat from rainfall that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001888", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, qc, reading, lon\n Sensor: uv_index | fields: reading, lon, lat, qc\nTask: Get lat from turbidity where unit appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001889", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, ts, value, lon\n Sensor: evaporation | fields: qc, lon, ts, value\nTask: Get lat from air_quality where value exceeds the maximum reading from evaporation 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\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001890", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, lon, lat, ts\n Sensor: turbidity | fields: lon, level, type, reading\nTask: Get value from dew_point where unit appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001891", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, qc, level, lat\n Sensor: snow_depth | fields: unit, ts, type, lon\nTask: Fetch level from evaporation that have at least one corresponding snow_depth measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001892", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lat, level, reading, depth\n Sensor: air_quality | fields: level, lat, reading, unit\nTask: Fetch value from evaporation where depth is greater than the average of depth in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001893", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: unit, lon, reading, lat\n Sensor: humidity | fields: lon, level, qc, reading\nTask: Retrieve depth from visibility with reading above the AVG(value) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001894", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: value, depth, ts, lon\n Sensor: rainfall | fields: qc, type, unit, lat\nTask: Retrieve depth from drought_index whose ts is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001895", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: level, qc, lon, depth\n Sensor: snow_depth | fields: depth, unit, ts, lat\nTask: Get lat from rainfall where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001896", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: depth, value, ts, qc\n Sensor: drought_index | fields: unit, value, lat, type\nTask: Fetch depth from humidity where depth is greater than the average of value in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001897", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, ts, qc, type\n Sensor: drought_index | fields: qc, value, reading, unit\nTask: Get reading from evaporation where reading exceeds the total reading from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001898", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: level, value, unit, lat\n Sensor: visibility | fields: lat, reading, lon, qc\nTask: Get level from humidity where ts appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001899", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: type, ts, lat, depth\n Sensor: rainfall | fields: lat, unit, depth, type\nTask: Fetch level from soil_moisture that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001900", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: level, depth, qc, type\n Sensor: humidity | fields: lat, value, lon, reading\nTask: Fetch level from air_quality that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001901", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, value, unit, lon\n Sensor: rainfall | fields: value, lon, level, type\nTask: Fetch level from temperature where depth is greater than the average of reading in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001902", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: qc, value, depth, type\n Sensor: temperature | fields: lon, lat, type, value\nTask: Get lat from cloud_cover where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001903", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, unit, depth, type\n Sensor: uv_index | fields: qc, ts, value, lon\nTask: Retrieve lon from air_quality with depth above the MAX(value) of uv_index 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(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "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_fixed_v1_val_001904", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, qc, level, lat\n Sensor: uv_index | fields: level, depth, lon, value\nTask: Retrieve lat from soil_moisture that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001905", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, reading, depth, level\n Sensor: drought_index | fields: depth, ts, lat, lon\nTask: Get depth from turbidity where unit appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001906", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: depth, ts, lon, type\n Sensor: rainfall | fields: value, unit, depth, lat\nTask: Get lat from cloud_cover where unit appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001907", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: depth, level, lon, unit\n Sensor: snow_depth | fields: lon, value, level, ts\nTask: Get level from humidity where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001908", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, type, value, qc\n Sensor: humidity | fields: depth, value, ts, unit\nTask: Get lon from drought_index where a corresponding entry exists in humidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001909", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, lat, level, lon\n Sensor: humidity | fields: unit, ts, lat, reading\nTask: Get level from dew_point where value exceeds the minimum value from humidity 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\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001910", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, level, lon, value\n Sensor: humidity | fields: qc, ts, type, unit\nTask: Retrieve lon from wind_speed that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001911", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, reading, lat, value\n Sensor: drought_index | fields: lon, depth, type, value\nTask: Fetch value from air_quality where value is greater than the total of depth in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001912", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, ts, unit, depth\n Sensor: dew_point | fields: type, value, lon, reading\nTask: Get reading from temperature where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "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_fixed_v1_val_001913", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: unit, type, reading, depth\n Sensor: snow_depth | fields: value, qc, lat, reading\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=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001914", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: reading, lat, depth, lon\n Sensor: uv_index | fields: ts, value, lon, reading\nTask: Fetch reading from dew_point where ts exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001915", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, reading, level, unit\n Sensor: uv_index | fields: value, ts, qc, level\nTask: Retrieve value from lightning whose depth is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001916", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, qc, type, depth\n Sensor: temperature | fields: ts, reading, depth, unit\nTask: Retrieve lon from cloud_cover whose ts is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001917", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, qc, reading, level\n Sensor: wind_speed | fields: reading, lon, depth, value\nTask: Get reading from sunlight where depth exceeds the count of depth from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "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_fixed_v1_val_001918", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, type, lon, level\n Sensor: pressure | fields: lat, depth, lon, ts\nTask: Get lat from sunlight where qc appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001919", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: level, unit, lon, lat\n Sensor: drought_index | fields: qc, value, ts, lat\nTask: Get lon from temperature where value exceeds the count of depth from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001920", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: reading, lat, lon, value\n Sensor: drought_index | fields: depth, reading, type, qc\nTask: Get depth from uv_index where type appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001921", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lon, depth, value, ts\n Sensor: dew_point | fields: value, level, lon, unit\nTask: Retrieve value from frost with reading above the COUNT(value) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001922", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: value, reading, qc, ts\n Sensor: pressure | fields: reading, value, ts, depth\nTask: Fetch reading from turbidity that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001923", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: value, qc, depth, lat\n Sensor: rainfall | fields: unit, qc, depth, lat\nTask: Fetch value from uv_index that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001924", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: level, lon, depth, lat\n Sensor: humidity | fields: lon, qc, depth, lat\nTask: Retrieve level from lightning that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001925", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: level, lat, depth, lon\n Sensor: pressure | fields: depth, reading, type, unit\nTask: Retrieve lat from visibility whose unit is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001926", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: unit, reading, lat, qc\n Sensor: cloud_cover | fields: unit, lon, reading, ts\nTask: Fetch level from rainfall where value is greater than the minimum of depth in cloud_cover for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\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": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001927", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: reading, level, ts, unit\n Sensor: temperature | fields: lon, unit, reading, value\nTask: Retrieve reading from snow_depth with reading above the MAX(value) of temperature readings sharing the same unit.\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(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001928", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: qc, reading, depth, type\n Sensor: pressure | fields: value, depth, lon, ts\nTask: Retrieve reading from cloud_cover with depth above the AVG(reading) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001929", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: qc, type, level, lat\n Sensor: sunlight | fields: lat, unit, value, lon\nTask: Retrieve lon from lightning whose qc is found in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001930", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lat, ts, qc, reading\n Sensor: cloud_cover | fields: ts, reading, lon, qc\nTask: Fetch lat from pressure where depth is greater than the maximum of value in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001931", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, unit, qc, reading\n Sensor: rainfall | fields: type, lon, reading, ts\nTask: Retrieve value from dew_point with reading above the SUM(value) of rainfall readings sharing the same qc.\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(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001932", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: value, lon, depth, lat\n Sensor: soil_moisture | fields: ts, type, depth, level\nTask: Retrieve lat from snow_depth whose unit is found in soil_moisture records where type 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(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001933", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: value, unit, level, reading\n Sensor: temperature | fields: lon, reading, value, ts\nTask: Retrieve lat from pressure whose qc is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001934", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: qc, depth, type, level\n Sensor: cloud_cover | fields: lon, ts, type, qc\nTask: Get lat from sunlight where ts appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001935", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, level, qc, reading\n Sensor: frost | fields: qc, reading, ts, lat\nTask: Get lat from snow_depth where depth exceeds the count of value from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001936", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, value, ts, qc\n Sensor: temperature | fields: qc, type, lon, level\nTask: Get value from evaporation where depth exceeds the maximum depth from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001937", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, type, ts, qc\n Sensor: pressure | fields: level, lon, type, value\nTask: Fetch reading from uv_index where reading is greater than the total of value in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001938", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: qc, unit, ts, type\n Sensor: lightning | fields: value, qc, reading, ts\nTask: Fetch level from evaporation where qc exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001939", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, type, qc, depth\n Sensor: snow_depth | fields: type, qc, ts, level\nTask: Get lat from rainfall where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001940", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lon, type, depth, lat\n Sensor: dew_point | fields: lat, level, value, lon\nTask: Retrieve level from frost with reading above the MIN(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001941", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: lon, ts, reading, type\n Sensor: wind_speed | fields: qc, lat, depth, level\nTask: Get reading from air_quality where unit appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001942", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: level, ts, reading, depth\n Sensor: dew_point | fields: lon, reading, ts, depth\nTask: Get depth from air_quality where depth exceeds the average depth from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001943", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, unit, lat, depth\n Sensor: snow_depth | fields: type, unit, value, lat\nTask: Fetch lon from frost where ts exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "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_fixed_v1_val_001944", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: ts, lon, level, value\n Sensor: frost | fields: depth, lat, qc, unit\nTask: Fetch depth from air_quality that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001945", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lat, depth, qc, value\n Sensor: pressure | fields: qc, ts, level, reading\nTask: Fetch level from snow_depth where depth is greater than the total of reading in pressure for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001946", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lon, lat, depth, type\n Sensor: visibility | fields: lon, qc, type, value\nTask: Fetch level from air_quality where depth is greater than the count of of reading in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001947", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, lat, value, reading\n Sensor: wind_speed | fields: qc, type, level, reading\nTask: Get lon 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=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001948", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: unit, type, value, reading\n Sensor: air_quality | fields: lat, lon, qc, value\nTask: Fetch lat from lightning where depth is greater than the minimum of value in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001949", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: level, type, reading, lon\n Sensor: turbidity | fields: lon, unit, level, value\nTask: Fetch level from pressure where qc exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001950", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lon, value, lat, level\n Sensor: humidity | fields: type, unit, level, ts\nTask: Get reading from frost where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001951", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lat, reading, value, type\n Sensor: humidity | fields: qc, level, depth, lat\nTask: Fetch value from frost where value is greater than the count of of depth in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001952", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, lon, lat, ts\n Sensor: drought_index | fields: qc, depth, value, level\nTask: Get level from soil_moisture where depth exceeds the maximum reading from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001953", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, level, lat, depth\n Sensor: temperature | fields: depth, level, qc, type\nTask: Retrieve value from cloud_cover with reading above the COUNT(depth) of temperature readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001954", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: value, unit, level, reading\n Sensor: uv_index | fields: ts, level, unit, depth\nTask: Get value from visibility where type appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001955", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: qc, level, type, ts\n Sensor: cloud_cover | fields: level, depth, reading, lon\nTask: Retrieve depth from soil_moisture that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001956", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, lon, depth, lat\n Sensor: visibility | fields: value, ts, unit, reading\nTask: Fetch lon from air_quality where ts exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001957", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: type, depth, value, unit\n Sensor: pressure | fields: ts, qc, depth, reading\nTask: Retrieve reading from rainfall with value above the MIN(reading) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "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_fixed_v1_val_001958", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: depth, level, qc, type\n Sensor: humidity | fields: unit, type, lat, lon\nTask: Fetch reading from evaporation that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001959", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: value, lat, level, type\n Sensor: wind_speed | fields: level, ts, qc, type\nTask: Get lon from air_quality where depth appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001960", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: qc, lat, lon, level\n Sensor: snow_depth | fields: reading, ts, value, lat\nTask: Fetch lon from air_quality where depth is greater than the maximum of depth in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001961", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, level, ts, value\n Sensor: turbidity | fields: reading, value, lat, ts\nTask: Retrieve reading from humidity whose ts is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001962", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, unit, type, ts\n Sensor: wind_speed | fields: reading, unit, lon, level\nTask: Fetch lon 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=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001963", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: type, reading, ts, value\n Sensor: wind_speed | fields: ts, level, unit, lon\nTask: Retrieve lat from cloud_cover with value above the COUNT(depth) of wind_speed readings sharing the same depth.\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(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001964", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: depth, unit, lat, qc\n Sensor: lightning | fields: qc, unit, lon, reading\nTask: Retrieve lat from pressure that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001965", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lat, type, depth, value\n Sensor: wind_speed | fields: qc, type, lon, unit\nTask: Retrieve level from pressure with reading above the AVG(reading) of wind_speed readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001966", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, lon, lat, level\n Sensor: lightning | fields: reading, value, qc, level\nTask: Get reading from soil_moisture where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001967", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: unit, level, reading, value\n Sensor: temperature | fields: lat, unit, qc, ts\nTask: Get value from air_quality where reading exceeds the count of value from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001968", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lon, depth, lat, unit\n Sensor: humidity | fields: reading, lon, unit, qc\nTask: Retrieve lon from snow_depth whose depth is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001969", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lat, qc, ts, value\n Sensor: turbidity | fields: type, lon, reading, ts\nTask: Fetch lat from frost where depth is greater than the maximum of depth in turbidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001970", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: ts, depth, level, type\n Sensor: turbidity | fields: lat, depth, unit, reading\nTask: Retrieve depth from air_quality whose type is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001971", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: reading, unit, lat, depth\n Sensor: air_quality | fields: unit, reading, qc, depth\nTask: Fetch lat from turbidity where ts exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001972", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: type, depth, qc, lat\n Sensor: sunlight | fields: qc, unit, depth, value\nTask: Fetch reading from temperature where ts exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001973", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, type, ts, lon\n Sensor: frost | fields: type, ts, level, qc\nTask: Get lat from cloud_cover where depth appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001974", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, value, unit, qc\n Sensor: turbidity | fields: type, qc, ts, depth\nTask: Retrieve lon from cloud_cover that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001975", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: qc, type, lon, depth\n Sensor: lightning | fields: reading, qc, unit, level\nTask: Fetch lat from turbidity where depth exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001976", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, unit, depth, reading\n Sensor: wind_speed | fields: ts, reading, qc, level\nTask: Get depth from frost where unit appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001977", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: unit, type, level, lon\n Sensor: snow_depth | fields: qc, value, reading, ts\nTask: Retrieve reading from temperature that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001978", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: type, ts, lon, lat\n Sensor: snow_depth | fields: level, qc, ts, reading\nTask: Retrieve depth from visibility with value above the COUNT(value) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001979", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, reading, unit, lat\n Sensor: rainfall | fields: value, lat, lon, reading\nTask: Get lat from air_quality where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001980", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, level, ts, unit\n Sensor: sunlight | fields: ts, lon, type, level\nTask: Get value from uv_index where depth exceeds the maximum value from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001981", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lon, lat, level, ts\n Sensor: lightning | fields: reading, value, level, unit\nTask: Fetch reading from uv_index that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001982", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, lon, unit, value\n Sensor: dew_point | fields: level, value, unit, reading\nTask: Fetch reading from rainfall that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001983", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: lon, lat, unit, value\n Sensor: snow_depth | fields: reading, lon, unit, lat\nTask: Get value from lightning where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001984", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, type, lat, depth\n Sensor: pressure | fields: reading, type, value, level\nTask: Retrieve lat 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=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001985", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, level, unit, reading\n Sensor: wind_speed | fields: lon, qc, unit, reading\nTask: Fetch lon from sunlight that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001986", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: reading, unit, value, level\n Sensor: lightning | fields: value, unit, depth, lat\nTask: Retrieve lat from wind_speed whose type is found in lightning records where ts 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=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001987", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: depth, reading, value, lon\n Sensor: evaporation | fields: lat, value, lon, reading\nTask: Retrieve lat from pressure whose ts 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=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001988", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, ts, value, depth\n Sensor: evaporation | fields: reading, value, qc, level\nTask: Retrieve level from snow_depth that have at least one matching reading in evaporation sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001989", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: ts, qc, lat, unit\n Sensor: frost | fields: reading, value, lat, unit\nTask: Get lat from soil_moisture where value exceeds the total depth from frost for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001990", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: type, lon, depth, lat\n Sensor: uv_index | fields: depth, lon, unit, type\nTask: Get reading from wind_speed where reading exceeds the count of value from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001991", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, qc, type, value\n Sensor: wind_speed | fields: type, level, depth, qc\nTask: Fetch level from cloud_cover where unit exists in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "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_fixed_v1_val_001992", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: unit, value, type, reading\n Sensor: turbidity | fields: ts, lat, unit, value\nTask: Retrieve lon from wind_speed whose ts is found in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001993", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: qc, type, level, ts\n Sensor: temperature | fields: qc, value, reading, unit\nTask: Fetch lat from sunlight where type exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001994", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: type, unit, qc, lon\n Sensor: temperature | fields: unit, lon, level, value\nTask: Get value from lightning where depth appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_001995", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: ts, reading, lat, qc\n Sensor: lightning | fields: unit, level, qc, type\nTask: Retrieve level 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=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001996", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, value, lat, type\n Sensor: humidity | fields: depth, ts, reading, value\nTask: Retrieve lon from air_quality that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001997", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: value, lon, level, ts\n Sensor: dew_point | fields: level, ts, lat, type\nTask: Get level from humidity where reading exceeds the maximum value from dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001998", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, reading, depth, type\n Sensor: rainfall | fields: unit, level, depth, value\nTask: Fetch depth from wind_speed where reading is greater than the count of of reading in rainfall for matching type.\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(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_001999", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: qc, lat, depth, level\n Sensor: humidity | fields: level, lat, ts, value\nTask: Fetch level from soil_moisture where depth exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002000", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lat, unit, type, value\n Sensor: lightning | fields: qc, depth, unit, level\nTask: Fetch lat from turbidity where unit exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002001", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, ts, lon, type\n Sensor: snow_depth | fields: lon, value, ts, level\nTask: Get value from humidity where qc appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002002", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: value, lat, unit, depth\n Sensor: pressure | fields: unit, value, reading, type\nTask: Get value from wind_speed where value exceeds the total reading from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002003", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: qc, ts, type, value\n Sensor: evaporation | fields: ts, lon, value, lat\nTask: Get reading from turbidity where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002004", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: unit, lat, lon, type\n Sensor: evaporation | fields: lon, ts, reading, unit\nTask: Retrieve depth from wind_speed with value above the MIN(value) of evaporation 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(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "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_fixed_v1_val_002005", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, lat, lon, qc\n Sensor: evaporation | fields: unit, reading, ts, depth\nTask: Retrieve lat from rainfall whose type is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002006", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, level, depth, value\n Sensor: temperature | fields: qc, type, value, level\nTask: Get level from soil_moisture where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002007", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, reading, lat, lon\n Sensor: snow_depth | fields: qc, ts, depth, value\nTask: Fetch reading from air_quality where value is greater than the average of depth in snow_depth for matching depth.\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(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "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_fixed_v1_val_002008", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: ts, lat, lon, value\n Sensor: pressure | fields: type, unit, value, qc\nTask: Retrieve reading from drought_index with depth above the SUM(value) of pressure readings sharing 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(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002009", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: depth, lat, level, qc\n Sensor: evaporation | fields: type, level, lat, qc\nTask: Retrieve value from snow_depth whose type is found in evaporation records where type 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(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002010", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: depth, ts, level, unit\n Sensor: visibility | fields: ts, value, qc, type\nTask: Retrieve lat from evaporation whose ts is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002011", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: level, value, reading, type\n Sensor: uv_index | fields: lon, qc, reading, unit\nTask: Retrieve value from humidity with value above the COUNT(depth) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002012", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: ts, type, value, unit\n Sensor: pressure | fields: lat, depth, reading, level\nTask: Get reading from wind_speed where depth appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002013", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: type, depth, qc, lat\n Sensor: wind_speed | fields: lon, lat, depth, unit\nTask: Retrieve depth from visibility with depth above the MAX(depth) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002014", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, reading, lon, qc\n Sensor: air_quality | fields: value, type, depth, ts\nTask: Get depth from sunlight where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002015", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lon, unit, qc, level\n Sensor: snow_depth | fields: qc, ts, type, level\nTask: Retrieve depth 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=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002016", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: level, reading, value, lat\n Sensor: evaporation | fields: lat, type, unit, depth\nTask: Get depth from turbidity where ts appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002017", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: qc, type, lon, lat\n Sensor: turbidity | fields: lat, unit, value, reading\nTask: Fetch lon from soil_moisture that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002018", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: value, qc, lat, reading\n Sensor: temperature | fields: lat, reading, level, value\nTask: Fetch depth from visibility where depth exists in temperature 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(\"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", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002019", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: reading, type, level, ts\n Sensor: rainfall | fields: lat, reading, qc, unit\nTask: Retrieve lon from air_quality whose ts is found in rainfall records where unit 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(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002020", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, type, level, lon\n Sensor: evaporation | fields: lon, qc, ts, lat\nTask: Fetch reading from uv_index that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002021", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: value, ts, lat, type\n Sensor: cloud_cover | fields: depth, qc, value, unit\nTask: Retrieve reading from pressure that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\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": "prt", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002022", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, lat, qc, type\n Sensor: snow_depth | fields: depth, value, ts, level\nTask: Get lat from soil_moisture where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002023", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: type, ts, unit, lon\n Sensor: visibility | fields: lon, reading, depth, type\nTask: Fetch value from soil_moisture that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002024", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, ts, type, value\n Sensor: lightning | fields: type, reading, ts, depth\nTask: Fetch lon from cloud_cover where depth exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002025", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: qc, unit, reading, type\n Sensor: soil_moisture | fields: lat, depth, ts, value\nTask: Get lon from visibility where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002026", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: reading, lat, value, lon\n Sensor: humidity | fields: type, unit, value, lon\nTask: Get depth from pressure where value exceeds the average reading from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002027", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: level, depth, ts, lon\n Sensor: cloud_cover | fields: unit, ts, reading, lon\nTask: Fetch value from frost that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002028", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, value, type, ts\n Sensor: sunlight | fields: lat, reading, ts, qc\nTask: Fetch reading from snow_depth where depth exists in sunlight sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002029", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lon, level, depth, ts\n Sensor: air_quality | fields: type, level, reading, lat\nTask: Get lat from lightning where unit appears in air_quality readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002030", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: value, depth, level, unit\n Sensor: visibility | fields: reading, unit, depth, lat\nTask: Get depth from wind_speed where qc appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002031", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: ts, lon, reading, unit\n Sensor: visibility | fields: depth, unit, ts, lat\nTask: Get depth from pressure where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002032", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, level, lon, unit\n Sensor: snow_depth | fields: ts, value, type, qc\nTask: Get value from frost where type appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002033", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lon, reading, unit, level\n Sensor: air_quality | fields: reading, qc, level, lon\nTask: Retrieve lon from dew_point that have at least one matching reading in air_quality sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002034", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: type, depth, reading, level\n Sensor: rainfall | fields: lat, qc, depth, level\nTask: Fetch reading from visibility that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002035", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, unit, depth, value\n Sensor: turbidity | fields: qc, depth, reading, lon\nTask: Retrieve depth 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=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002036", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lat, qc, value, unit\n Sensor: frost | fields: ts, value, lon, lat\nTask: Get lat from visibility where qc appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002037", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: type, ts, lon, lat\n Sensor: pressure | fields: unit, ts, reading, depth\nTask: Retrieve lat from humidity with value above the MAX(reading) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002038", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: depth, ts, value, level\n Sensor: pressure | fields: lat, qc, lon, level\nTask: Retrieve reading from frost whose qc is found in pressure records where qc 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=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002039", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: level, ts, lat, depth\n Sensor: temperature | fields: qc, lat, value, lon\nTask: Fetch level from sunlight where unit exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002040", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: level, lat, qc, lon\n Sensor: air_quality | fields: value, unit, level, depth\nTask: Retrieve value from visibility with depth above the MIN(depth) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002041", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: qc, depth, lat, lon\n Sensor: cloud_cover | fields: lon, type, qc, level\nTask: Get depth from sunlight where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002042", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, lon, ts, reading\n Sensor: pressure | fields: unit, type, reading, lat\nTask: Get value from sunlight where qc appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002043", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: depth, lon, ts, qc\n Sensor: soil_moisture | fields: reading, qc, unit, level\nTask: Get value from air_quality where value exceeds the average value from soil_moisture for the same depth.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002044", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: value, lon, unit, reading\n Sensor: lightning | fields: depth, lon, level, type\nTask: Get reading from evaporation where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002045", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, qc, depth, value\n Sensor: air_quality | fields: qc, lon, depth, type\nTask: Get lon from turbidity where depth exceeds the count of reading from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002046", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: ts, unit, reading, value\n Sensor: frost | fields: reading, level, depth, qc\nTask: Get depth from cloud_cover where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002047", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: type, lon, qc, level\n Sensor: dew_point | fields: depth, lat, ts, unit\nTask: Retrieve lat from turbidity that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002048", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lon, depth, reading, ts\n Sensor: temperature | fields: lat, ts, level, qc\nTask: Retrieve reading from cloud_cover with value above the SUM(value) of temperature readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002049", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, lon, level, value\n Sensor: sunlight | fields: value, depth, lat, reading\nTask: Fetch level from wind_speed where depth is greater than the average of value in sunlight for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "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_fixed_v1_val_002050", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, qc, value, reading\n Sensor: pressure | fields: qc, ts, type, level\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=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002051", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: depth, lat, unit, reading\n Sensor: temperature | fields: unit, ts, qc, value\nTask: Get lon from snow_depth where qc appears in temperature 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(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002052", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lat, reading, type, ts\n Sensor: rainfall | fields: reading, unit, value, qc\nTask: Retrieve lat from uv_index with value above the COUNT(value) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002053", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lat, type, level, ts\n Sensor: soil_moisture | fields: depth, lon, reading, ts\nTask: Retrieve depth from temperature that have at least one matching reading in soil_moisture sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002054", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lon, ts, value, level\n Sensor: humidity | fields: reading, ts, lat, depth\nTask: Retrieve reading from visibility with value above the MAX(depth) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "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_fixed_v1_val_002055", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lon, reading, depth, ts\n Sensor: lightning | fields: ts, type, lon, value\nTask: Retrieve reading from pressure that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002056", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: level, depth, ts, lat\n Sensor: rainfall | fields: unit, reading, value, level\nTask: Retrieve lat from sunlight with value above the MIN(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(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002057", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: qc, type, value, reading\n Sensor: dew_point | fields: type, lon, qc, reading\nTask: Retrieve lon from uv_index with value above the COUNT(reading) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002058", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: type, unit, ts, qc\n Sensor: uv_index | fields: reading, ts, lon, qc\nTask: Fetch value from visibility that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002059", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, ts, unit, qc\n Sensor: visibility | fields: type, depth, lat, lon\nTask: Retrieve value from snow_depth that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002060", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: qc, lat, type, level\n Sensor: cloud_cover | fields: lat, level, value, reading\nTask: Get value from humidity where value exceeds the maximum reading from cloud_cover for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002061", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: depth, lat, ts, qc\n Sensor: frost | fields: ts, type, depth, unit\nTask: Get value from evaporation where reading exceeds the maximum depth from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002062", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, type, depth, qc\n Sensor: humidity | fields: lon, depth, level, reading\nTask: Retrieve reading from visibility with reading above the MIN(value) of humidity 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(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002063", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lon, depth, ts, type\n Sensor: visibility | fields: lon, reading, qc, level\nTask: Get lon from dew_point where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002064", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lat, reading, type, value\n Sensor: turbidity | fields: unit, lon, reading, lat\nTask: Fetch lat from uv_index where value is greater than the count of of depth in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002065", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: depth, qc, ts, lat\n Sensor: dew_point | fields: ts, level, depth, lat\nTask: Get depth from evaporation where value exceeds the maximum value from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002066", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, type, level, depth\n Sensor: turbidity | fields: ts, type, lat, depth\nTask: Retrieve level from cloud_cover whose type is found in turbidity records where depth 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(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002067", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: value, level, unit, qc\n Sensor: evaporation | fields: unit, lon, reading, level\nTask: Fetch value 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=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002068", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, level, reading, ts\n Sensor: rainfall | fields: unit, type, lon, qc\nTask: Get value from cloud_cover where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002069", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lat, ts, unit, value\n Sensor: pressure | fields: value, lat, qc, unit\nTask: Get lon from uv_index where ts appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002070", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, qc, reading, value\n Sensor: uv_index | fields: ts, lat, level, value\nTask: Fetch lat from drought_index that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002071", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, reading, value, lat\n Sensor: visibility | fields: reading, level, qc, lon\nTask: Fetch lon from frost where reading is greater than the maximum of depth in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002072", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: depth, ts, value, type\n Sensor: rainfall | fields: ts, lon, lat, type\nTask: Retrieve depth from lightning that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002073", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lat, type, value, reading\n Sensor: frost | fields: value, level, type, depth\nTask: Fetch lon from sunlight where depth exists in frost 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(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002074", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: reading, unit, type, depth\n Sensor: humidity | fields: reading, qc, lat, ts\nTask: Retrieve depth from uv_index with value above the MIN(value) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002075", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: level, reading, lon, unit\n Sensor: air_quality | fields: reading, qc, unit, depth\nTask: Retrieve depth from sunlight that have at least one matching reading in air_quality sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "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_fixed_v1_val_002076", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: level, ts, unit, lat\n Sensor: drought_index | fields: lon, unit, ts, qc\nTask: Fetch value from visibility where ts exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002077", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, value, type, ts\n Sensor: snow_depth | fields: level, reading, unit, ts\nTask: Fetch lon from soil_moisture that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002078", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, lat, qc, lon\n Sensor: dew_point | fields: level, value, qc, reading\nTask: Retrieve value from cloud_cover whose unit is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002079", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, level, lat, reading\n Sensor: visibility | fields: depth, ts, qc, type\nTask: Get value from drought_index where depth exceeds the total reading from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002080", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: qc, ts, type, reading\n Sensor: frost | fields: unit, depth, ts, value\nTask: Fetch lat from rainfall where type exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002081", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: unit, type, lat, reading\n Sensor: dew_point | fields: level, ts, value, lat\nTask: Fetch value from air_quality that have at least one corresponding dew_point measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002082", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: value, qc, lat, lon\n Sensor: snow_depth | fields: value, unit, type, lat\nTask: Retrieve reading 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=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002083", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lon, reading, depth, type\n Sensor: wind_speed | fields: lon, reading, ts, unit\nTask: Fetch reading from evaporation where value is greater than the total of value in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002084", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: value, lon, type, qc\n Sensor: sunlight | fields: lon, reading, depth, value\nTask: Retrieve level from humidity that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002085", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, value, unit, lat\n Sensor: drought_index | fields: type, reading, value, depth\nTask: Retrieve value from cloud_cover with reading above the SUM(depth) of drought_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002086", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: reading, level, qc, lon\n Sensor: evaporation | fields: qc, ts, lat, reading\nTask: Get depth from air_quality where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002087", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: depth, qc, lat, unit\n Sensor: snow_depth | fields: unit, lon, ts, lat\nTask: Retrieve lat from cloud_cover whose type is found in snow_depth records where ts 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(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002088", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: level, lat, qc, depth\n Sensor: snow_depth | fields: depth, reading, qc, lat\nTask: Retrieve lat from frost whose depth is found in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002089", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: depth, type, level, ts\n Sensor: lightning | fields: unit, qc, lat, ts\nTask: Get depth from drought_index where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002090", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: reading, value, level, lat\n Sensor: drought_index | fields: qc, ts, value, level\nTask: Get lat from wind_speed where unit appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002091", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: reading, unit, lon, qc\n Sensor: snow_depth | fields: lon, qc, unit, lat\nTask: Get value from drought_index where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002092", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: value, level, qc, reading\n Sensor: pressure | fields: value, level, ts, reading\nTask: Get value from dew_point where value exceeds the maximum value from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002093", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, lon, type, reading\n Sensor: uv_index | fields: depth, ts, type, lon\nTask: Fetch value from cloud_cover where reading is greater than the count of of value in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002094", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, level, lat, qc\n Sensor: visibility | fields: lon, reading, ts, lat\nTask: Get depth from temperature where value exceeds the total reading from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002095", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: value, ts, lat, type\n Sensor: frost | fields: level, qc, lat, value\nTask: Retrieve reading from lightning that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002096", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: unit, lon, reading, ts\n Sensor: turbidity | fields: value, unit, ts, qc\nTask: Retrieve value from uv_index whose unit is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002097", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, lon, type, depth\n Sensor: visibility | fields: qc, type, level, lon\nTask: Fetch lon from pressure where depth is greater than the total of reading in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002098", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, type, value, reading\n Sensor: soil_moisture | fields: lon, depth, value, lat\nTask: Retrieve lon from temperature whose ts is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002099", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lat, lon, reading, ts\n Sensor: wind_speed | fields: qc, value, lon, reading\nTask: Retrieve level 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=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002100", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, depth, qc, lon\n Sensor: cloud_cover | fields: level, depth, unit, value\nTask: Get level from soil_moisture where qc appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002101", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lon, qc, value, unit\n Sensor: turbidity | fields: ts, value, qc, unit\nTask: Fetch value from pressure that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002102", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: unit, type, ts, lat\n Sensor: soil_moisture | fields: qc, ts, depth, level\nTask: Get value from air_quality where qc appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002103", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: unit, type, level, lat\n Sensor: pressure | fields: reading, ts, qc, unit\nTask: Get lon from snow_depth where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002104", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, reading, ts, lat\n Sensor: lightning | fields: lon, unit, lat, type\nTask: Get lat from humidity where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002105", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: reading, value, lat, type\n Sensor: sunlight | fields: lat, value, type, reading\nTask: Get reading from lightning where unit appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002106", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: level, ts, value, lon\n Sensor: uv_index | fields: qc, reading, level, value\nTask: Get depth from snow_depth where depth exceeds the count of reading from uv_index for the same unit.\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(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002107", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: depth, type, unit, level\n Sensor: lightning | fields: level, value, qc, type\nTask: Fetch reading from uv_index where unit exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002108", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, ts, level, unit\n Sensor: temperature | fields: lat, unit, type, ts\nTask: Retrieve value 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=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002109", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, level, depth, qc\n Sensor: frost | fields: type, ts, qc, reading\nTask: Fetch value from pressure where type exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "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_fixed_v1_val_002110", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, type, ts, depth\n Sensor: sunlight | fields: type, ts, lon, reading\nTask: Retrieve level from temperature that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002111", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, lon, reading, qc\n Sensor: drought_index | fields: level, depth, ts, unit\nTask: Fetch reading from visibility that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002112", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: type, unit, lat, level\n Sensor: wind_speed | fields: level, depth, type, ts\nTask: Fetch lon from rainfall that have at least one corresponding wind_speed measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002113", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, unit, level, depth\n Sensor: humidity | fields: ts, level, unit, reading\nTask: Retrieve value from drought_index with value above the MIN(value) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002114", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, reading, ts, lat\n Sensor: humidity | fields: depth, lon, reading, unit\nTask: Fetch lon from wind_speed where value is greater than the count of of depth in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002115", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, depth, reading, ts\n Sensor: snow_depth | fields: lat, unit, reading, ts\nTask: Fetch level from lightning that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002116", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: ts, lat, value, type\n Sensor: visibility | fields: lat, qc, reading, type\nTask: Get reading from turbidity where reading exceeds the total reading from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002117", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: value, unit, reading, type\n Sensor: uv_index | fields: value, unit, depth, ts\nTask: Fetch reading from visibility where unit exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002118", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lat, unit, reading, level\n Sensor: lightning | fields: level, depth, value, qc\nTask: Fetch depth from drought_index where depth exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002119", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: ts, qc, lon, type\n Sensor: snow_depth | fields: value, type, unit, level\nTask: Get depth from lightning where ts appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002120", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, level, qc, lon\n Sensor: sunlight | fields: unit, ts, reading, depth\nTask: Retrieve level from air_quality with value above the AVG(value) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002121", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, value, reading, type\n Sensor: frost | fields: reading, qc, level, unit\nTask: Fetch level from lightning where ts exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002122", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, lat, reading, ts\n Sensor: evaporation | fields: reading, qc, lon, level\nTask: Get reading from rainfall where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002123", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, lon, depth, ts\n Sensor: temperature | fields: reading, lon, value, unit\nTask: Retrieve reading from turbidity with reading above the SUM(depth) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002124", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, ts, reading, lat\n Sensor: pressure | fields: level, ts, value, qc\nTask: Get value from soil_moisture where depth exceeds the minimum value from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002125", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: depth, type, lat, lon\n Sensor: humidity | fields: unit, level, value, qc\nTask: Retrieve level from turbidity whose unit is found in humidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002126", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, value, unit, level\n Sensor: turbidity | fields: depth, level, type, value\nTask: Retrieve lat from wind_speed that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002127", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: type, lat, unit, depth\n Sensor: rainfall | fields: level, ts, type, qc\nTask: Get lon from snow_depth where qc appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "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_fixed_v1_val_002128", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, type, value, depth\n Sensor: air_quality | fields: qc, lat, reading, unit\nTask: Fetch depth from rainfall where depth exists in air_quality sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002129", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, level, reading, value\n Sensor: lightning | fields: unit, ts, type, depth\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=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002130", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, qc, type, unit\n Sensor: rainfall | fields: lon, ts, lat, type\nTask: Fetch depth from temperature where value is greater than the total of depth in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002131", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, value, ts, reading\n Sensor: frost | fields: reading, unit, ts, qc\nTask: Retrieve reading from soil_moisture with reading above the SUM(reading) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002132", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: value, type, ts, qc\n Sensor: sunlight | fields: level, qc, type, reading\nTask: Retrieve depth from turbidity whose depth is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002133", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: reading, lon, lat, level\n Sensor: sunlight | fields: type, qc, reading, value\nTask: Get reading from snow_depth where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002134", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: qc, unit, type, value\n Sensor: pressure | fields: qc, reading, ts, level\nTask: Retrieve reading from drought_index that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002135", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: type, qc, value, lat\n Sensor: wind_speed | fields: qc, lon, level, ts\nTask: Fetch depth from evaporation where reading is greater than the count of of reading in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002136", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, depth, qc, reading\n Sensor: humidity | fields: reading, level, unit, value\nTask: Fetch value from cloud_cover where depth is greater than the average of depth in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002137", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: qc, ts, level, value\n Sensor: drought_index | fields: type, qc, reading, level\nTask: Get depth from pressure where a corresponding entry exists in drought_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002138", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, ts, qc, lon\n Sensor: sunlight | fields: unit, lon, level, ts\nTask: Fetch value from pressure where depth is greater than the average of value in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002139", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lat, lon, type, unit\n Sensor: turbidity | fields: reading, level, type, unit\nTask: Fetch lon 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=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002140", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: reading, lon, value, depth\n Sensor: rainfall | fields: reading, ts, type, level\nTask: Retrieve lat from pressure whose qc is found in rainfall records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002141", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, depth, unit, ts\n Sensor: humidity | fields: level, lat, depth, unit\nTask: Retrieve reading 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=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002142", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: unit, depth, lon, qc\n Sensor: sunlight | fields: depth, value, qc, type\nTask: Retrieve lon from wind_speed that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002143", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lat, lon, qc, depth\n Sensor: uv_index | fields: unit, qc, lon, depth\nTask: Retrieve reading from turbidity with reading above the MIN(reading) of uv_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002144", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, level, type, depth\n Sensor: dew_point | fields: level, lon, value, ts\nTask: Retrieve reading from wind_speed that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "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_fixed_v1_val_002145", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, lat, ts, depth\n Sensor: humidity | fields: qc, ts, value, depth\nTask: Get depth from soil_moisture where value exceeds the maximum reading from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "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_fixed_v1_val_002146", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: type, level, lat, ts\n Sensor: uv_index | fields: lat, type, ts, level\nTask: Get lon from humidity where depth appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002147", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, value, level, depth\n Sensor: visibility | fields: lon, type, lat, ts\nTask: Retrieve reading from rainfall with depth above the MAX(depth) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002148", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, ts, reading, lat\n Sensor: frost | fields: level, reading, unit, lon\nTask: Fetch lon from turbidity that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002149", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: ts, lat, unit, reading\n Sensor: sunlight | fields: lat, depth, lon, level\nTask: Retrieve lon from rainfall with depth above the MAX(value) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002150", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, qc, lat, value\n Sensor: visibility | fields: lat, depth, level, lon\nTask: Fetch depth from temperature where depth exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002151", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lat, unit, reading, ts\n Sensor: rainfall | fields: unit, ts, lat, level\nTask: Retrieve level from evaporation whose unit is found in rainfall records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002152", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: reading, lat, level, ts\n Sensor: frost | fields: type, lat, reading, level\nTask: Retrieve depth from pressure that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002153", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: ts, type, lat, level\n Sensor: soil_moisture | fields: value, type, level, depth\nTask: Fetch depth from evaporation where reading is greater than the minimum of value in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002154", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, unit, depth, level\n Sensor: pressure | fields: lat, lon, level, reading\nTask: Retrieve lat 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=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002155", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: qc, depth, ts, value\n Sensor: lightning | fields: ts, level, lon, value\nTask: Get lat from visibility where depth exceeds the total value from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002156", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: value, lat, qc, level\n Sensor: snow_depth | fields: lon, unit, qc, lat\nTask: Get reading from air_quality where ts appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002157", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: depth, level, unit, reading\n Sensor: uv_index | fields: level, depth, unit, ts\nTask: Retrieve reading from visibility with depth above the MIN(value) of uv_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002158", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, depth, qc, reading\n Sensor: visibility | fields: depth, value, ts, unit\nTask: Retrieve lat 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=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002159", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, unit, type, lat\n Sensor: drought_index | fields: value, qc, level, reading\nTask: Retrieve lat from lightning that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002160", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, depth, level, qc\n Sensor: soil_moisture | fields: unit, type, depth, lat\nTask: Get depth from sunlight where depth exceeds the minimum depth from soil_moisture for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "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_fixed_v1_val_002161", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, value, level, ts\n Sensor: temperature | fields: depth, type, qc, value\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=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002162", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: depth, value, reading, ts\n Sensor: temperature | fields: value, level, unit, lat\nTask: Fetch lon from pressure that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002163", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lat, reading, ts, qc\n Sensor: sunlight | fields: value, lon, unit, depth\nTask: Get lat from snow_depth where qc appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002164", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lat, unit, level, ts\n Sensor: air_quality | fields: lat, type, reading, value\nTask: Fetch reading from evaporation that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002165", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: depth, type, ts, lat\n Sensor: lightning | fields: type, unit, ts, level\nTask: Get level from cloud_cover where value exceeds the total value from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002166", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lon, qc, value, depth\n Sensor: wind_speed | fields: qc, ts, lon, depth\nTask: Get level from soil_moisture where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002167", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lat, type, qc, ts\n Sensor: air_quality | fields: qc, level, unit, lon\nTask: Retrieve lon 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=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002168", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, qc, type, unit\n Sensor: air_quality | fields: lat, unit, level, type\nTask: Get lat from uv_index where type 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=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002169", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lon, depth, unit, qc\n Sensor: air_quality | fields: lon, depth, value, ts\nTask: Retrieve lat from humidity whose unit is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002170", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, depth, lat, type\n Sensor: sunlight | fields: ts, level, depth, reading\nTask: Retrieve level from wind_speed with depth above the MAX(depth) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002171", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: ts, reading, depth, level\n Sensor: rainfall | fields: reading, qc, value, type\nTask: Fetch level from drought_index where depth is greater than the average of reading in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002172", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: level, unit, value, qc\n Sensor: frost | fields: lat, qc, depth, type\nTask: Get depth from rainfall where a corresponding entry exists in frost with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002173", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, lat, type, qc\n Sensor: soil_moisture | fields: unit, value, type, reading\nTask: Retrieve reading 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=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002174", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: type, qc, value, lat\n Sensor: snow_depth | fields: lon, lat, qc, level\nTask: Retrieve value from evaporation whose unit is found in snow_depth records where depth 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=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002175", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lat, unit, depth, reading\n Sensor: pressure | fields: qc, value, reading, lat\nTask: Get lat from rainfall where depth exceeds the count of reading from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002176", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: depth, level, value, qc\n Sensor: drought_index | fields: depth, type, unit, qc\nTask: Get level from pressure where depth appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002177", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: depth, lon, level, value\n Sensor: wind_speed | fields: lon, level, value, qc\nTask: Retrieve value from cloud_cover that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002178", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: qc, lat, reading, unit\n Sensor: lightning | fields: type, lat, reading, value\nTask: Retrieve depth from sunlight with value above the MIN(depth) of lightning readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "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_fixed_v1_val_002179", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, type, value, level\n Sensor: rainfall | fields: level, lon, depth, ts\nTask: Retrieve value from turbidity whose ts is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002180", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: value, lon, depth, reading\n Sensor: dew_point | fields: lon, ts, level, qc\nTask: Retrieve lat 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=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002181", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, lat, level, unit\n Sensor: visibility | fields: ts, depth, unit, reading\nTask: Fetch level from wind_speed where reading is greater than the count of of depth in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", 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=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002182", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lon, depth, reading, ts\n Sensor: humidity | fields: depth, value, qc, reading\nTask: Fetch lat from wind_speed where depth is greater than the minimum of value in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002183", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: qc, lon, ts, depth\n Sensor: sunlight | fields: type, value, level, qc\nTask: Retrieve level from wind_speed with reading above the MIN(depth) of sunlight 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\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002184", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, reading, ts, value\n Sensor: humidity | fields: depth, qc, lon, unit\nTask: Get value from air_quality where reading exceeds the total reading from humidity 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\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002185", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: reading, lat, type, ts\n Sensor: soil_moisture | fields: qc, reading, depth, lat\nTask: Retrieve lat from wind_speed whose qc is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\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", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002186", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: depth, lat, qc, ts\n Sensor: evaporation | fields: reading, depth, lat, level\nTask: Get lon from uv_index where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002187", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, depth, level, ts\n Sensor: frost | fields: type, depth, level, value\nTask: Get value from rainfall where qc appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002188", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, qc, type, lon\n Sensor: frost | fields: type, lon, value, unit\nTask: Retrieve depth from dew_point that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002189", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, lat, depth, type\n Sensor: visibility | fields: depth, value, lat, type\nTask: Fetch depth 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=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002190", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: reading, value, level, lon\n Sensor: evaporation | fields: depth, level, reading, type\nTask: Fetch lat from drought_index that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002191", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: level, value, unit, ts\n Sensor: cloud_cover | fields: lon, level, value, ts\nTask: Get value from snow_depth where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002192", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: depth, value, level, type\n Sensor: humidity | fields: unit, qc, value, ts\nTask: Retrieve level from frost that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002193", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: depth, lon, unit, value\n Sensor: humidity | fields: lon, lat, unit, ts\nTask: Fetch depth from uv_index that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002194", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, type, value, reading\n Sensor: humidity | fields: value, ts, lon, type\nTask: Fetch lat from turbidity that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002195", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: value, level, ts, lon\n Sensor: evaporation | fields: level, lon, qc, lat\nTask: Retrieve lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002196", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: reading, level, ts, value\n Sensor: dew_point | fields: value, unit, type, depth\nTask: Fetch lon from drought_index where ts exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002197", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, depth, value, lat\n Sensor: drought_index | fields: depth, level, reading, qc\nTask: Get reading from evaporation where depth appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "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_fixed_v1_val_002198", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, lon, qc, type\n Sensor: turbidity | fields: type, level, ts, lon\nTask: Fetch lon from visibility where type exists in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002199", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, lon, unit, value\n Sensor: soil_moisture | fields: level, unit, lon, qc\nTask: Get depth from air_quality where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002200", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, qc, lon, type\n Sensor: rainfall | fields: depth, lat, level, unit\nTask: Get level from humidity where a corresponding entry exists in rainfall with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002201", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, depth, qc, lon\n Sensor: snow_depth | fields: depth, unit, value, reading\nTask: Fetch value from soil_moisture where type exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002202", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, value, unit, lon\n Sensor: visibility | fields: type, depth, ts, value\nTask: Get level from humidity where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002203", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: value, unit, reading, level\n Sensor: sunlight | fields: level, lat, type, depth\nTask: Get reading from dew_point where qc appears in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002204", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: unit, value, level, qc\n Sensor: sunlight | fields: value, ts, reading, lon\nTask: Get lon from air_quality where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002205", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: value, type, reading, ts\n Sensor: soil_moisture | fields: lon, lat, type, value\nTask: Retrieve depth from sunlight with depth above the MIN(depth) of soil_moisture readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002206", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, depth, level, ts\n Sensor: drought_index | fields: depth, value, lon, unit\nTask: Retrieve level from sunlight that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002207", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, ts, reading, lon\n Sensor: uv_index | fields: lon, type, ts, depth\nTask: Get level from temperature where a corresponding entry exists in uv_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002208", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, qc, lat, unit\n Sensor: temperature | fields: qc, type, ts, lat\nTask: Get lat from pressure where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002209", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: level, value, ts, lat\n Sensor: rainfall | fields: qc, ts, lat, depth\nTask: Fetch reading from cloud_cover where reading is greater than the total of reading in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002210", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: level, type, ts, lat\n Sensor: turbidity | fields: lon, lat, ts, value\nTask: Fetch lon from air_quality where depth is greater than the total of reading in turbidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002211", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: ts, reading, unit, level\n Sensor: rainfall | fields: level, value, unit, type\nTask: Retrieve reading from sunlight that have at least one matching reading in rainfall sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002212", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: unit, lat, level, value\n Sensor: temperature | fields: lon, type, level, depth\nTask: Get depth from humidity where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002213", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: value, reading, lon, ts\n Sensor: temperature | fields: depth, ts, value, qc\nTask: Retrieve reading from wind_speed whose ts is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002214", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, unit, value, lon\n Sensor: snow_depth | fields: unit, level, reading, type\nTask: Get lat from dew_point where ts appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002215", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lon, type, qc, ts\n Sensor: turbidity | fields: level, lat, type, lon\nTask: Fetch reading from cloud_cover where reading is greater than the maximum of value in turbidity for matching ts.\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(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002216", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, reading, value, lat\n Sensor: wind_speed | fields: lat, unit, level, lon\nTask: Get reading from humidity where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002217", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: level, ts, value, reading\n Sensor: air_quality | fields: type, qc, level, ts\nTask: Get lat from drought_index where qc appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002218", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, reading, value, lat\n Sensor: frost | fields: depth, lat, level, type\nTask: Retrieve depth from humidity with reading above the AVG(reading) of frost readings sharing the same type.\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=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002219", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, lat, level, depth\n Sensor: rainfall | fields: depth, value, reading, unit\nTask: Fetch reading from turbidity that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002220", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: level, lat, ts, type\n Sensor: drought_index | fields: level, qc, depth, ts\nTask: Get level from soil_moisture where reading exceeds the maximum value from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002221", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, depth, reading, value\n Sensor: drought_index | fields: type, level, depth, lat\nTask: Get level from frost where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002222", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: ts, type, lon, depth\n Sensor: cloud_cover | fields: lon, lat, value, type\nTask: Retrieve lon from air_quality with depth above the AVG(value) of cloud_cover readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002223", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, qc, value, level\n Sensor: frost | fields: value, reading, ts, depth\nTask: Fetch depth from sunlight where qc exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002224", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: value, reading, lat, type\n Sensor: uv_index | fields: level, unit, lat, lon\nTask: Retrieve value from pressure with depth above the AVG(depth) of uv_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002225", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: reading, lon, level, qc\n Sensor: dew_point | fields: lat, reading, lon, qc\nTask: Get lon from lightning where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002226", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, level, reading, lat\n Sensor: snow_depth | fields: qc, lon, type, depth\nTask: Retrieve level from rainfall that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002227", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: qc, level, lon, ts\n Sensor: lightning | fields: value, lat, ts, type\nTask: Fetch depth from wind_speed where depth exists in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002228", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: reading, type, lat, lon\n Sensor: lightning | fields: type, value, lat, reading\nTask: Fetch value from cloud_cover where reading is greater than the maximum of value in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002229", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, value, type, reading\n Sensor: visibility | fields: value, depth, lat, lon\nTask: Get reading from turbidity where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002230", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, lat, type, lon\n Sensor: soil_moisture | fields: lon, qc, lat, depth\nTask: Fetch lat from dew_point where value is greater than the total of value in soil_moisture for matching type.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002231", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, level, value, type\n Sensor: evaporation | fields: reading, unit, lon, ts\nTask: Fetch reading from rainfall where value is greater than the average of depth in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002232", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: level, depth, value, ts\n Sensor: sunlight | fields: value, depth, qc, type\nTask: Retrieve level from soil_moisture whose depth is found in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002233", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: type, unit, value, level\n Sensor: uv_index | fields: qc, lon, unit, depth\nTask: Retrieve level from visibility that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002234", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: depth, reading, value, ts\n Sensor: air_quality | fields: qc, reading, lon, lat\nTask: Retrieve lat from humidity whose type is found in air_quality records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002235", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: level, depth, lon, unit\n Sensor: sunlight | fields: ts, depth, qc, level\nTask: Retrieve value from pressure whose unit is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002236", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: reading, lat, unit, level\n Sensor: turbidity | fields: lat, unit, ts, level\nTask: Get level from dew_point where depth exceeds the count of depth from turbidity for the same depth.\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(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002237", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: ts, lat, value, qc\n Sensor: uv_index | fields: qc, unit, lon, type\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=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002238", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: ts, value, depth, type\n Sensor: rainfall | fields: level, ts, lon, value\nTask: Get level from visibility where type appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002239", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, type, ts, reading\n Sensor: wind_speed | fields: qc, reading, ts, lon\nTask: Fetch lat from lightning where unit exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002240", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: depth, ts, lat, level\n Sensor: snow_depth | fields: value, ts, depth, reading\nTask: Fetch reading from humidity where reading is greater than the total of reading in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002241", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: level, lat, qc, depth\n Sensor: dew_point | fields: depth, ts, qc, value\nTask: Get lon from uv_index where qc appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "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_fixed_v1_val_002242", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lat, value, type, qc\n Sensor: humidity | fields: lat, lon, value, unit\nTask: Fetch lat from evaporation where reading is greater than the average of value in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002243", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lat, ts, depth, qc\n Sensor: uv_index | fields: reading, value, level, qc\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=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002244", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, lon, qc, reading\n Sensor: uv_index | fields: depth, unit, lat, qc\nTask: Get depth from cloud_cover where type appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002245", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, type, lon, level\n Sensor: rainfall | fields: value, lat, lon, type\nTask: Retrieve reading from cloud_cover with reading above the MAX(reading) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002246", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, unit, qc, lon\n Sensor: snow_depth | fields: lat, depth, type, qc\nTask: Fetch reading from temperature that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002247", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lat, type, level, unit\n Sensor: visibility | fields: value, lat, ts, unit\nTask: Get depth from soil_moisture where depth exceeds the total value from visibility for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002248", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: level, lat, lon, type\n Sensor: sunlight | fields: depth, type, ts, qc\nTask: Retrieve reading from turbidity with reading above the MAX(depth) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002249", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, lon, depth, lat\n Sensor: frost | fields: lat, qc, depth, type\nTask: Fetch reading from temperature where unit exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002250", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: level, depth, lat, value\n Sensor: evaporation | fields: lat, value, level, unit\nTask: Fetch lon from sunlight where value is greater than the count of of reading in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002251", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: type, level, lat, value\n Sensor: temperature | fields: level, lat, reading, unit\nTask: Fetch lon from frost where depth is greater than the average of depth in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002252", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: depth, unit, qc, reading\n Sensor: dew_point | fields: depth, value, reading, qc\nTask: Fetch value from evaporation where depth exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002253", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, depth, lon, qc\n Sensor: drought_index | fields: reading, lon, level, value\nTask: Retrieve reading from dew_point that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002254", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lon, level, qc, lat\n Sensor: cloud_cover | fields: value, ts, reading, type\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=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "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_fixed_v1_val_002255", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: unit, lon, reading, type\n Sensor: rainfall | fields: lon, lat, ts, unit\nTask: Get level from lightning where reading exceeds the minimum depth from rainfall for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002256", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, lat, reading, unit\n Sensor: turbidity | fields: value, qc, unit, ts\nTask: Retrieve lon from sunlight whose type is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002257", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: value, ts, depth, qc\n Sensor: soil_moisture | fields: unit, value, depth, lon\nTask: Get value from sunlight where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002258", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: unit, lat, type, ts\n Sensor: humidity | fields: qc, lat, depth, ts\nTask: Retrieve depth from rainfall with value above the MIN(value) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002259", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: unit, depth, reading, value\n Sensor: wind_speed | fields: unit, depth, lon, level\nTask: Retrieve lon 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=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002260", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, lon, reading, ts\n Sensor: turbidity | fields: reading, ts, level, depth\nTask: Retrieve value from wind_speed whose ts is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002261", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, lat, qc, ts\n Sensor: dew_point | fields: lat, depth, reading, type\nTask: Get lat from turbidity where depth appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002262", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, type, ts, lat\n Sensor: visibility | fields: depth, qc, level, lon\nTask: Get lon from soil_moisture where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002263", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: ts, qc, depth, reading\n Sensor: humidity | fields: type, unit, lon, ts\nTask: Retrieve lon from wind_speed that have at least one matching reading in humidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002264", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: depth, value, ts, unit\n Sensor: sunlight | fields: lon, type, value, qc\nTask: Retrieve lon from pressure whose unit is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002265", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lon, value, ts, level\n Sensor: air_quality | fields: lon, qc, ts, level\nTask: Get depth from cloud_cover where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002266", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: qc, depth, reading, ts\n Sensor: turbidity | fields: qc, type, reading, unit\nTask: Retrieve value from wind_speed that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002267", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: value, level, reading, ts\n Sensor: rainfall | fields: value, level, qc, lon\nTask: Get level from snow_depth where a corresponding entry exists in rainfall with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002268", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, type, value, depth\n Sensor: drought_index | fields: lon, type, lat, qc\nTask: Get depth from soil_moisture where unit appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002269", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: level, lon, ts, qc\n Sensor: visibility | fields: qc, type, reading, lat\nTask: Retrieve value from evaporation whose unit is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "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_fixed_v1_val_002270", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: ts, level, unit, lon\n Sensor: turbidity | fields: lon, depth, type, qc\nTask: Get value from snow_depth where value exceeds the count of reading from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002271", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: unit, depth, value, qc\n Sensor: visibility | fields: type, lat, reading, ts\nTask: Fetch level from drought_index where type exists in visibility sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002272", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, reading, depth, type\n Sensor: snow_depth | fields: ts, type, lat, depth\nTask: Get lon from evaporation where depth appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002273", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lat, value, ts, qc\n Sensor: sunlight | fields: lon, reading, ts, depth\nTask: Retrieve depth from uv_index with depth above the AVG(depth) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "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_fixed_v1_val_002274", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: level, ts, value, unit\n Sensor: cloud_cover | fields: level, lon, reading, type\nTask: Retrieve lat from snow_depth that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002275", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: depth, level, value, reading\n Sensor: pressure | fields: type, lat, ts, depth\nTask: Retrieve lat from visibility that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002276", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lat, type, depth, ts\n Sensor: frost | fields: lon, level, value, ts\nTask: Fetch depth from sunlight that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002277", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: depth, lon, qc, ts\n Sensor: evaporation | fields: ts, qc, unit, lon\nTask: Get level from drought_index where unit appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002278", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, lat, qc, depth\n Sensor: wind_speed | fields: lat, qc, value, depth\nTask: Retrieve value from sunlight with value above the MAX(value) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002279", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: depth, unit, qc, level\n Sensor: cloud_cover | fields: level, depth, ts, lat\nTask: Retrieve level from sunlight whose unit is found in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002280", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lon, reading, qc, type\n Sensor: sunlight | fields: qc, lat, depth, lon\nTask: Fetch level from frost that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002281", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, ts, reading, value\n Sensor: soil_moisture | fields: reading, value, ts, lat\nTask: Get lon from snow_depth where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002282", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: depth, value, qc, reading\n Sensor: humidity | fields: value, level, lon, depth\nTask: Get level from rainfall where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002283", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: lon, reading, level, lat\n Sensor: turbidity | fields: reading, lon, ts, unit\nTask: Retrieve reading from lightning that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002284", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lon, level, type, reading\n Sensor: rainfall | fields: level, lon, unit, type\nTask: Get value from cloud_cover where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002285", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lon, reading, level, qc\n Sensor: visibility | fields: reading, value, lat, ts\nTask: Fetch value from uv_index that have at least one corresponding visibility measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002286", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lat, reading, level, lon\n Sensor: snow_depth | fields: qc, lon, reading, unit\nTask: Fetch depth from wind_speed where unit exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002287", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: type, level, ts, value\n Sensor: snow_depth | fields: level, lat, type, qc\nTask: Get depth from visibility where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002288", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lon, reading, qc, type\n Sensor: temperature | fields: lat, depth, qc, type\nTask: Retrieve lon 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=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002289", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, qc, level, ts\n Sensor: dew_point | fields: lat, depth, value, level\nTask: Get lon from air_quality where reading exceeds the count of reading from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002290", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: qc, value, lon, lat\n Sensor: turbidity | fields: lon, type, ts, value\nTask: Retrieve value from air_quality whose depth is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002291", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | 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=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002292", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: reading, lon, depth, qc\n Sensor: humidity | fields: lat, ts, depth, value\nTask: Get reading from rainfall where qc appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002293", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, value, ts, qc\n Sensor: turbidity | fields: type, unit, ts, reading\nTask: Retrieve level from uv_index with value above the SUM(value) of turbidity 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\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002294", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, reading, level, depth\n Sensor: uv_index | fields: lat, lon, depth, type\nTask: Fetch lon from temperature where qc exists in uv_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002295", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lat, reading, qc, lon\n Sensor: temperature | fields: ts, level, value, unit\nTask: Get reading from cloud_cover where depth appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002296", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: level, type, lon, ts\n Sensor: wind_speed | fields: level, lon, ts, depth\nTask: Retrieve value from turbidity whose type is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002297", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, lon, level, ts\n Sensor: pressure | fields: type, unit, ts, depth\nTask: Get value from rainfall where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\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": "ref", "inner_alias": "mbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002298", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lon, reading, qc, ts\n Sensor: visibility | fields: ts, type, value, qc\nTask: Fetch lat from frost that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002299", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: type, qc, reading, depth\n Sensor: rainfall | fields: qc, reading, value, unit\nTask: Get level from visibility where type appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002300", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: reading, qc, lon, unit\n Sensor: evaporation | fields: depth, level, lat, type\nTask: Retrieve depth from visibility whose ts is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002301", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lon, type, lat, qc\n Sensor: cloud_cover | fields: depth, level, ts, unit\nTask: Get lon from wind_speed where type appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002302", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, value, unit, qc\n Sensor: lightning | fields: value, type, unit, ts\nTask: Fetch reading from wind_speed where type exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002303", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: reading, value, ts, type\n Sensor: dew_point | fields: type, level, lon, unit\nTask: Retrieve level 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=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002304", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: reading, value, qc, type\n Sensor: wind_speed | fields: level, type, value, qc\nTask: Retrieve lon from visibility with value above the AVG(reading) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002305", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: qc, value, lon, type\n Sensor: visibility | fields: lon, depth, ts, unit\nTask: Retrieve value from snow_depth whose depth is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002306", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: unit, qc, level, value\n Sensor: evaporation | fields: value, type, unit, level\nTask: Get level from turbidity where value exceeds the average value from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002307", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, lat, qc, unit\n Sensor: dew_point | fields: value, lon, qc, level\nTask: Retrieve reading from frost with value above the MIN(depth) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002308", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: level, ts, lon, reading\n Sensor: pressure | fields: qc, unit, ts, value\nTask: Retrieve lon from sunlight that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002309", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: reading, value, unit, depth\n Sensor: temperature | fields: type, lat, qc, ts\nTask: Get lon from drought_index where qc appears in temperature 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(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002310", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: ts, lat, unit, value\n Sensor: turbidity | fields: qc, lat, level, value\nTask: Retrieve reading from air_quality with depth above the MIN(depth) of turbidity readings sharing the same ts.\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(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002311", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: type, lon, level, unit\n Sensor: evaporation | fields: ts, unit, qc, type\nTask: Get level from dew_point where reading exceeds the average reading from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "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_fixed_v1_val_002312", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lat, unit, ts, reading\n Sensor: visibility | fields: qc, reading, lat, depth\nTask: Retrieve depth from lightning whose qc 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=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "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_fixed_v1_val_002313", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lat, level, lon, depth\n Sensor: temperature | fields: type, lon, unit, value\nTask: Fetch level 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=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002314", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, reading, level, value\n Sensor: drought_index | fields: unit, type, lon, depth\nTask: Fetch value from dew_point where ts exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002315", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, reading, type, ts\n Sensor: frost | fields: lon, lat, type, ts\nTask: Get lon from turbidity where ts appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002316", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: reading, value, depth, level\n Sensor: wind_speed | fields: lat, reading, value, unit\nTask: Get lon from uv_index where value exceeds the total reading from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002317", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lon, type, ts, reading\n Sensor: dew_point | fields: value, ts, lat, lon\nTask: Get value from lightning where ts appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "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_fixed_v1_val_002318", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, lon, reading, type\n Sensor: rainfall | fields: reading, depth, unit, level\nTask: Retrieve lon from pressure that have at least one matching reading in rainfall sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002319", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, unit, value, level\n Sensor: soil_moisture | fields: type, lat, depth, unit\nTask: Get lon from pressure where depth appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002320", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, reading, lon, type\n Sensor: frost | fields: lat, lon, level, type\nTask: Fetch level from rainfall where value is greater than the maximum of value in frost for matching 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(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "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_fixed_v1_val_002321", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: ts, qc, type, reading\n Sensor: dew_point | fields: level, depth, qc, value\nTask: Fetch value from pressure where depth exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002322", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: type, depth, lat, ts\n Sensor: temperature | fields: depth, ts, type, value\nTask: Get value from frost where depth appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "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_fixed_v1_val_002323", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, type, depth, ts\n Sensor: snow_depth | fields: unit, ts, level, type\nTask: Retrieve reading from sunlight whose depth is found in snow_depth records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002324", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: level, reading, value, unit\n Sensor: sunlight | fields: qc, value, lat, level\nTask: Fetch value from temperature where reading is greater than the maximum of reading in sunlight for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002325", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: type, unit, level, qc\n Sensor: visibility | fields: type, reading, ts, value\nTask: Retrieve lon from temperature with depth above the SUM(value) of visibility 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\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002326", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, depth, lat, ts\n Sensor: cloud_cover | fields: reading, value, depth, level\nTask: Get value from sunlight where value exceeds the maximum value from cloud_cover for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002327", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: type, lat, value, reading\n Sensor: lightning | fields: level, unit, qc, value\nTask: Get level from temperature where qc appears in lightning readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002328", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lon, level, reading, type\n Sensor: uv_index | fields: type, unit, level, lon\nTask: Retrieve depth from evaporation whose depth is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002329", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: value, unit, reading, qc\n Sensor: soil_moisture | fields: qc, lat, reading, unit\nTask: Fetch reading from snow_depth where reading is greater than the count of of reading in soil_moisture for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002330", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: ts, unit, depth, type\n Sensor: air_quality | fields: reading, value, ts, unit\nTask: Fetch level from temperature where ts exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002331", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: depth, level, lon, value\n Sensor: evaporation | fields: ts, type, reading, lon\nTask: Retrieve lon from pressure with reading above the MIN(value) 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(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002332", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: depth, value, lat, qc\n Sensor: turbidity | fields: qc, type, lat, value\nTask: Fetch level from temperature where type exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002333", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, type, reading, unit\n Sensor: lightning | fields: lon, lat, unit, qc\nTask: Get depth from rainfall where depth exceeds the count of depth from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002334", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: value, lat, depth, level\n Sensor: pressure | fields: lon, unit, value, lat\nTask: Fetch value from humidity where value is greater than the total of depth in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002335", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lon, qc, level, unit\n Sensor: evaporation | fields: depth, ts, qc, value\nTask: Get depth from temperature where type appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002336", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: ts, depth, reading, lat\n Sensor: soil_moisture | fields: unit, value, reading, qc\nTask: Retrieve depth from sunlight with reading above the COUNT(reading) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "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_fixed_v1_val_002337", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: qc, unit, depth, value\n Sensor: evaporation | fields: reading, type, ts, level\nTask: Fetch value from uv_index where depth is greater than the total of depth in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002338", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: unit, level, lat, ts\n Sensor: sunlight | fields: type, reading, qc, level\nTask: Fetch depth from evaporation where value is greater than the count of of value in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002339", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, unit, level, qc\n Sensor: air_quality | fields: level, depth, lat, reading\nTask: Retrieve value from dew_point that have at least one matching reading in air_quality sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002340", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, type, qc, level\n Sensor: soil_moisture | fields: level, type, lat, ts\nTask: Retrieve level from dew_point with depth above the AVG(reading) of soil_moisture 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(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002341", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lon, unit, qc, level\n Sensor: visibility | fields: ts, value, depth, unit\nTask: Retrieve depth from air_quality that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002342", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, reading, lon, level\n Sensor: visibility | fields: reading, type, value, qc\nTask: Fetch reading from snow_depth where type exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002343", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: ts, lat, reading, depth\n Sensor: sunlight | fields: lat, depth, unit, type\nTask: Fetch depth from evaporation where unit exists in sunlight sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002344", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: qc, reading, level, depth\n Sensor: drought_index | fields: type, value, lat, qc\nTask: Get value from frost where depth appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002345", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: level, depth, qc, ts\n Sensor: pressure | fields: value, type, ts, qc\nTask: Retrieve value 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=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002346", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: unit, lat, value, reading\n Sensor: humidity | fields: lat, level, lon, value\nTask: Fetch lon from wind_speed where type exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002347", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, value, unit, type\n Sensor: rainfall | fields: qc, ts, unit, depth\nTask: Retrieve reading from dew_point that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002348", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: qc, depth, value, type\n Sensor: dew_point | fields: lat, type, level, reading\nTask: Retrieve value 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=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002349", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: value, depth, qc, unit\n Sensor: uv_index | fields: depth, level, reading, unit\nTask: Get depth from soil_moisture where reading exceeds the minimum depth from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002350", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lon, reading, value, ts\n Sensor: turbidity | fields: ts, qc, unit, lat\nTask: Retrieve depth 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=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002351", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, ts, type, lon\n Sensor: wind_speed | fields: reading, value, level, ts\nTask: Retrieve lon from temperature whose type is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002352", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, lat, value, qc\n Sensor: rainfall | fields: depth, level, ts, unit\nTask: Get lon from sunlight where depth appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002353", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: type, depth, ts, value\n Sensor: frost | fields: unit, lat, value, reading\nTask: Retrieve level from rainfall with depth above the MAX(value) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "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_fixed_v1_val_002354", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, reading, level, depth\n Sensor: air_quality | fields: qc, ts, type, unit\nTask: Get lat from sunlight where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002355", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, qc, value, lat\n Sensor: frost | fields: level, ts, qc, type\nTask: Retrieve value from dew_point that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002356", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, lon, lat, reading\n Sensor: turbidity | fields: depth, level, type, ts\nTask: Get level from dew_point where ts appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002357", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: depth, level, unit, type\n Sensor: temperature | fields: value, lat, ts, qc\nTask: Fetch level from rainfall where reading is greater than the count of of value in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002358", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: unit, reading, level, lon\n Sensor: cloud_cover | fields: unit, type, ts, depth\nTask: Fetch lon from visibility where depth is greater than the total of depth in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002359", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, depth, qc, lat\n Sensor: rainfall | fields: value, lon, level, type\nTask: Get reading from evaporation where value exceeds the total value from rainfall for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002360", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: type, lon, ts, lat\n Sensor: drought_index | fields: unit, qc, value, level\nTask: Get value from visibility where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002361", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, lon, ts, depth\n Sensor: visibility | fields: reading, lon, type, unit\nTask: Retrieve lat from rainfall whose unit is found in visibility records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002362", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: depth, lat, level, ts\n Sensor: uv_index | fields: qc, lon, ts, level\nTask: Retrieve lon from turbidity with value above the MIN(depth) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002363", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: reading, type, ts, unit\n Sensor: wind_speed | fields: lat, unit, type, value\nTask: Get lat from snow_depth where ts appears in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002364", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: qc, reading, depth, ts\n Sensor: temperature | fields: type, qc, lat, unit\nTask: Retrieve level from pressure whose type is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002365", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, qc, type, lon\n Sensor: snow_depth | fields: value, lon, type, ts\nTask: Get lat 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=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002366", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, type, lat, depth\n Sensor: snow_depth | fields: unit, qc, reading, level\nTask: Fetch level from turbidity where reading is greater than the minimum of depth in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002367", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: unit, depth, lat, lon\n Sensor: turbidity | fields: lon, depth, type, reading\nTask: Retrieve depth from visibility with depth above the MAX(depth) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002368", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: reading, qc, ts, lat\n Sensor: air_quality | fields: value, lon, qc, level\nTask: Retrieve lon from visibility whose ts is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002369", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: reading, lon, type, unit\n Sensor: visibility | fields: type, lon, ts, level\nTask: Fetch level from dew_point where ts exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002370", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lon, reading, depth, ts\n Sensor: air_quality | fields: ts, type, depth, level\nTask: Get level from humidity where type appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002371", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: level, lat, depth, ts\n Sensor: snow_depth | fields: lat, unit, value, ts\nTask: Fetch level from humidity where depth exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002372", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: reading, qc, type, lat\n Sensor: wind_speed | fields: depth, value, level, unit\nTask: Get value from pressure where value exceeds the count of value from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\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": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002373", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, type, depth, lat\n Sensor: rainfall | fields: type, reading, unit, lat\nTask: Retrieve value from visibility that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002374", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: depth, unit, lon, type\n Sensor: pressure | fields: level, lat, qc, 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=\"thr\"),\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": "thr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002375", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: unit, reading, lon, lat\n Sensor: lightning | fields: reading, unit, level, lat\nTask: Get depth from frost where value exceeds the minimum value from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "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_fixed_v1_val_002376", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, depth, lat, qc\n Sensor: cloud_cover | fields: ts, lon, value, level\nTask: Retrieve level 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=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002377", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lon, type, level, lat\n Sensor: wind_speed | fields: unit, depth, value, reading\nTask: Fetch value from cloud_cover where depth is greater than the average of value in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002378", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: value, unit, type, ts\n Sensor: dew_point | fields: ts, value, level, unit\nTask: Retrieve lat from soil_moisture whose qc is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002379", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, qc, level, reading\n Sensor: soil_moisture | fields: type, qc, lat, reading\nTask: Retrieve depth from temperature that have at least one matching reading in soil_moisture sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002380", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: unit, qc, lon, reading\n Sensor: visibility | fields: depth, type, lon, qc\nTask: Retrieve level from frost that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002381", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: level, lon, unit, depth\n Sensor: evaporation | fields: type, ts, unit, depth\nTask: Get level from soil_moisture where depth exceeds the maximum depth from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002382", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, reading, value, depth\n Sensor: turbidity | fields: lon, qc, value, reading\nTask: Get depth from wind_speed where depth exceeds the count of value from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002383", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, qc, reading, depth\n Sensor: turbidity | fields: reading, qc, depth, type\nTask: Retrieve reading from frost whose depth is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002384", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: value, depth, level, ts\n Sensor: turbidity | fields: qc, reading, lat, lon\nTask: Retrieve lat from wind_speed whose unit is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002385", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: ts, lat, lon, depth\n Sensor: evaporation | fields: lon, reading, level, unit\nTask: Fetch lon from lightning where depth is greater than the average of reading in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002386", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: type, ts, lon, level\n Sensor: rainfall | fields: level, ts, value, reading\nTask: Get depth from wind_speed where ts appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002387", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, value, type, qc\n Sensor: turbidity | fields: lon, unit, level, type\nTask: Fetch value from soil_moisture where ts exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002388", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lat, type, qc, ts\n Sensor: soil_moisture | fields: reading, lat, ts, qc\nTask: Fetch lon from rainfall that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002389", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: unit, lon, lat, ts\n Sensor: drought_index | fields: reading, level, type, value\nTask: Get value from humidity where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "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_fixed_v1_val_002390", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: ts, qc, value, lon\n Sensor: lightning | fields: value, lat, level, qc\nTask: Fetch value from temperature where reading is greater than the count of of reading in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002391", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, level, reading, value\n Sensor: rainfall | fields: reading, lon, value, unit\nTask: Get level from drought_index where type appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "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_fixed_v1_val_002392", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, ts, depth, lat\n Sensor: drought_index | fields: level, qc, type, reading\nTask: Fetch level from dew_point where value is greater than the maximum of depth in drought_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002393", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, ts, type, value\n Sensor: dew_point | fields: depth, unit, qc, value\nTask: Retrieve reading from sunlight that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002394", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: ts, qc, type, value\n Sensor: drought_index | fields: unit, lon, lat, qc\nTask: Retrieve lat from snow_depth with reading above the AVG(value) of drought_index readings sharing the same depth.\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=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002395", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: depth, lon, reading, ts\n Sensor: uv_index | fields: reading, level, lat, unit\nTask: Get level from wind_speed where depth exceeds the count of depth from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002396", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: qc, lat, value, depth\n Sensor: air_quality | fields: type, qc, reading, value\nTask: Fetch lat from snow_depth where value is greater than the average of depth in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002397", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: unit, value, level, lat\n Sensor: uv_index | fields: lon, type, depth, value\nTask: Fetch level from dew_point where reading is greater than the total of reading in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002398", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: unit, ts, depth, type\n Sensor: lightning | fields: type, lat, level, depth\nTask: Fetch lat from visibility where reading is greater than the average of value in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002399", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: depth, qc, ts, level\n Sensor: lightning | fields: type, unit, lat, ts\nTask: Retrieve lat from turbidity that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002400", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, lat, reading, depth\n Sensor: sunlight | fields: reading, unit, qc, lon\nTask: Retrieve level from dew_point with reading above the SUM(value) of sunlight readings sharing the same unit.\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(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002401", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, unit, depth, reading\n Sensor: uv_index | fields: value, depth, reading, lat\nTask: Get depth from wind_speed where value exceeds the minimum depth from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002402", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: reading, depth, lon, unit\n Sensor: snow_depth | fields: unit, value, lat, reading\nTask: Retrieve value from cloud_cover that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002403", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: unit, lat, lon, reading\n Sensor: temperature | fields: reading, depth, qc, unit\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=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002404", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, unit, lat, type\n Sensor: drought_index | fields: lat, qc, level, ts\nTask: Fetch reading from rainfall where reading is greater than the average of value in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\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": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002405", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: unit, value, qc, lat\n Sensor: turbidity | fields: lat, reading, type, level\nTask: Retrieve level from drought_index that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002406", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, value, level, ts\n Sensor: visibility | fields: qc, reading, value, depth\nTask: Get level from humidity where ts appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002407", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: depth, unit, level, lat\n Sensor: visibility | fields: level, value, reading, unit\nTask: Get level from lightning where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002408", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: level, lon, reading, type\n Sensor: evaporation | fields: lat, reading, value, depth\nTask: Fetch level from rainfall where type exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002409", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: value, qc, type, reading\n Sensor: temperature | fields: reading, depth, level, value\nTask: Fetch depth from frost where unit exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002410", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: level, type, unit, lon\n Sensor: temperature | fields: lon, lat, value, ts\nTask: Retrieve lat from drought_index whose type is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002411", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: type, lat, value, lon\n Sensor: soil_moisture | fields: unit, reading, qc, lat\nTask: Retrieve value from snow_depth that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002412", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: level, lat, qc, lon\n Sensor: dew_point | fields: reading, unit, qc, lat\nTask: Get level from temperature where unit appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002413", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, value, level, reading\n Sensor: cloud_cover | fields: unit, depth, level, type\nTask: Get lat from snow_depth where a corresponding entry exists in cloud_cover with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002414", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lon, level, value, qc\n Sensor: humidity | fields: lon, type, level, value\nTask: Retrieve level from cloud_cover with depth above the MIN(depth) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002415", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: depth, reading, type, unit\n Sensor: soil_moisture | fields: type, depth, lat, qc\nTask: Fetch value from visibility where depth is greater than the total of value in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002416", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: depth, ts, unit, reading\n Sensor: drought_index | fields: type, unit, depth, value\nTask: Fetch lon from dew_point where depth is greater than the count of of depth in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002417", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lat, reading, unit, value\n Sensor: humidity | fields: unit, type, qc, lon\nTask: Retrieve reading from evaporation that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002418", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: reading, qc, unit, depth\n Sensor: uv_index | fields: value, reading, level, unit\nTask: Fetch reading from lightning where depth is greater than the total of value in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002419", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: unit, lat, type, depth\n Sensor: turbidity | fields: reading, unit, qc, type\nTask: Get depth from snow_depth where unit appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002420", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: unit, lon, value, lat\n Sensor: wind_speed | fields: type, qc, unit, value\nTask: Retrieve reading from snow_depth whose unit is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002421", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: type, qc, unit, lon\n Sensor: turbidity | fields: qc, ts, depth, unit\nTask: Retrieve value from soil_moisture with value above the AVG(value) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002422", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: level, lat, lon, type\n Sensor: turbidity | fields: lon, type, ts, reading\nTask: Get lon from visibility where value exceeds the count of value from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002423", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, qc, lon, ts\n Sensor: drought_index | fields: ts, reading, unit, lon\nTask: Get depth from soil_moisture where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\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": "thr", "inner_alias": "drt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002424", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: depth, ts, qc, lon\n Sensor: turbidity | fields: lat, depth, qc, level\nTask: Fetch lon from uv_index where reading is greater than the maximum of reading in turbidity for matching qc.\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(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002425", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: ts, type, qc, lat\n Sensor: uv_index | fields: ts, reading, lat, depth\nTask: Fetch lon from snow_depth that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002426", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: type, level, lat, unit\n Sensor: evaporation | fields: depth, ts, lat, reading\nTask: Get lon from rainfall where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002427", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: ts, level, unit, depth\n Sensor: evaporation | fields: depth, ts, lat, reading\nTask: Fetch value from frost where value is greater than the maximum of reading in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002428", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: level, type, value, lon\n Sensor: dew_point | fields: reading, lat, lon, ts\nTask: Retrieve value 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=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002429", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: level, unit, depth, qc\n Sensor: cloud_cover | fields: type, depth, ts, qc\nTask: Retrieve depth from air_quality with value above the AVG(reading) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002430", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, unit, ts, value\n Sensor: lightning | fields: lon, value, lat, type\nTask: Fetch lon from drought_index where value is greater than the maximum of reading in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002431", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: reading, type, lon, level\n Sensor: turbidity | fields: value, reading, level, depth\nTask: Fetch lon from lightning that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002432", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, reading, lon, depth\n Sensor: drought_index | fields: reading, lat, ts, depth\nTask: Retrieve lon from humidity with value above the COUNT(reading) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002433", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, lat, qc, lon\n Sensor: lightning | fields: lon, qc, value, lat\nTask: Retrieve level from uv_index that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002434", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: qc, reading, type, value\n Sensor: rainfall | fields: type, value, depth, lon\nTask: Get lon from evaporation where depth exceeds the maximum depth from rainfall for the same ts.\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=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002435", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, qc, value, level\n Sensor: air_quality | fields: depth, qc, unit, ts\nTask: Fetch reading from drought_index where reading is greater than the average of value in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002436", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, qc, depth, value\n Sensor: visibility | fields: type, reading, unit, lat\nTask: Fetch lon from soil_moisture where value is greater than the minimum of depth in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002437", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: qc, ts, depth, level\n Sensor: uv_index | fields: depth, ts, lon, type\nTask: Fetch reading from snow_depth that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002438", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: reading, lon, type, unit\n Sensor: visibility | fields: type, qc, ts, reading\nTask: Get lat from snow_depth where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002439", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: value, lat, reading, type\n Sensor: sunlight | fields: level, unit, type, qc\nTask: Retrieve value from humidity that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002440", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, type, reading, lon\n Sensor: snow_depth | fields: depth, qc, value, type\nTask: Fetch lat from air_quality where depth is greater than the minimum of depth in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "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_fixed_v1_val_002441", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: value, type, lat, level\n Sensor: cloud_cover | fields: qc, depth, lon, unit\nTask: Get lat from dew_point where value exceeds the total depth from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "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_fixed_v1_val_002442", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: qc, value, depth, type\n Sensor: drought_index | fields: value, unit, reading, lon\nTask: Get level from evaporation where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002443", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, qc, reading, level\n Sensor: temperature | fields: unit, qc, lon, depth\nTask: Fetch lat from soil_moisture where unit 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=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002444", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: reading, depth, lat, unit\n Sensor: soil_moisture | fields: lat, reading, unit, lon\nTask: Retrieve lat from dew_point whose ts is found in soil_moisture records where depth 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=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002445", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lat, lon, reading, ts\n Sensor: soil_moisture | fields: level, reading, lon, type\nTask: Fetch lon from temperature where value is greater than the total of value in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002446", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, reading, lat, type\n Sensor: dew_point | fields: level, qc, lat, ts\nTask: Fetch reading from air_quality where unit exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002447", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lon, level, type, reading\n Sensor: frost | fields: lat, depth, level, unit\nTask: Get lat from pressure where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002448", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: depth, reading, lat, lon\n Sensor: soil_moisture | fields: level, depth, type, qc\nTask: Fetch reading from uv_index where reading is greater than the average of value in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002449", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: level, value, ts, depth\n Sensor: evaporation | fields: depth, qc, unit, type\nTask: Fetch reading from lightning that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002450", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, lat, level, qc\n Sensor: turbidity | fields: reading, level, unit, type\nTask: Retrieve lon from rainfall whose type is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002451", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, level, ts, reading\n Sensor: pressure | fields: unit, qc, level, lon\nTask: Fetch reading from rainfall that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002452", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: reading, lat, lon, qc\n Sensor: dew_point | fields: ts, level, value, unit\nTask: Retrieve value from turbidity that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "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_fixed_v1_val_002453", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lat, depth, value, ts\n Sensor: cloud_cover | fields: lat, value, reading, qc\nTask: Fetch reading from visibility where ts exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\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": "visibility", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002454", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: type, lon, lat, ts\n Sensor: drought_index | fields: reading, unit, lat, qc\nTask: Retrieve value from snow_depth with value above the MIN(reading) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002455", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: value, ts, qc, unit\n Sensor: cloud_cover | fields: lon, qc, reading, level\nTask: Fetch reading from visibility where reading is greater than the average of value in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002456", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: depth, lon, value, reading\n Sensor: wind_speed | fields: ts, qc, depth, type\nTask: Fetch lat from dew_point where depth is greater than the maximum of reading in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002457", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: value, depth, reading, level\n Sensor: rainfall | fields: qc, unit, ts, reading\nTask: Retrieve lon from evaporation that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002458", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, ts, value, reading\n Sensor: humidity | fields: type, qc, depth, lon\nTask: Retrieve level from rainfall that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002459", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: ts, lon, level, depth\n Sensor: temperature | fields: lon, value, type, qc\nTask: Retrieve reading from drought_index whose type is found in temperature records where unit 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(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002460", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: level, depth, value, lat\n Sensor: evaporation | fields: unit, lat, level, type\nTask: Fetch lon from sunlight where reading is greater than the total of depth in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002461", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: unit, qc, ts, reading\n Sensor: sunlight | fields: unit, ts, reading, type\nTask: Fetch level from humidity that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002462", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: reading, level, depth, ts\n Sensor: humidity | fields: unit, value, depth, reading\nTask: Retrieve value from visibility that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002463", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: ts, lat, value, qc\n Sensor: rainfall | fields: depth, level, reading, ts\nTask: Fetch level from temperature where type exists in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002464", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lon, lat, depth, type\n Sensor: snow_depth | fields: value, ts, unit, lat\nTask: Get level from humidity where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002465", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: type, unit, level, ts\n Sensor: lightning | fields: lat, level, depth, qc\nTask: Get lat from wind_speed where qc appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002466", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: unit, lat, level, ts\n Sensor: lightning | fields: qc, depth, lon, level\nTask: Retrieve lat from temperature whose depth is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002467", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, reading, lon, level\n Sensor: wind_speed | fields: reading, ts, depth, qc\nTask: Fetch lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002468", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, ts, reading, value\n Sensor: uv_index | fields: ts, qc, type, lat\nTask: Fetch level from drought_index where depth is greater than the count of of depth in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002469", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: depth, lon, reading, ts\n Sensor: lightning | fields: lat, ts, value, level\nTask: Get value from pressure where ts appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002470", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lon, unit, value, type\n Sensor: visibility | fields: reading, lat, level, type\nTask: Retrieve lon from frost with depth above the MIN(depth) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002471", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: depth, unit, level, type\n Sensor: snow_depth | fields: type, value, level, qc\nTask: Retrieve reading 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=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002472", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, reading, lat, depth\n Sensor: snow_depth | fields: lat, type, value, reading\nTask: Fetch lat from temperature where type exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002473", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: reading, ts, lat, depth\n Sensor: rainfall | fields: depth, unit, lat, reading\nTask: Get value from evaporation where reading exceeds the minimum depth from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002474", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: ts, type, level, reading\n Sensor: turbidity | fields: lon, depth, level, type\nTask: Retrieve lon from air_quality whose type is found in turbidity records where qc 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(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002475", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lat, type, level, value\n Sensor: lightning | fields: reading, value, lon, level\nTask: Get value from snow_depth where value exceeds the total value from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002476", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: level, reading, type, value\n Sensor: sunlight | fields: value, lon, qc, unit\nTask: Retrieve level from lightning that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002477", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, lat, value, depth\n Sensor: rainfall | fields: reading, lon, ts, lat\nTask: Fetch level from air_quality that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002478", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lat, type, reading, lon\n Sensor: rainfall | fields: depth, reading, type, qc\nTask: Get value from dew_point where value exceeds the minimum depth from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002479", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: value, qc, depth, ts\n Sensor: sunlight | fields: depth, unit, qc, lon\nTask: Fetch depth from wind_speed where unit exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002480", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, lat, depth, unit\n Sensor: soil_moisture | fields: depth, level, lon, value\nTask: Retrieve reading from air_quality with reading above the COUNT(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002481", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, reading, value, qc\n Sensor: soil_moisture | fields: lon, value, qc, level\nTask: Fetch level from air_quality where value is greater than the count of of reading in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002482", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, level, lon, unit\n Sensor: humidity | fields: qc, type, ts, reading\nTask: Fetch depth from soil_moisture where depth exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "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_fixed_v1_val_002483", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, ts, level, lat\n Sensor: rainfall | fields: level, value, type, depth\nTask: Fetch reading from visibility where qc exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002484", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: lon, level, lat, qc\n Sensor: pressure | fields: type, reading, lat, value\nTask: Retrieve lon from lightning whose ts is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002485", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: reading, ts, value, unit\n Sensor: wind_speed | fields: ts, type, depth, reading\nTask: Retrieve level from rainfall with reading above the AVG(depth) of wind_speed readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002486", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: qc, ts, level, lon\n Sensor: visibility | fields: depth, lon, level, value\nTask: Fetch lon from soil_moisture where ts exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002487", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: reading, type, depth, unit\n Sensor: snow_depth | fields: type, value, lon, reading\nTask: Get level from cloud_cover where qc appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002488", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: value, depth, qc, type\n Sensor: humidity | fields: qc, depth, reading, value\nTask: Fetch value from lightning where depth is greater than the average of depth in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002489", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: depth, ts, qc, reading\n Sensor: dew_point | fields: lon, value, unit, depth\nTask: Retrieve reading from sunlight with reading above the MIN(reading) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002490", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: qc, unit, lat, reading\n Sensor: rainfall | fields: lon, reading, level, unit\nTask: Fetch depth from humidity where type exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002491", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, value, depth, qc\n Sensor: wind_speed | fields: ts, lat, level, reading\nTask: Get level from sunlight where qc appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002492", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: reading, level, depth, qc\n Sensor: dew_point | fields: type, lat, reading, value\nTask: Get reading from snow_depth where ts appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002493", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: value, lon, level, reading\n Sensor: pressure | fields: unit, ts, lon, lat\nTask: Fetch value from evaporation where ts exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002494", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lat, type, reading, unit\n Sensor: pressure | fields: lon, depth, lat, type\nTask: Retrieve reading from cloud_cover with depth above the SUM(value) 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(\"SUM\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002495", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: ts, lat, unit, reading\n Sensor: drought_index | fields: reading, lat, depth, qc\nTask: Get lon from snow_depth where depth appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002496", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: level, depth, qc, ts\n Sensor: uv_index | fields: reading, ts, value, type\nTask: Get depth from temperature where type appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002497", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: ts, level, depth, reading\n Sensor: humidity | fields: type, lat, reading, unit\nTask: Get lon from sunlight where depth exceeds the minimum value from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002498", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: type, value, lon, depth\n Sensor: sunlight | fields: depth, value, type, unit\nTask: Retrieve depth from evaporation that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002499", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: unit, ts, lat, type\n Sensor: snow_depth | fields: value, lat, type, depth\nTask: Retrieve level from pressure with reading above the SUM(depth) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002500", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, lon, unit, type\n Sensor: lightning | fields: unit, depth, reading, lon\nTask: Fetch reading 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=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002501", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, lat, type, lon\n Sensor: humidity | fields: unit, level, value, lat\nTask: Retrieve level from dew_point that have at least one matching reading in humidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002502", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, type, lat, reading\n Sensor: uv_index | fields: reading, lon, ts, lat\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=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002503", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lon, depth, ts, lat\n Sensor: snow_depth | fields: ts, depth, type, value\nTask: Retrieve value from dew_point with value above the MAX(depth) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002504", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: depth, lat, value, ts\n Sensor: soil_moisture | fields: lat, type, reading, lon\nTask: Fetch depth from turbidity where reading is greater than the count of of reading in soil_moisture for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002505", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: reading, unit, depth, qc\n Sensor: frost | fields: reading, value, qc, type\nTask: Retrieve level from visibility with reading above the MIN(depth) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002506", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: value, depth, unit, type\n Sensor: humidity | fields: reading, lat, ts, qc\nTask: Get value from air_quality where value exceeds the count of reading from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002507", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: qc, unit, reading, level\n Sensor: cloud_cover | fields: depth, qc, lat, lon\nTask: Fetch level from air_quality where depth exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "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_fixed_v1_val_002508", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: qc, value, lon, depth\n Sensor: drought_index | fields: level, lat, value, qc\nTask: Fetch value from visibility where reading is greater than the average of depth in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002509", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: value, depth, ts, type\n Sensor: pressure | fields: level, lat, unit, ts\nTask: Retrieve reading from turbidity with reading above the MIN(value) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002510", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, ts, level, reading\n Sensor: temperature | fields: lon, reading, level, ts\nTask: Get lat from visibility where depth exceeds the average reading from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "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_fixed_v1_val_002511", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: level, type, reading, depth\n Sensor: cloud_cover | fields: depth, lon, reading, type\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=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002512", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, type, depth, lon\n Sensor: lightning | fields: level, reading, depth, lon\nTask: Retrieve level from visibility that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002513", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lon, level, value, type\n Sensor: wind_speed | fields: reading, ts, qc, lat\nTask: Fetch lon from uv_index where value is greater than the minimum of reading in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\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": "prt", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002514", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lat, value, depth, type\n Sensor: uv_index | fields: lat, type, level, value\nTask: Retrieve depth from temperature that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002515", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: type, reading, value, qc\n Sensor: drought_index | fields: qc, reading, unit, type\nTask: Fetch reading from soil_moisture where reading is greater than the average of reading in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "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_fixed_v1_val_002516", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: ts, depth, unit, value\n Sensor: evaporation | fields: reading, value, qc, type\nTask: Get depth from rainfall where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002517", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lon, ts, unit, value\n Sensor: humidity | fields: level, ts, unit, depth\nTask: Get lat from cloud_cover where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002518", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: depth, reading, qc, ts\n Sensor: frost | fields: unit, value, lat, level\nTask: Get value from rainfall where ts appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002519", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: value, type, level, qc\n Sensor: humidity | fields: depth, lon, ts, value\nTask: Fetch level from frost where value is greater than the maximum of reading in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002520", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, unit, ts, lon\n Sensor: turbidity | fields: unit, level, depth, reading\nTask: Fetch depth from dew_point where qc exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002521", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, qc, lat, unit\n Sensor: soil_moisture | fields: level, depth, type, lat\nTask: Retrieve reading from rainfall with reading above the MIN(value) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002522", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: value, lat, ts, qc\n Sensor: wind_speed | fields: reading, value, unit, lat\nTask: Fetch level 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=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002523", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: reading, lon, value, type\n Sensor: humidity | fields: lat, depth, type, qc\nTask: Retrieve lat from visibility that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002524", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: unit, type, lon, reading\n Sensor: wind_speed | fields: ts, type, depth, unit\nTask: Retrieve depth from frost that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002525", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, value, level, lon\n Sensor: soil_moisture | fields: depth, ts, value, type\nTask: Get lat from lightning where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002526", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, ts, depth, unit\n Sensor: air_quality | fields: depth, lat, qc, level\nTask: Get depth from soil_moisture where reading exceeds the maximum reading from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002527", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, lon, reading, value\n Sensor: humidity | fields: level, depth, unit, type\nTask: Get depth from air_quality where depth appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002528", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: value, qc, ts, type\n Sensor: snow_depth | fields: qc, level, value, lat\nTask: Fetch depth from humidity where reading is greater than the count of of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002529", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, lat, value, unit\n Sensor: visibility | fields: reading, depth, type, lon\nTask: Get reading from cloud_cover where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002530", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, value, level, reading\n Sensor: visibility | fields: value, lat, ts, reading\nTask: Fetch reading from soil_moisture where type exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002531", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, level, value, qc\n Sensor: snow_depth | fields: lon, ts, level, lat\nTask: Fetch value from wind_speed where depth is greater than the minimum of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002532", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: reading, ts, unit, depth\n Sensor: drought_index | fields: depth, unit, ts, type\nTask: Retrieve reading from visibility that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002533", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: qc, unit, type, lon\n Sensor: pressure | fields: unit, type, ts, depth\nTask: Retrieve lon 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=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002534", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, value, depth, lat\n Sensor: sunlight | fields: lon, type, unit, level\nTask: Fetch reading from temperature where unit exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002535", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: ts, lon, unit, reading\n Sensor: uv_index | fields: type, unit, lat, qc\nTask: Fetch lon from temperature where type exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002536", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, value, ts, reading\n Sensor: snow_depth | fields: depth, ts, type, qc\nTask: Retrieve lat from wind_speed that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002537", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: qc, depth, value, reading\n Sensor: soil_moisture | fields: depth, type, ts, level\nTask: Retrieve reading from evaporation whose qc is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002538", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: ts, qc, level, value\n Sensor: dew_point | fields: lon, qc, value, reading\nTask: Retrieve level from turbidity with value above the COUNT(depth) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lat, lon, type, reading\n Sensor: cloud_cover | fields: lat, reading, ts, depth\nTask: Fetch lon from lightning where ts exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "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_fixed_v1_val_002540", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: unit, ts, level, lat\n Sensor: sunlight | fields: qc, lon, level, lat\nTask: Fetch value from uv_index that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002541", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: unit, depth, ts, level\n Sensor: frost | fields: lat, qc, type, depth\nTask: Fetch depth from evaporation where value is greater than the total of depth in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002542", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, value, type, level\n Sensor: soil_moisture | fields: unit, lat, reading, depth\nTask: Retrieve depth from visibility that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002543", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: level, type, lat, value\n Sensor: uv_index | fields: depth, lon, qc, ts\nTask: Fetch lon from turbidity where value is greater than the maximum of reading in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002544", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: qc, reading, lat, lon\n Sensor: lightning | fields: type, depth, lat, lon\nTask: Retrieve level from wind_speed whose ts is found in lightning records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "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_fixed_v1_val_002545", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lon, level, lat, value\n Sensor: visibility | fields: unit, depth, type, lat\nTask: Fetch reading from turbidity where depth is greater than the average of reading in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002546", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: level, value, lat, unit\n Sensor: evaporation | fields: value, unit, depth, ts\nTask: Get lat 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=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002547", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: reading, value, ts, lon\n Sensor: cloud_cover | fields: unit, depth, level, qc\nTask: Get lon from air_quality where a corresponding entry exists in cloud_cover with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002548", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: depth, ts, lon, level\n Sensor: turbidity | fields: depth, level, reading, type\nTask: Retrieve value from humidity with reading above the COUNT(value) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002549", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: reading, lon, value, lat\n Sensor: pressure | fields: level, qc, value, lon\nTask: Fetch reading from soil_moisture where reading is greater than the maximum of reading in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002550", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: value, qc, ts, type\n Sensor: sunlight | fields: reading, type, level, ts\nTask: Fetch depth from frost where depth exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002551", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, qc, depth, reading\n Sensor: sunlight | fields: reading, value, type, lat\nTask: Retrieve reading from frost whose qc is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002552", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: ts, unit, lat, lon\n Sensor: snow_depth | fields: unit, lat, level, lon\nTask: Get lon from drought_index where value exceeds the minimum depth from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "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_fixed_v1_val_002553", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: reading, lat, value, type\n Sensor: pressure | fields: reading, lat, type, qc\nTask: Get lat from frost where reading exceeds the count of value from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002554", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, lat, qc, value\n Sensor: pressure | fields: lon, lat, ts, unit\nTask: Get depth from evaporation where reading exceeds the average value from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002555", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: level, lon, value, ts\n Sensor: sunlight | fields: depth, qc, value, type\nTask: Fetch lat from temperature where unit exists in sunlight sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002556", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: reading, lat, lon, value\n Sensor: temperature | fields: depth, reading, lon, unit\nTask: Fetch level from air_quality where reading is greater than the total of value in temperature for matching 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(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002557", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: level, unit, lat, type\n Sensor: air_quality | fields: type, ts, unit, depth\nTask: Retrieve depth from lightning with reading above the MIN(depth) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002558", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: value, ts, qc, unit\n Sensor: humidity | fields: level, value, reading, lat\nTask: Get level from dew_point where value exceeds the minimum reading from humidity for the same ts.\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(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "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_fixed_v1_val_002559", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: qc, value, unit, lat\n Sensor: lightning | fields: qc, lon, lat, value\nTask: Fetch level from turbidity where type exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002560", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lon, depth, value, level\n Sensor: dew_point | fields: level, depth, value, qc\nTask: Fetch level from sunlight that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002561", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: level, lon, unit, depth\n Sensor: cloud_cover | fields: lon, level, qc, value\nTask: Get depth from turbidity where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002562", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: ts, level, unit, reading\n Sensor: humidity | fields: type, qc, unit, depth\nTask: Get value from drought_index where depth appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002563", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: qc, level, ts, lat\n Sensor: frost | fields: lat, lon, reading, ts\nTask: Fetch reading from visibility where value is greater than the minimum of depth in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002564", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, level, unit, qc\n Sensor: uv_index | fields: qc, reading, unit, depth\nTask: Fetch value from lightning that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002565", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, depth, lat, qc\n Sensor: dew_point | fields: unit, qc, lat, value\nTask: Get depth from rainfall where reading exceeds the count of depth from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002566", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, type, level, unit\n Sensor: pressure | fields: level, ts, lon, lat\nTask: Get value from air_quality where unit appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "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_fixed_v1_val_002567", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: depth, level, lat, unit\n Sensor: sunlight | fields: lon, reading, lat, depth\nTask: Fetch depth from wind_speed where type exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002568", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: qc, unit, level, reading\n Sensor: rainfall | fields: level, qc, unit, ts\nTask: Retrieve value from evaporation whose ts is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002569", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, lat, unit, depth\n Sensor: wind_speed | fields: depth, reading, value, qc\nTask: Get lon from humidity where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002570", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: reading, ts, unit, level\n Sensor: pressure | fields: value, depth, lat, unit\nTask: Fetch lon from dew_point that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002571", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: qc, lon, level, lat\n Sensor: uv_index | fields: level, depth, type, unit\nTask: Fetch reading from temperature that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002572", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: qc, reading, lat, lon\n Sensor: cloud_cover | fields: lon, reading, type, ts\nTask: Fetch lon from frost where value is greater than the minimum of depth in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002573", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: type, unit, lon, lat\n Sensor: evaporation | fields: qc, ts, reading, type\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=\"clr\"),\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": "clr", "inner_alias": "evp", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002574", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, lat, value, depth\n Sensor: air_quality | fields: qc, level, type, lat\nTask: Retrieve lat from snow_depth whose type 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=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002575", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: unit, depth, reading, level\n Sensor: uv_index | fields: lon, reading, depth, type\nTask: Fetch level from drought_index where qc exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002576", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: type, unit, value, level\n Sensor: turbidity | fields: lon, type, value, lat\nTask: Fetch level from soil_moisture that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002577", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: level, reading, depth, value\n Sensor: cloud_cover | fields: ts, type, level, lon\nTask: Retrieve level from turbidity with reading above the MIN(depth) of cloud_cover readings sharing the same 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(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002578", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: reading, unit, depth, lat\n Sensor: soil_moisture | fields: lon, level, ts, lat\nTask: Fetch lon from humidity where type exists in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002579", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: ts, depth, level, value\n Sensor: turbidity | fields: depth, ts, unit, type\nTask: Get reading from wind_speed where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002580", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: depth, unit, lat, reading\n Sensor: turbidity | fields: type, ts, reading, lat\nTask: Retrieve level from soil_moisture that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002581", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, lon, qc, lat\n Sensor: drought_index | fields: type, unit, reading, ts\nTask: Fetch reading from sunlight that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002582", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, type, qc, level\n Sensor: pressure | fields: depth, type, value, lat\nTask: Retrieve value from turbidity with value above the MAX(value) of pressure readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002583", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, reading, qc, level\n Sensor: soil_moisture | fields: unit, ts, level, reading\nTask: Fetch value from cloud_cover where reading is greater than the average of value in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002584", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, level, value, type\n Sensor: temperature | fields: qc, level, value, lon\nTask: Get depth from drought_index where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002585", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: unit, lat, ts, lon\n Sensor: air_quality | fields: lat, lon, value, reading\nTask: Fetch value from uv_index that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002586", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, value, type, reading\n Sensor: cloud_cover | fields: value, level, lat, lon\nTask: Get lat from air_quality where ts appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002587", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lon, unit, value, depth\n Sensor: rainfall | fields: value, ts, level, type\nTask: Fetch lon from sunlight that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002588", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: type, value, lat, lon\n Sensor: sunlight | fields: ts, unit, type, depth\nTask: Get lat from turbidity where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002589", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, value, ts, qc\n Sensor: soil_moisture | fields: value, ts, depth, lon\nTask: Retrieve depth from drought_index with depth above the MIN(value) of soil_moisture readings sharing the same qc.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002590", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: unit, level, reading, depth\n Sensor: rainfall | fields: type, ts, lon, lat\nTask: Fetch lat from turbidity where qc exists in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002591", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: reading, value, type, unit\n Sensor: dew_point | fields: type, lon, reading, value\nTask: Fetch reading from pressure where unit exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002592", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, qc, unit, type\n Sensor: drought_index | fields: value, ts, lat, type\nTask: Get lon from dew_point where depth exceeds the total value from drought_index for the same 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(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002593", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: value, lat, qc, unit\n Sensor: snow_depth | fields: lon, value, unit, qc\nTask: Retrieve depth from rainfall whose type is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002594", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: level, lat, qc, value\n Sensor: pressure | fields: type, unit, lon, ts\nTask: Retrieve lat 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=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002595", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: unit, type, depth, level\n Sensor: lightning | fields: level, depth, lon, unit\nTask: Fetch lon 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=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002596", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: level, unit, depth, reading\n Sensor: temperature | fields: lat, qc, value, type\nTask: Fetch level from humidity that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002597", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: unit, lat, type, qc\n Sensor: rainfall | fields: reading, qc, ts, lon\nTask: Fetch reading from cloud_cover that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002598", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: level, depth, ts, lon\n Sensor: dew_point | fields: reading, lon, unit, lat\nTask: Retrieve lon from turbidity with depth above the AVG(reading) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002599", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lat, unit, level, lon\n Sensor: air_quality | fields: reading, value, unit, type\nTask: Fetch level from sunlight where depth exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002600", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: reading, value, type, qc\n Sensor: snow_depth | fields: ts, reading, depth, type\nTask: Retrieve lon from lightning that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002601", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: type, unit, reading, depth\n Sensor: drought_index | fields: lat, value, ts, qc\nTask: Retrieve value from air_quality that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002602", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, lon, depth, level\n Sensor: temperature | fields: reading, value, level, qc\nTask: Get level from evaporation where value exceeds the minimum value from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "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_fixed_v1_val_002603", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lon, type, reading, value\n Sensor: drought_index | fields: lat, type, reading, depth\nTask: Retrieve reading from cloud_cover whose depth is found in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002604", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: value, lat, level, unit\n Sensor: humidity | fields: depth, unit, type, ts\nTask: Retrieve lat from dew_point with value above the MIN(depth) of humidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002605", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: type, lon, value, lat\n Sensor: pressure | fields: lon, type, qc, ts\nTask: Fetch depth from soil_moisture where value is greater than the maximum of value in pressure for matching ts.\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(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002606", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: reading, level, lon, type\n Sensor: visibility | fields: lon, unit, value, reading\nTask: Retrieve depth from uv_index whose ts is found in visibility records where depth 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(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002607", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: value, depth, qc, unit\n Sensor: temperature | fields: lat, ts, depth, unit\nTask: Get lat from visibility where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002608", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: value, reading, depth, level\n Sensor: air_quality | fields: ts, level, lon, value\nTask: Fetch value from humidity that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002609", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: ts, value, reading, level\n Sensor: wind_speed | fields: level, ts, reading, value\nTask: Fetch depth from air_quality where reading is greater than the minimum of value in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002610", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: reading, lat, level, depth\n Sensor: humidity | fields: ts, level, lat, reading\nTask: Get level from cloud_cover where depth appears in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "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_fixed_v1_val_002611", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: level, depth, ts, reading\n Sensor: evaporation | fields: value, ts, level, qc\nTask: Get lon from turbidity where depth exceeds the average reading from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002612", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, unit, qc, type\n Sensor: humidity | fields: ts, value, lat, unit\nTask: Get lat from rainfall where unit appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\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": "prt", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002613", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: value, reading, ts, unit\n Sensor: soil_moisture | fields: qc, level, reading, ts\nTask: Fetch lat from wind_speed that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002614", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: ts, type, unit, value\n Sensor: visibility | fields: lon, value, lat, unit\nTask: Get level from soil_moisture where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002615", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, lon, depth, unit\n Sensor: turbidity | fields: type, level, qc, unit\nTask: Retrieve level from visibility that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002616", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, level, ts, lon\n Sensor: dew_point | fields: lat, level, depth, lon\nTask: Retrieve level from humidity that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002617", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, value, reading, depth\n Sensor: visibility | fields: type, reading, value, ts\nTask: Fetch reading from humidity where value is greater than the maximum of depth in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002618", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: reading, qc, ts, value\n Sensor: rainfall | fields: lon, type, ts, unit\nTask: Retrieve lat from snow_depth whose qc is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002619", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, lat, ts, level\n Sensor: evaporation | fields: level, unit, qc, value\nTask: Get lat 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=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002620", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, ts, lat, depth\n Sensor: visibility | fields: unit, reading, lat, lon\nTask: Fetch reading from drought_index that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002621", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lat, depth, type, unit\n Sensor: wind_speed | fields: value, lon, qc, depth\nTask: Fetch lon from air_quality where value is greater than the count of of value in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002622", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, qc, lat, type\n Sensor: wind_speed | fields: lat, depth, qc, reading\nTask: Retrieve value from sunlight whose ts is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002623", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: value, qc, unit, lat\n Sensor: temperature | fields: depth, lon, qc, unit\nTask: Fetch reading from uv_index where depth exists in temperature 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(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002624", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, level, ts, type\n Sensor: dew_point | fields: level, qc, ts, depth\nTask: Retrieve value 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=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002625", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, depth, qc, reading\n Sensor: evaporation | fields: type, depth, unit, qc\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=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002626", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: qc, lat, reading, depth\n Sensor: uv_index | fields: depth, reading, value, lon\nTask: Fetch value from wind_speed that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002627", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: unit, depth, ts, qc\n Sensor: pressure | fields: type, level, lat, value\nTask: Get reading from frost where unit appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002628", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, lat, level, reading\n Sensor: temperature | fields: level, lat, depth, reading\nTask: Retrieve value from soil_moisture that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002629", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: type, value, reading, level\n Sensor: evaporation | fields: ts, level, lat, lon\nTask: Retrieve reading from rainfall whose qc is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "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_fixed_v1_val_002630", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, lon, value, depth\n Sensor: pressure | fields: lon, lat, reading, ts\nTask: Retrieve depth from lightning whose type is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002631", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, reading, type, depth\n Sensor: evaporation | fields: lat, lon, ts, depth\nTask: Fetch reading from frost where ts exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002632", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, depth, reading, lat\n Sensor: visibility | fields: value, reading, qc, lon\nTask: Get lon from soil_moisture where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002633", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, level, qc, ts\n Sensor: temperature | fields: value, unit, depth, lat\nTask: Get lat from dew_point where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002634", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, qc, ts, value\n Sensor: evaporation | fields: level, qc, unit, lat\nTask: Retrieve lat from uv_index with value above the MIN(depth) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002635", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lat, level, qc, reading\n Sensor: soil_moisture | fields: qc, unit, lon, ts\nTask: Fetch lon from snow_depth where ts exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002636", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, value, unit, type\n Sensor: evaporation | fields: type, unit, reading, lon\nTask: Fetch level from dew_point where value is greater than the count of of depth in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002637", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, value, type, level\n Sensor: soil_moisture | fields: lat, unit, lon, qc\nTask: Get level from pressure where depth exceeds the total reading from soil_moisture for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002638", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, lon, type, ts\n Sensor: lightning | fields: lat, ts, depth, lon\nTask: Get lon from wind_speed where depth exceeds the maximum reading from lightning for the same qc.\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(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002639", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lat, qc, ts, reading\n Sensor: visibility | fields: ts, level, reading, unit\nTask: Get lat from evaporation where depth exceeds the total reading 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\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002640", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: level, lon, reading, qc\n Sensor: air_quality | fields: ts, level, value, unit\nTask: Fetch depth from temperature where type exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002641", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, unit, level, type\n Sensor: sunlight | fields: lon, depth, reading, type\nTask: Retrieve value from soil_moisture with reading above the COUNT(depth) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002642", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lon, level, value, unit\n Sensor: pressure | fields: level, value, depth, ts\nTask: Get level from frost where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "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_fixed_v1_val_002643", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: type, lat, qc, lon\n Sensor: sunlight | fields: lat, reading, value, ts\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=\"hub\"),\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": "hub", "inner_alias": "brt", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002644", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: depth, value, unit, lat\n Sensor: pressure | fields: lat, unit, reading, depth\nTask: Retrieve depth from temperature with reading above the SUM(reading) of pressure readings sharing 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(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002645", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: depth, lat, qc, type\n Sensor: drought_index | fields: unit, qc, lat, level\nTask: Retrieve lon from turbidity whose type is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "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_fixed_v1_val_002646", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: value, depth, type, ts\n Sensor: visibility | fields: type, reading, depth, lon\nTask: Retrieve reading from wind_speed that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002647", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, qc, lat, ts\n Sensor: soil_moisture | fields: lon, value, reading, depth\nTask: Get depth from frost where depth exceeds the minimum reading from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002648", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, qc, level, lon\n Sensor: rainfall | fields: unit, lon, type, depth\nTask: Retrieve value from air_quality with depth above the AVG(value) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002649", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: ts, unit, value, depth\n Sensor: wind_speed | fields: type, qc, depth, value\nTask: Retrieve depth from air_quality whose ts is found in wind_speed records where unit 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(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002650", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: value, reading, depth, ts\n Sensor: visibility | fields: qc, value, level, lat\nTask: Get lat from rainfall where ts appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002651", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: level, lon, value, qc\n Sensor: wind_speed | fields: unit, depth, level, lon\nTask: Retrieve value from pressure with reading above the COUNT(value) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002652", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, type, depth, lat\n Sensor: rainfall | fields: qc, ts, reading, value\nTask: Fetch reading from drought_index that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002653", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: type, unit, reading, qc\n Sensor: evaporation | fields: reading, depth, ts, qc\nTask: Fetch reading from wind_speed where reading is greater than the maximum of reading in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002654", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, reading, ts, unit\n Sensor: visibility | fields: type, unit, depth, value\nTask: Retrieve depth from humidity whose type is found in visibility records where unit 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=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002655", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: reading, ts, qc, lon\n Sensor: wind_speed | fields: qc, lon, lat, reading\nTask: Retrieve value from temperature with reading above the COUNT(value) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002656", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, level, lat, value\n Sensor: wind_speed | fields: level, lat, qc, unit\nTask: Fetch reading from frost where unit exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002657", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lon, ts, level, qc\n Sensor: uv_index | fields: ts, reading, qc, depth\nTask: Get level from lightning where ts appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002658", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: level, ts, lon, lat\n Sensor: temperature | fields: type, lon, reading, level\nTask: Get value from frost where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002659", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: level, type, reading, lon\n Sensor: snow_depth | fields: value, lat, qc, type\nTask: Get level from dew_point where reading exceeds the average depth from snow_depth for the same ts.\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(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002660", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, type, qc, level\n Sensor: turbidity | fields: qc, lat, reading, lon\nTask: Fetch level from drought_index where qc exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002661", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, qc, reading, type\n Sensor: wind_speed | fields: type, reading, depth, value\nTask: Retrieve level from humidity whose unit is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002662", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, value, ts, depth\n Sensor: air_quality | fields: qc, ts, depth, level\nTask: Fetch lat from frost that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002663", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: value, depth, lat, lon\n Sensor: frost | fields: value, lat, lon, level\nTask: Retrieve lat from sunlight with reading above the SUM(value) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002664", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, lat, ts, qc\n Sensor: evaporation | fields: unit, reading, type, lat\nTask: Get level from rainfall where depth exceeds the maximum depth from evaporation for 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(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002665", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: value, lat, depth, level\n Sensor: cloud_cover | fields: lat, lon, qc, level\nTask: Get value from evaporation where value exceeds the count of reading from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002666", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: unit, lat, type, lon\n Sensor: temperature | fields: qc, type, lon, depth\nTask: Retrieve depth from visibility whose ts is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002667", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, reading, qc, ts\n Sensor: lightning | fields: value, qc, unit, type\nTask: Get reading from soil_moisture where depth exceeds the count of depth from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002668", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, unit, lon, level\n Sensor: cloud_cover | fields: lon, value, type, level\nTask: Fetch lon from visibility where depth is greater than the maximum of value in cloud_cover for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002669", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: level, lat, type, lon\n Sensor: temperature | fields: lon, depth, type, reading\nTask: Retrieve reading from air_quality whose qc is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002670", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, ts, lon, reading\n Sensor: turbidity | fields: depth, unit, lon, value\nTask: Fetch lon from snow_depth where type exists in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002671", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, reading, type, lon\n Sensor: wind_speed | fields: unit, lon, value, qc\nTask: Fetch level from uv_index where value is greater than the total of depth in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002672", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, level, lon, ts\n Sensor: snow_depth | fields: ts, value, level, lon\nTask: Retrieve depth from dew_point that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002673", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, qc, value, reading\n Sensor: rainfall | fields: value, reading, lat, qc\nTask: Get lon from sunlight where value exceeds the total reading from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "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_fixed_v1_val_002674", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, level, lat, qc\n Sensor: temperature | fields: reading, type, ts, level\nTask: Retrieve depth from drought_index that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "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_fixed_v1_val_002675", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, lon, level, lat\n Sensor: lightning | fields: type, reading, unit, level\nTask: Fetch lon from sunlight that have at least one corresponding lightning measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002676", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lon, level, unit, qc\n Sensor: lightning | fields: depth, type, unit, reading\nTask: Fetch depth from pressure where value is greater than the total of value in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002677", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lat, reading, type, level\n Sensor: dew_point | fields: depth, level, type, lat\nTask: Fetch value from drought_index where ts exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002678", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, level, lat, ts\n Sensor: air_quality | fields: value, depth, ts, level\nTask: Get level from wind_speed where unit appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002679", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, level, value, depth\n Sensor: lightning | fields: level, reading, lon, unit\nTask: Get depth from frost where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002680", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: ts, reading, depth, level\n Sensor: humidity | fields: unit, reading, ts, lon\nTask: Fetch lon from rainfall where qc exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002681", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, lat, qc, lon\n Sensor: cloud_cover | fields: level, reading, lat, lon\nTask: Fetch value from pressure that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002682", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, type, level, reading\n Sensor: turbidity | fields: depth, level, unit, ts\nTask: Fetch reading 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=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002683", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: type, lon, ts, value\n Sensor: humidity | fields: depth, lon, type, ts\nTask: Get level from pressure where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "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_fixed_v1_val_002684", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, value, depth, ts\n Sensor: temperature | fields: qc, lat, lon, reading\nTask: Retrieve depth from rainfall with depth above the MIN(reading) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002685", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, qc, lat, depth\n Sensor: temperature | fields: type, qc, reading, lon\nTask: Get lon from evaporation where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002686", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, reading, level, type\n Sensor: cloud_cover | fields: value, reading, unit, lon\nTask: Retrieve level from frost whose qc is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002687", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: lon, level, lat, depth\n Sensor: dew_point | fields: reading, ts, unit, depth\nTask: Fetch lon from frost where depth is greater than the minimum of value in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002688", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, reading, unit, type\n Sensor: drought_index | fields: lat, reading, ts, depth\nTask: Retrieve reading from dew_point whose type is found in drought_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002689", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, depth, level, type\n Sensor: pressure | fields: type, ts, unit, qc\nTask: Fetch lat from air_quality that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002690", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: reading, qc, value, unit\n Sensor: cloud_cover | fields: depth, lat, ts, level\nTask: Retrieve lon from visibility that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002691", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, unit, value, type\n Sensor: uv_index | fields: level, qc, type, lat\nTask: Retrieve level from visibility whose ts is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002692", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, reading, depth, unit\n Sensor: wind_speed | fields: value, unit, depth, type\nTask: Fetch value from humidity where value is greater than the count of of depth in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002693", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, lat, value, level\n Sensor: wind_speed | fields: type, level, lat, value\nTask: Fetch reading from sunlight that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002694", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: qc, ts, lon, depth\n Sensor: humidity | fields: lat, type, value, unit\nTask: Fetch level from dew_point where value is greater than the count of of value in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002695", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: depth, level, reading, unit\n Sensor: soil_moisture | fields: type, depth, reading, unit\nTask: Fetch lat from humidity where depth is greater than the minimum of depth in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002696", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, reading, level, value\n Sensor: lightning | fields: lat, value, reading, type\nTask: Retrieve depth from rainfall with depth above the SUM(depth) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002697", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: level, qc, depth, lon\n Sensor: dew_point | fields: lat, qc, ts, reading\nTask: Fetch level from cloud_cover where depth exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\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": "cloud_cover", "inner_table": "dew_point", "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_fixed_v1_val_002698", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, level, ts, unit\n Sensor: visibility | fields: qc, ts, value, unit\nTask: Retrieve lat 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=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002699", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: value, unit, ts, lat\n Sensor: snow_depth | fields: lat, level, reading, value\nTask: Get depth from humidity where reading exceeds the maximum reading from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", 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=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002700", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, ts, level, lon\n Sensor: soil_moisture | fields: lat, ts, qc, value\nTask: Retrieve value from frost whose unit is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002701", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, type, unit, value\n Sensor: turbidity | fields: unit, depth, ts, reading\nTask: Fetch depth from humidity where value is greater than the total of depth in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002702", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, unit, reading, level\n Sensor: snow_depth | fields: reading, type, depth, ts\nTask: Get lat from drought_index where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002703", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, type, lon, qc\n Sensor: uv_index | fields: qc, depth, unit, reading\nTask: Retrieve depth from pressure with value above the AVG(reading) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002704", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, level, reading, lat\n Sensor: dew_point | fields: depth, lat, unit, lon\nTask: Fetch reading from wind_speed that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002705", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, value, type, qc\n Sensor: frost | fields: qc, lat, depth, type\nTask: Get level from wind_speed where value exceeds the count of depth from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002706", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: depth, level, lon, type\n Sensor: humidity | fields: qc, type, ts, value\nTask: Get depth from uv_index where depth appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002707", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: level, qc, ts, value\n Sensor: rainfall | fields: lat, unit, qc, depth\nTask: Retrieve value from uv_index that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002708", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: reading, unit, ts, lon\n Sensor: frost | fields: level, lon, reading, qc\nTask: Retrieve depth from drought_index with value above the AVG(depth) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002709", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, value, depth, ts\n Sensor: lightning | fields: ts, value, depth, lon\nTask: Fetch lon from uv_index where ts exists in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002710", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: level, depth, unit, qc\n Sensor: rainfall | fields: lat, type, ts, qc\nTask: Retrieve level from snow_depth with depth above the MIN(value) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "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_fixed_v1_val_002711", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, value, lat, reading\n Sensor: visibility | fields: lon, depth, qc, reading\nTask: Retrieve lon from wind_speed that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002712", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: unit, depth, qc, reading\n Sensor: visibility | fields: ts, depth, lat, level\nTask: Fetch depth from pressure that have at least one corresponding visibility measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002713", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, ts, reading, level\n Sensor: dew_point | fields: value, level, ts, lat\nTask: Retrieve level from lightning that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002714", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: value, level, depth, lat\n Sensor: humidity | fields: type, value, reading, lon\nTask: Retrieve reading from snow_depth whose unit 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=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002715", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: unit, qc, ts, level\n Sensor: soil_moisture | fields: ts, unit, reading, lat\nTask: Retrieve value from uv_index with value above the MAX(reading) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002716", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lat, reading, type, qc\n Sensor: air_quality | fields: depth, qc, type, level\nTask: Retrieve lon from sunlight with reading above the COUNT(reading) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002717", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: level, reading, ts, value\n Sensor: turbidity | fields: depth, ts, level, value\nTask: Retrieve lat from humidity whose ts is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002718", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: depth, lon, unit, level\n Sensor: temperature | fields: lon, type, unit, depth\nTask: Fetch lon from drought_index where type exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002719", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: reading, ts, type, qc\n Sensor: humidity | fields: type, reading, lon, unit\nTask: Get value from dew_point where reading exceeds the count of reading from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002720", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: depth, ts, qc, type\n Sensor: soil_moisture | fields: lon, lat, level, depth\nTask: Get lat from lightning where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002721", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, depth, lat, reading\n Sensor: drought_index | fields: lon, level, type, depth\nTask: Fetch lat from humidity where qc exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002722", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, lon, type, unit\n Sensor: temperature | fields: type, value, depth, ts\nTask: Fetch lon from snow_depth where unit exists in temperature 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(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002723", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: reading, depth, ts, lon\n Sensor: uv_index | fields: depth, reading, qc, type\nTask: Fetch reading from drought_index where depth exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002724", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, depth, lon, unit\n Sensor: visibility | fields: lon, reading, ts, value\nTask: Fetch value from soil_moisture where value is greater than the minimum of value in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002725", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: level, lon, ts, type\n Sensor: visibility | fields: ts, lon, lat, depth\nTask: Get lon from soil_moisture where unit appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002726", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, lat, ts, depth\n Sensor: snow_depth | fields: value, lon, ts, depth\nTask: Retrieve value from pressure whose qc is found in snow_depth records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002727", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: qc, ts, type, lat\n Sensor: uv_index | fields: depth, qc, lon, lat\nTask: Fetch level from cloud_cover that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002728", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, unit, qc, lat\n Sensor: lightning | fields: ts, qc, type, depth\nTask: Retrieve lat from rainfall whose ts is found in lightning records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002729", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: ts, level, reading, lon\n Sensor: drought_index | fields: level, qc, reading, lat\nTask: Get level from pressure where value exceeds the total depth from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "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_fixed_v1_val_002730", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lat, ts, qc, type\n Sensor: evaporation | fields: lat, qc, level, depth\nTask: Fetch level from cloud_cover where depth exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002731", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lon, ts, type, lat\n Sensor: temperature | fields: qc, reading, unit, depth\nTask: Fetch level from wind_speed that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002732", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lat, value, reading, unit\n Sensor: sunlight | fields: value, type, unit, depth\nTask: Fetch level from dew_point where type exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002733", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lat, level, reading, unit\n Sensor: drought_index | fields: depth, lat, value, qc\nTask: Get value from visibility where a corresponding entry exists in drought_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002734", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lon, level, reading, qc\n Sensor: drought_index | fields: value, depth, level, qc\nTask: Fetch lat from cloud_cover where depth is greater than the total of value in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\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": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002735", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: qc, lat, depth, lon\n Sensor: temperature | fields: level, value, type, ts\nTask: Retrieve reading from dew_point whose depth is found in temperature records where type 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(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002736", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, lat, type, value\n Sensor: dew_point | fields: unit, type, lat, value\nTask: Get depth from evaporation where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "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_fixed_v1_val_002737", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: depth, reading, type, value\n Sensor: cloud_cover | fields: unit, qc, lon, depth\nTask: Fetch lat from pressure that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002738", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: qc, ts, type, value\n Sensor: frost | fields: qc, lon, value, reading\nTask: Fetch depth from air_quality that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002739", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lat, level, qc, lon\n Sensor: lightning | fields: lat, value, level, depth\nTask: Fetch lat from evaporation where value is greater than the maximum of reading in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002740", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: level, depth, value, qc\n Sensor: lightning | fields: value, unit, level, lon\nTask: Get lat from air_quality where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002741", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: qc, unit, lat, lon\n Sensor: turbidity | fields: unit, level, reading, depth\nTask: Fetch reading from sunlight where value is greater than the count of of depth in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002742", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: qc, value, ts, level\n Sensor: dew_point | fields: unit, reading, lon, qc\nTask: Get value from soil_moisture where unit appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002743", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: ts, unit, value, reading\n Sensor: soil_moisture | fields: level, reading, unit, lon\nTask: Fetch lon from snow_depth that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002744", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, level, value, type\n Sensor: soil_moisture | fields: qc, value, lat, unit\nTask: Get level from snow_depth where reading exceeds the total value from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002745", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: ts, reading, unit, type\n Sensor: dew_point | fields: level, unit, qc, depth\nTask: Retrieve depth 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=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002746", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: level, qc, lat, depth\n Sensor: soil_moisture | fields: lon, qc, type, value\nTask: Retrieve lon from humidity with reading above the MIN(value) of soil_moisture readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002747", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, depth, lat, reading\n Sensor: temperature | fields: reading, value, ts, qc\nTask: Retrieve lon from rainfall whose qc is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002748", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, unit, value, qc\n Sensor: drought_index | fields: qc, lat, reading, unit\nTask: Retrieve level 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=\"clr\"),\n filter=has_match(\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": "clr", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002749", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: ts, qc, unit, type\n Sensor: drought_index | fields: type, qc, lat, reading\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=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002750", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: value, level, unit, qc\n Sensor: sunlight | fields: level, value, lat, reading\nTask: Get depth from visibility where qc appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002751", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, type, lat, qc\n Sensor: turbidity | fields: unit, ts, lon, reading\nTask: Retrieve value from lightning that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002752", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: qc, unit, type, reading\n Sensor: wind_speed | fields: lon, reading, unit, value\nTask: Retrieve depth from humidity whose depth is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002753", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, level, ts, qc\n Sensor: snow_depth | fields: level, qc, depth, ts\nTask: Fetch reading 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=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002754", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, depth, unit, lon\n Sensor: rainfall | fields: lon, unit, type, lat\nTask: Fetch value from wind_speed where reading is greater than the total of reading in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002755", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lat, type, reading, depth\n Sensor: temperature | fields: ts, lat, lon, type\nTask: Retrieve lat from wind_speed with depth above the MIN(depth) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002756", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: depth, reading, type, value\n Sensor: drought_index | fields: reading, qc, lon, lat\nTask: Get value from cloud_cover where depth exceeds the count of reading from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "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_fixed_v1_val_002757", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lon, lat, level, qc\n Sensor: uv_index | fields: unit, lat, lon, value\nTask: Get reading from rainfall where value exceeds the minimum reading from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002758", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, ts, unit, reading\n Sensor: snow_depth | fields: depth, unit, qc, level\nTask: Retrieve reading from uv_index whose qc is found in snow_depth records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002759", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, depth, lat, lon\n Sensor: wind_speed | fields: qc, unit, ts, value\nTask: Fetch reading from cloud_cover where unit exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002760", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: ts, qc, lon, depth\n Sensor: sunlight | fields: value, reading, unit, level\nTask: Fetch reading from air_quality where value is greater than the total of value in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002761", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: unit, lon, level, ts\n Sensor: evaporation | fields: unit, type, depth, lon\nTask: Get value from drought_index where ts appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "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_fixed_v1_val_002762", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: type, lat, level, lon\n Sensor: humidity | fields: depth, unit, lon, level\nTask: Get level from pressure where value exceeds the total depth from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002763", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, reading, depth, type\n Sensor: dew_point | fields: lon, reading, qc, depth\nTask: Retrieve depth from turbidity with depth above the MIN(value) of dew_point readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002764", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, lon, value, unit\n Sensor: drought_index | fields: unit, qc, level, lat\nTask: Fetch level 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=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002765", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, reading, depth, unit\n Sensor: turbidity | fields: lon, lat, unit, level\nTask: Fetch depth from lightning where unit exists in turbidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002766", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: qc, level, depth, reading\n Sensor: drought_index | fields: unit, depth, level, qc\nTask: Fetch lat from lightning where type exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002767", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: type, qc, depth, value\n Sensor: soil_moisture | fields: reading, lon, unit, lat\nTask: Retrieve depth 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=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002768", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: type, depth, lon, value\n Sensor: uv_index | fields: type, qc, unit, value\nTask: Get depth from humidity where qc appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002769", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: level, depth, ts, unit\n Sensor: lightning | fields: depth, level, unit, qc\nTask: Fetch value from rainfall where depth exists in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002770", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: unit, lon, level, value\n Sensor: humidity | fields: lon, qc, type, level\nTask: Fetch value from air_quality that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002771", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: unit, qc, ts, type\n Sensor: rainfall | fields: ts, depth, lat, reading\nTask: Fetch value from drought_index where depth exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002772", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: depth, type, unit, reading\n Sensor: visibility | fields: depth, reading, type, qc\nTask: Fetch depth from snow_depth where reading is greater than the maximum of reading in visibility for matching qc.\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(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002773", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, type, lon, lat\n Sensor: rainfall | fields: ts, value, level, type\nTask: Fetch lon from drought_index where depth is greater than the maximum of value in rainfall for matching 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(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "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_fixed_v1_val_002774", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: reading, level, type, qc\n Sensor: soil_moisture | fields: level, ts, type, reading\nTask: Retrieve depth from drought_index that have at least one matching reading in soil_moisture sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002775", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: value, level, ts, reading\n Sensor: sunlight | fields: unit, qc, lon, value\nTask: Retrieve depth from evaporation whose unit is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002776", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: ts, depth, lat, value\n Sensor: pressure | fields: depth, level, reading, lat\nTask: Retrieve lat from temperature whose ts is found in pressure records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002777", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: unit, level, ts, reading\n Sensor: turbidity | fields: reading, type, lon, depth\nTask: Retrieve value from uv_index with depth above the AVG(depth) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002778", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, depth, qc, reading\n Sensor: rainfall | fields: type, depth, lon, qc\nTask: Retrieve lon from uv_index whose ts is found in rainfall records where type 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(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002779", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, depth, unit, qc\n Sensor: frost | fields: value, type, depth, level\nTask: Get depth from cloud_cover where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002780", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: qc, type, lon, value\n Sensor: lightning | fields: lat, type, qc, value\nTask: Retrieve reading from wind_speed that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002781", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: level, value, depth, lon\n Sensor: dew_point | fields: level, ts, unit, qc\nTask: Get lon from evaporation where qc appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002782", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, lat, ts, type\n Sensor: snow_depth | fields: qc, reading, lon, type\nTask: Fetch lon from air_quality where unit exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002783", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, reading, unit, lon\n Sensor: dew_point | fields: level, unit, lat, reading\nTask: Fetch level from soil_moisture where unit exists in dew_point sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002784", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, value, reading, lat\n Sensor: humidity | fields: lat, qc, reading, ts\nTask: Retrieve lon from dew_point with depth above the MIN(depth) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002785", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, unit, lon, lat\n Sensor: pressure | fields: lat, type, reading, qc\nTask: Fetch reading from lightning where type exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002786", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: value, level, lon, ts\n Sensor: drought_index | fields: ts, level, lat, unit\nTask: Fetch depth from humidity that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002787", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, lon, type, reading\n Sensor: drought_index | fields: lon, type, unit, reading\nTask: Retrieve value from frost whose type is found in drought_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002788", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: level, reading, value, depth\n Sensor: pressure | fields: lat, unit, reading, qc\nTask: Get reading from wind_speed where value exceeds the maximum value from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002789", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lon, reading, type, depth\n Sensor: turbidity | fields: value, qc, lon, lat\nTask: Get value from dew_point where depth exceeds the total reading from turbidity for the same qc.\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(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002790", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, lat, lon, reading\n Sensor: wind_speed | fields: level, depth, value, ts\nTask: Retrieve lon 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=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002791", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, ts, qc, value\n Sensor: temperature | fields: type, lon, ts, qc\nTask: Get reading from evaporation where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002792", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, depth, level, ts\n Sensor: humidity | fields: value, level, lon, unit\nTask: Get value from uv_index where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002793", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: ts, lat, depth, unit\n Sensor: frost | fields: lat, ts, value, depth\nTask: Retrieve lon from uv_index that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002794", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: type, level, lat, qc\n Sensor: snow_depth | fields: level, depth, unit, ts\nTask: Fetch value from soil_moisture where reading is greater than the minimum of reading in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002795", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, lon, depth, unit\n Sensor: lightning | fields: lon, depth, reading, lat\nTask: Retrieve value from visibility that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002796", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: value, ts, level, lon\n Sensor: evaporation | fields: unit, depth, reading, lon\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=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002797", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, value, qc, type\n Sensor: lightning | fields: unit, lat, level, depth\nTask: Retrieve reading from air_quality that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002798", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lat, level, depth, qc\n Sensor: frost | fields: lon, depth, qc, type\nTask: Fetch lat from wind_speed where unit exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002799", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, ts, type, unit\n Sensor: drought_index | fields: reading, value, lon, unit\nTask: Get reading from air_quality where depth exceeds the average value from drought_index for 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(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002800", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, lon, reading, unit\n Sensor: pressure | fields: depth, value, ts, qc\nTask: Get value from evaporation where value exceeds the maximum reading from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002801", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: depth, lon, value, type\n Sensor: lightning | fields: type, value, reading, level\nTask: Retrieve depth from pressure that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002802", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: depth, type, unit, lon\n Sensor: pressure | fields: value, type, level, lon\nTask: Retrieve level from sunlight that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "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_fixed_v1_val_002803", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: qc, depth, lat, type\n Sensor: humidity | fields: lon, type, depth, unit\nTask: Retrieve value from dew_point that have at least one matching reading in humidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002804", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, qc, lat, ts\n Sensor: dew_point | fields: depth, type, ts, unit\nTask: Retrieve lon from evaporation that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002805", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, ts, lon, depth\n Sensor: rainfall | fields: value, depth, lat, type\nTask: Fetch lon from cloud_cover where reading is greater than the maximum of depth in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002806", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: ts, qc, lon, reading\n Sensor: air_quality | fields: ts, level, type, depth\nTask: Retrieve reading from visibility whose ts is found in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002807", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, qc, type, value\n Sensor: dew_point | fields: depth, reading, type, lon\nTask: Retrieve value from wind_speed whose ts is found in dew_point records where ts 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(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002808", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, depth, lat, lon\n Sensor: sunlight | fields: level, type, reading, lon\nTask: Get value from dew_point where type appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002809", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lat, depth, type, ts\n Sensor: temperature | fields: qc, reading, lat, depth\nTask: Fetch level from uv_index where ts exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002810", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: qc, lon, ts, depth\n Sensor: pressure | fields: ts, depth, type, lon\nTask: Get reading from uv_index where reading exceeds the average value from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002811", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: level, depth, lon, value\n Sensor: turbidity | fields: qc, ts, lat, lon\nTask: Retrieve level from frost with reading above the MAX(reading) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "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_fixed_v1_val_002812", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, lat, unit, type\n Sensor: air_quality | fields: lon, value, level, qc\nTask: Fetch depth from uv_index where type exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002813", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, lat, lon, ts\n Sensor: sunlight | fields: qc, ts, type, reading\nTask: Get lon from lightning where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002814", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, lat, lon, ts\n Sensor: rainfall | fields: lat, type, lon, unit\nTask: Get lat from evaporation where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002815", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: value, qc, reading, ts\n Sensor: visibility | fields: lat, value, ts, type\nTask: Get lon from snow_depth where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002816", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, ts, reading, qc\n Sensor: sunlight | fields: level, reading, depth, ts\nTask: Retrieve lon from frost whose type is found in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "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_fixed_v1_val_002817", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: type, lon, qc, unit\n Sensor: soil_moisture | fields: type, ts, value, unit\nTask: Get reading from temperature where reading exceeds the minimum reading from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002818", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, reading, level, lon\n Sensor: cloud_cover | fields: type, depth, level, qc\nTask: Retrieve depth from turbidity with depth above the COUNT(depth) of cloud_cover readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002819", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: ts, level, value, qc\n Sensor: visibility | fields: type, value, ts, reading\nTask: Retrieve level from pressure whose type is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002820", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: qc, lon, unit, type\n Sensor: lightning | fields: lat, qc, lon, reading\nTask: Get value from air_quality where depth exceeds the minimum depth from lightning for 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(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002821", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: level, unit, type, lon\n Sensor: visibility | fields: unit, depth, type, level\nTask: Get reading from snow_depth where value exceeds the maximum depth from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002822", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: value, lon, depth, qc\n Sensor: humidity | fields: qc, level, reading, value\nTask: Retrieve lat from air_quality that have at least one matching reading in humidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002823", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lat, depth, level, reading\n Sensor: humidity | fields: reading, unit, lon, level\nTask: Get reading from drought_index where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002824", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: reading, type, level, unit\n Sensor: soil_moisture | fields: lat, ts, level, qc\nTask: Fetch value from frost where unit exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002825", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: depth, reading, value, unit\n Sensor: turbidity | fields: lat, level, depth, reading\nTask: Get level from air_quality where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002826", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lon, level, unit, reading\n Sensor: pressure | fields: level, qc, depth, lon\nTask: Retrieve value from evaporation that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002827", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, type, lon, qc\n Sensor: cloud_cover | fields: lat, type, depth, qc\nTask: Get lon from rainfall where depth exceeds the count of value from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002828", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, unit, qc, ts\n Sensor: evaporation | fields: unit, value, level, lon\nTask: Fetch reading from temperature where ts exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002829", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: reading, lon, ts, level\n Sensor: uv_index | fields: lat, level, ts, reading\nTask: Fetch value from dew_point where type exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002830", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: ts, reading, lat, lon\n Sensor: lightning | fields: qc, value, type, reading\nTask: Retrieve lon from pressure with value above the COUNT(value) of lightning 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\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002831", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, qc, reading, lat\n Sensor: drought_index | fields: lat, unit, depth, reading\nTask: Retrieve lat from soil_moisture whose type is found in drought_index records where type 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=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002832", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: level, ts, lat, type\n Sensor: drought_index | fields: unit, qc, depth, lat\nTask: Get depth from frost where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002833", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, type, lon, qc\n Sensor: soil_moisture | fields: type, unit, ts, qc\nTask: Retrieve depth from visibility that have at least one matching reading in soil_moisture sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\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": "mst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002834", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, reading, depth, unit\n Sensor: pressure | fields: depth, unit, type, value\nTask: Get lon from temperature where depth appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002835", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: depth, value, level, ts\n Sensor: soil_moisture | fields: type, value, ts, qc\nTask: Get depth from frost where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002836", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: qc, ts, lat, depth\n Sensor: humidity | fields: value, reading, depth, type\nTask: Fetch value from drought_index where reading is greater than the average of depth in humidity for matching qc.\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(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002837", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: type, lat, unit, depth\n Sensor: dew_point | fields: qc, ts, depth, lon\nTask: Retrieve value from soil_moisture whose ts is found in dew_point records where qc 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(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002838", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: type, unit, lon, depth\n Sensor: cloud_cover | fields: value, type, lat, qc\nTask: Retrieve value from frost with value above the MAX(reading) of cloud_cover readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002839", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: level, unit, reading, depth\n Sensor: visibility | fields: depth, type, lon, ts\nTask: Fetch reading from drought_index where value is greater than the average of reading in visibility for matching type.\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(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002840", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: ts, qc, level, unit\n Sensor: wind_speed | fields: level, value, reading, depth\nTask: Get depth from evaporation where value exceeds the total depth from wind_speed for the same qc.\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=\"gst\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002841", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: type, lat, level, ts\n Sensor: frost | fields: lon, ts, lat, reading\nTask: Retrieve value from dew_point that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002842", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: reading, ts, depth, lon\n Sensor: wind_speed | fields: qc, level, reading, ts\nTask: Retrieve depth from visibility with value above the AVG(depth) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002843", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: ts, value, qc, unit\n Sensor: uv_index | fields: reading, qc, value, ts\nTask: Fetch reading from rainfall that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002844", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, level, type, lat\n Sensor: lightning | fields: reading, ts, unit, value\nTask: Retrieve lon from drought_index with depth above the SUM(value) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002845", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: depth, unit, value, reading\n Sensor: wind_speed | fields: ts, type, depth, lon\nTask: Get depth from pressure where ts appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002846", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, lat, qc, lon\n Sensor: dew_point | fields: lon, lat, value, unit\nTask: Get reading from visibility where depth exceeds the maximum reading from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002847", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lon, reading, lat, qc\n Sensor: lightning | fields: unit, qc, lon, value\nTask: Retrieve level from temperature with reading above the COUNT(value) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002848", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: reading, depth, type, lon\n Sensor: sunlight | fields: ts, qc, unit, value\nTask: Retrieve value from turbidity whose qc is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002849", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: value, level, qc, lat\n Sensor: drought_index | fields: qc, depth, ts, type\nTask: Fetch lat from snow_depth where qc exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002850", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: unit, depth, level, value\n Sensor: sunlight | fields: ts, type, level, lon\nTask: Get lat from soil_moisture where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002851", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, lon, type, value\n Sensor: dew_point | fields: qc, level, depth, type\nTask: Retrieve reading from air_quality whose depth 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=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "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_fixed_v1_val_002852", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: qc, type, ts, level\n Sensor: evaporation | fields: lon, lat, unit, qc\nTask: Fetch depth from lightning where value is greater than the total of value in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "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_fixed_v1_val_002853", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lat, type, lon, qc\n Sensor: drought_index | fields: lat, lon, value, ts\nTask: Get level from cloud_cover where value exceeds the total value from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002854", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, unit, level, qc\n Sensor: turbidity | fields: ts, value, lon, reading\nTask: Fetch reading from drought_index where reading is greater than the minimum of value in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002855", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lon, unit, value, depth\n Sensor: air_quality | fields: type, unit, lon, ts\nTask: Get level from lightning where depth appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002856", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: value, unit, depth, lat\n Sensor: soil_moisture | fields: ts, level, unit, type\nTask: Get depth from snow_depth where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002857", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: ts, value, depth, lon\n Sensor: drought_index | fields: type, ts, reading, unit\nTask: Retrieve depth from soil_moisture with value above the COUNT(reading) of drought_index 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(\"COUNT\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002858", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: qc, lat, type, level\n Sensor: wind_speed | fields: lat, level, lon, value\nTask: Fetch reading from pressure where depth exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002859", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, ts, lat, unit\n Sensor: turbidity | fields: type, level, ts, lon\nTask: Get value from sunlight where reading exceeds the average value from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002860", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: reading, type, value, level\n Sensor: turbidity | fields: lat, ts, lon, level\nTask: Fetch reading from snow_depth where depth exists in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002861", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: level, unit, type, value\n Sensor: air_quality | fields: type, lon, depth, qc\nTask: Get depth from evaporation where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002862", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: level, lat, qc, type\n Sensor: drought_index | fields: type, depth, level, reading\nTask: Retrieve depth from temperature with depth above the AVG(reading) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002863", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: ts, depth, reading, value\n Sensor: temperature | fields: reading, lon, value, level\nTask: Fetch value from rainfall where ts exists in temperature sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002864", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, qc, type, level\n Sensor: visibility | fields: ts, lon, unit, type\nTask: Fetch depth from drought_index that have at least one corresponding visibility measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002865", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, lat, unit, lon\n Sensor: pressure | fields: reading, qc, level, lat\nTask: Retrieve lon from frost whose type is found in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "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_fixed_v1_val_002866", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: type, ts, lon, qc\n Sensor: visibility | fields: level, type, reading, lon\nTask: Retrieve level from lightning that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002867", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, level, qc, ts\n Sensor: sunlight | fields: qc, value, level, type\nTask: Get reading from temperature where value exceeds the minimum depth from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002868", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lat, qc, lon, value\n Sensor: soil_moisture | fields: unit, qc, value, level\nTask: Fetch level from sunlight where unit exists in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002869", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lon, depth, qc, value\n Sensor: lightning | fields: depth, level, lat, lon\nTask: Retrieve lat from pressure with depth above the AVG(depth) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002870", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lat, type, value, unit\n Sensor: drought_index | fields: depth, reading, type, ts\nTask: Get reading 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=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002871", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: reading, level, value, lat\n Sensor: dew_point | fields: value, level, type, lon\nTask: Retrieve lat 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=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002872", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, unit, reading, lat\n Sensor: frost | fields: lon, level, type, value\nTask: Get reading from uv_index where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002873", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, ts, type, qc\n Sensor: wind_speed | fields: ts, level, value, type\nTask: Fetch lon from rainfall where depth exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002874", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lon, lat, unit, level\n Sensor: lightning | fields: lon, type, lat, unit\nTask: Fetch lon from soil_moisture that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002875", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, level, unit, ts\n Sensor: sunlight | fields: qc, depth, lat, level\nTask: Retrieve lon from humidity with reading above the MAX(reading) of sunlight readings sharing the same 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(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002876", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: reading, level, type, ts\n Sensor: evaporation | fields: ts, type, depth, reading\nTask: Retrieve lon from air_quality with depth above the SUM(depth) of evaporation 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(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002877", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, level, qc, value\n Sensor: rainfall | fields: qc, value, lon, type\nTask: Get lon from sunlight where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002878", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: unit, level, ts, lat\n Sensor: humidity | fields: ts, lat, lon, level\nTask: Get level from temperature where type appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002879", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: unit, type, lat, reading\n Sensor: turbidity | fields: reading, unit, value, ts\nTask: Get lat from pressure where value exceeds the maximum value from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002880", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, type, value, ts\n Sensor: pressure | fields: lat, unit, depth, reading\nTask: Get depth from humidity where type appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002881", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: unit, qc, depth, value\n Sensor: rainfall | fields: level, reading, lat, qc\nTask: Get lat from visibility where unit appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002882", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: type, level, ts, lon\n Sensor: turbidity | fields: reading, qc, lat, value\nTask: Get level from dew_point where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002883", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: unit, reading, level, ts\n Sensor: humidity | fields: lon, lat, qc, type\nTask: Get depth from temperature where unit appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002884", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, ts, depth, unit\n Sensor: turbidity | fields: reading, qc, level, depth\nTask: Fetch level from temperature that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002885", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: reading, level, lon, qc\n Sensor: humidity | fields: lat, type, lon, level\nTask: Get value from evaporation where qc appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002886", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, level, depth, lat\n Sensor: visibility | fields: reading, value, lon, level\nTask: Get lat from lightning where qc appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002887", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, ts, value, depth\n Sensor: pressure | fields: value, unit, reading, lon\nTask: Retrieve reading from humidity with depth above the MIN(value) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002888", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, value, level, depth\n Sensor: evaporation | fields: depth, type, reading, lat\nTask: Get level from wind_speed where depth exceeds the count of value from evaporation for the same ts.\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(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002889", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: qc, unit, lat, reading\n Sensor: uv_index | fields: depth, reading, unit, lat\nTask: Retrieve lat from cloud_cover with value above the COUNT(depth) of uv_index readings sharing the same depth.\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(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002890", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: depth, unit, ts, lon\n Sensor: drought_index | fields: lat, depth, level, lon\nTask: Fetch value from pressure where ts exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002891", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: type, lat, reading, depth\n Sensor: pressure | fields: ts, lat, reading, type\nTask: Retrieve lat from frost that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002892", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: qc, type, level, value\n Sensor: cloud_cover | fields: type, qc, ts, depth\nTask: Fetch lat from uv_index where reading is greater than the average of value in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002893", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, qc, ts, lat\n Sensor: rainfall | fields: reading, level, lat, unit\nTask: Retrieve lat from lightning that have at least one matching reading in rainfall sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002894", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: value, lat, reading, unit\n Sensor: turbidity | fields: lat, lon, value, ts\nTask: Fetch level from wind_speed where type exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002895", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: type, lon, lat, qc\n Sensor: humidity | fields: unit, lat, ts, reading\nTask: Get reading from turbidity where reading exceeds the total depth from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "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_fixed_v1_val_002896", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, lon, reading, lat\n Sensor: cloud_cover | fields: qc, lat, level, unit\nTask: Get level from uv_index where reading exceeds the minimum reading from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002897", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lon, lat, depth, type\n Sensor: visibility | fields: type, depth, level, ts\nTask: Retrieve reading from pressure with value above the AVG(depth) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002898", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, unit, lon, type\n Sensor: air_quality | fields: level, type, lon, ts\nTask: Retrieve lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002899", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: qc, lon, type, ts\n Sensor: cloud_cover | fields: value, level, lat, depth\nTask: Fetch lat from visibility where qc exists in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002900", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, depth, lat, value\n Sensor: wind_speed | fields: depth, unit, lon, type\nTask: Retrieve depth from temperature with depth above the AVG(reading) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002901", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, ts, reading, depth\n Sensor: lightning | fields: lat, reading, depth, value\nTask: Get reading from drought_index where unit appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "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_fixed_v1_val_002902", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: depth, lat, reading, value\n Sensor: soil_moisture | fields: type, value, lon, reading\nTask: Fetch reading from evaporation where value is greater than the minimum of reading in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "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_fixed_v1_val_002903", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: ts, value, depth, lon\n Sensor: visibility | fields: reading, type, level, lat\nTask: Fetch lon from soil_moisture that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002904", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: unit, lat, reading, type\n Sensor: pressure | fields: unit, lon, value, reading\nTask: Retrieve reading from air_quality that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002905", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, lon, value, unit\n Sensor: drought_index | fields: depth, reading, qc, ts\nTask: Get reading from wind_speed where qc appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002906", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lon, value, depth, qc\n Sensor: pressure | fields: lat, reading, ts, unit\nTask: Retrieve level from sunlight with reading above the MIN(value) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002907", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: level, reading, depth, lon\n Sensor: temperature | fields: value, reading, lon, depth\nTask: Get reading from visibility where depth exceeds the total value from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "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_fixed_v1_val_002908", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: reading, ts, lat, type\n Sensor: frost | fields: level, lat, value, ts\nTask: Retrieve lat from drought_index with value above the MIN(reading) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002909", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lat, reading, lon, type\n Sensor: humidity | fields: lon, type, unit, level\nTask: Fetch depth from evaporation that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002910", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, depth, unit, lon\n Sensor: soil_moisture | fields: lat, qc, ts, reading\nTask: Fetch depth from temperature where type exists in soil_moisture sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002911", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: value, type, reading, lat\n Sensor: turbidity | fields: depth, level, reading, type\nTask: Retrieve reading from sunlight whose type is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002912", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, value, reading, lat\n Sensor: wind_speed | fields: ts, reading, lat, value\nTask: Fetch lon from air_quality where qc exists in wind_speed sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002913", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, value, unit, reading\n Sensor: turbidity | fields: value, reading, qc, lon\nTask: Get value from cloud_cover where ts appears in turbidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002914", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: reading, value, level, unit\n Sensor: air_quality | fields: lat, level, value, type\nTask: Retrieve lon from pressure whose ts is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002915", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: type, unit, reading, lat\n Sensor: evaporation | fields: ts, level, depth, value\nTask: Retrieve depth from soil_moisture with reading above the AVG(depth) of evaporation readings sharing the same qc.\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(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002916", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: level, qc, depth, ts\n Sensor: lightning | fields: ts, level, lat, type\nTask: Get value from humidity where qc appears in lightning readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002917", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, lat, ts, level\n Sensor: evaporation | fields: reading, type, level, value\nTask: Retrieve level from soil_moisture whose qc is found in evaporation records where unit 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(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002918", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, type, lon, depth\n Sensor: pressure | fields: lon, level, ts, unit\nTask: Get reading from drought_index where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002919", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, lat, ts, depth\n Sensor: frost | fields: lat, type, unit, lon\nTask: Get lon from snow_depth where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002920", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: ts, lat, lon, depth\n Sensor: rainfall | fields: reading, type, depth, lon\nTask: Get depth from drought_index where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002921", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: unit, lon, ts, value\n Sensor: pressure | fields: level, qc, reading, ts\nTask: Fetch value from temperature where type exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002922", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: depth, level, value, unit\n Sensor: rainfall | fields: type, lon, depth, ts\nTask: Get level from snow_depth where value exceeds the average value from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002923", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: reading, value, type, ts\n Sensor: turbidity | fields: lon, depth, type, lat\nTask: Retrieve reading from cloud_cover that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002924", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, value, depth, ts\n Sensor: dew_point | fields: depth, unit, type, value\nTask: Fetch lon from soil_moisture where reading is greater than the count of of depth in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002925", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lat, qc, ts, lon\n Sensor: temperature | fields: type, ts, depth, unit\nTask: Retrieve lat 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=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002926", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: ts, qc, reading, unit\n Sensor: air_quality | fields: lon, lat, unit, type\nTask: Get depth from pressure where value exceeds the count of depth from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002927", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, lon, lat, type\n Sensor: soil_moisture | fields: qc, ts, value, unit\nTask: Fetch depth from snow_depth that have at least one corresponding soil_moisture measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002928", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: ts, lon, unit, depth\n Sensor: lightning | fields: reading, qc, unit, lon\nTask: Retrieve depth from soil_moisture that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002929", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: level, type, depth, lon\n Sensor: frost | fields: lon, reading, lat, level\nTask: Fetch value from pressure where value is greater than the total of reading in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002930", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, qc, lat, reading\n Sensor: soil_moisture | fields: unit, level, lat, reading\nTask: Get level from air_quality where unit appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002931", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: ts, lon, qc, lat\n Sensor: air_quality | fields: lon, depth, unit, lat\nTask: Retrieve level from uv_index with reading above the MIN(value) of air_quality readings sharing 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(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002932", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: level, lat, unit, value\n Sensor: humidity | fields: lat, depth, qc, lon\nTask: Retrieve lon from sunlight whose qc is found in humidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002933", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, level, qc, depth\n Sensor: air_quality | fields: qc, value, ts, level\nTask: Fetch level 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=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002934", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lat, depth, level, reading\n Sensor: snow_depth | fields: lat, reading, unit, level\nTask: Retrieve value from temperature with reading above the COUNT(reading) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002935", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: ts, type, lat, qc\n Sensor: frost | fields: value, lon, lat, unit\nTask: Get value from drought_index where ts appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002936", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: depth, level, type, unit\n Sensor: uv_index | fields: type, value, qc, level\nTask: Retrieve depth from drought_index whose type is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002937", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, reading, value, qc\n Sensor: turbidity | fields: reading, lon, lat, value\nTask: Retrieve level from frost that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002938", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, unit, lat, reading\n Sensor: turbidity | fields: depth, type, ts, value\nTask: Fetch lon from pressure where type exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002939", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, unit, level, lon\n Sensor: lightning | fields: unit, level, reading, ts\nTask: Retrieve level from drought_index with depth above the COUNT(reading) of lightning 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(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002940", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: type, value, unit, qc\n Sensor: rainfall | fields: value, level, type, qc\nTask: Get reading from evaporation where value exceeds the total depth from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002941", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, lat, lon, value\n Sensor: visibility | fields: level, ts, type, unit\nTask: Fetch lat from humidity that have at least one corresponding visibility measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002942", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: value, type, qc, level\n Sensor: snow_depth | fields: unit, depth, lat, qc\nTask: Fetch depth from air_quality where reading is greater than the average of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "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_fixed_v1_val_002943", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: unit, type, value, reading\n Sensor: rainfall | fields: lat, qc, lon, reading\nTask: Get level from turbidity where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002944", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: level, ts, reading, lon\n Sensor: evaporation | fields: reading, unit, ts, level\nTask: Get reading from cloud_cover where unit appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002945", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lon, type, value, reading\n Sensor: uv_index | fields: level, unit, ts, type\nTask: Get level from drought_index where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_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_fixed_v1_val_002946", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: ts, reading, type, qc\n Sensor: snow_depth | fields: lat, unit, qc, reading\nTask: Get value from rainfall where value exceeds the minimum value from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002947", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, lon, level, depth\n Sensor: dew_point | fields: level, type, reading, lat\nTask: Get level from rainfall where reading exceeds the maximum reading from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002948", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: reading, lon, qc, lat\n Sensor: lightning | fields: ts, value, reading, lon\nTask: Get value from humidity where ts appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002949", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: depth, value, type, lon\n Sensor: soil_moisture | fields: reading, depth, ts, type\nTask: Get lat from temperature where reading exceeds the average depth from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002950", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lat, ts, level, depth\n Sensor: frost | fields: value, unit, depth, type\nTask: Get lat from soil_moisture where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002951", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, depth, reading, type\n Sensor: cloud_cover | fields: lat, type, unit, ts\nTask: Retrieve depth from air_quality with depth above the SUM(value) of cloud_cover 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(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002952", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: ts, depth, reading, value\n Sensor: turbidity | fields: type, qc, lat, lon\nTask: Get level from cloud_cover where ts appears in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002953", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: ts, value, lon, qc\n Sensor: frost | fields: lon, value, lat, qc\nTask: Retrieve lon from wind_speed that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002954", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, lon, depth, value\n Sensor: snow_depth | fields: lon, unit, value, qc\nTask: Get lat from drought_index where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002955", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: ts, level, lon, reading\n Sensor: cloud_cover | fields: depth, lat, ts, lon\nTask: Get depth from visibility where ts appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\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": "visibility", "inner_table": "cloud_cover", "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_fixed_v1_val_002956", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: type, level, ts, reading\n Sensor: wind_speed | fields: lat, type, lon, ts\nTask: Get value from humidity where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002957", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, qc, depth, lat\n Sensor: sunlight | fields: lat, lon, type, qc\nTask: Retrieve lon from drought_index with depth above the MIN(value) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002958", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, lat, qc, ts\n Sensor: frost | fields: value, lon, type, qc\nTask: Fetch reading 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=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "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_fixed_v1_val_002959", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, depth, qc, level\n Sensor: cloud_cover | fields: ts, unit, qc, value\nTask: Get lat from lightning where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002960", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: ts, level, depth, type\n Sensor: frost | fields: reading, value, unit, lat\nTask: Retrieve depth from snow_depth whose ts is found in frost records where qc 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=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002961", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: unit, reading, ts, value\n Sensor: evaporation | fields: ts, reading, value, lon\nTask: Get level from soil_moisture where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002962", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: reading, depth, type, lon\n Sensor: evaporation | fields: lat, level, value, qc\nTask: Fetch value from cloud_cover where qc exists in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002963", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: qc, type, depth, lon\n Sensor: turbidity | fields: qc, depth, level, type\nTask: Fetch lon from soil_moisture where depth exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002964", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lon, ts, unit, depth\n Sensor: lightning | fields: value, unit, level, lon\nTask: Retrieve value from evaporation with reading above the MIN(value) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002965", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, qc, unit, value\n Sensor: sunlight | fields: unit, ts, qc, lon\nTask: Fetch level from turbidity where unit 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=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002966", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: depth, lon, type, unit\n Sensor: lightning | fields: value, lat, ts, depth\nTask: Get depth from rainfall where qc appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002967", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, lat, lon, depth\n Sensor: dew_point | fields: level, depth, ts, type\nTask: Retrieve level from frost with reading above the COUNT(value) of dew_point readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\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": "thr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002968", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: type, lon, depth, qc\n Sensor: soil_moisture | fields: reading, level, value, lon\nTask: Retrieve lon from visibility with value above the SUM(depth) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002969", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: level, unit, value, lat\n Sensor: rainfall | fields: depth, unit, level, ts\nTask: Retrieve value from lightning that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002970", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: level, type, ts, lon\n Sensor: dew_point | fields: ts, type, depth, lon\nTask: Get lat from uv_index where value exceeds the maximum reading from dew_point for the same unit.\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(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002971", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lat, depth, value, qc\n Sensor: lightning | fields: qc, unit, level, lat\nTask: Retrieve lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002972", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: type, level, reading, ts\n Sensor: snow_depth | fields: ts, unit, depth, reading\nTask: Retrieve depth from lightning with reading above the MAX(reading) of snow_depth readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002973", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: reading, ts, value, type\n Sensor: wind_speed | fields: lon, value, ts, unit\nTask: Fetch value from soil_moisture that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\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": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002974", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, level, unit, qc\n Sensor: dew_point | fields: qc, depth, lon, reading\nTask: Get value from sunlight where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002975", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, depth, lat, unit\n Sensor: uv_index | fields: level, unit, lon, lat\nTask: Fetch lon from sunlight where value is greater than the average of value in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "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_fixed_v1_val_002976", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, depth, ts, reading\n Sensor: dew_point | fields: unit, depth, level, lat\nTask: Fetch lon from drought_index where depth exists in dew_point sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002977", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, unit, depth, value\n Sensor: air_quality | fields: lon, ts, qc, type\nTask: Get depth from visibility where type appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002978", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: depth, lat, level, type\n Sensor: cloud_cover | fields: value, ts, lat, type\nTask: Fetch lat from visibility where qc exists in cloud_cover sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002979", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lat, unit, qc, ts\n Sensor: uv_index | fields: qc, level, lat, depth\nTask: Fetch lat from wind_speed that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002980", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: reading, qc, lat, level\n Sensor: turbidity | fields: level, lat, lon, type\nTask: Fetch lat from visibility where type 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=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002981", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, depth, lat, lon\n Sensor: soil_moisture | fields: type, ts, value, level\nTask: Get reading from frost where depth appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002982", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: ts, lon, type, reading\n Sensor: sunlight | fields: qc, ts, lon, lat\nTask: Retrieve value from snow_depth whose type is found in sunlight records where ts 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(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002983", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, lat, depth, ts\n Sensor: drought_index | fields: ts, level, value, qc\nTask: Fetch lon from pressure that have at least one corresponding drought_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002984", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: ts, unit, reading, value\n Sensor: evaporation | fields: depth, unit, ts, lon\nTask: Retrieve value from pressure that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002985", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: reading, value, lat, depth\n Sensor: humidity | fields: depth, qc, ts, unit\nTask: Fetch lon from visibility where depth is greater than the total of depth in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002986", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: level, value, ts, lat\n Sensor: humidity | fields: unit, reading, level, depth\nTask: Get lat from dew_point where depth appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002987", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: unit, ts, level, value\n Sensor: drought_index | fields: reading, ts, qc, unit\nTask: Fetch lat from humidity where ts exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002988", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, depth, unit, level\n Sensor: rainfall | fields: qc, level, value, depth\nTask: Fetch reading from drought_index that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002989", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: type, level, reading, lat\n Sensor: pressure | fields: lat, value, depth, unit\nTask: Get value from humidity where value exceeds the total reading from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002990", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, lon, value, reading\n Sensor: turbidity | fields: reading, lon, value, unit\nTask: Fetch lon from humidity where unit exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002991", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lon, qc, depth, unit\n Sensor: temperature | fields: lat, reading, depth, type\nTask: Retrieve lon 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=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002992", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, lon, lat, level\n Sensor: soil_moisture | fields: reading, ts, level, value\nTask: Get level from rainfall where unit appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002993", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: ts, value, depth, qc\n Sensor: lightning | fields: lat, level, ts, lon\nTask: Get level from pressure where qc appears in lightning readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002994", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lat, value, qc, depth\n Sensor: wind_speed | fields: type, value, lon, lat\nTask: Fetch level from visibility where reading is greater than the count of of reading in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002995", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: depth, reading, level, lat\n Sensor: soil_moisture | fields: value, qc, depth, lon\nTask: Retrieve value from humidity whose unit 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=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002996", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, lon, ts, level\n Sensor: humidity | fields: reading, level, lat, unit\nTask: Fetch level from turbidity that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_002997", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: level, type, qc, lon\n Sensor: air_quality | fields: qc, type, reading, lat\nTask: Retrieve lat from humidity with reading above the MAX(value) of air_quality 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\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002998", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: qc, unit, reading, lon\n Sensor: temperature | fields: depth, qc, unit, level\nTask: Retrieve level from rainfall with reading above the SUM(reading) of temperature readings sharing the same 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(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_002999", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, level, reading, ts\n Sensor: air_quality | fields: qc, type, lat, lon\nTask: Retrieve value from wind_speed that have at least one matching reading in air_quality sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003000", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: ts, value, qc, type\n Sensor: rainfall | fields: depth, lat, value, level\nTask: Get depth from evaporation where unit appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003001", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: type, level, unit, lon\n Sensor: humidity | fields: ts, value, level, lon\nTask: Retrieve level from rainfall that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003002", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: qc, depth, lon, lat\n Sensor: snow_depth | fields: lon, qc, reading, lat\nTask: Fetch level from wind_speed where reading is greater than the maximum of value in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "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_fixed_v1_val_003003", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: qc, lon, ts, depth\n Sensor: frost | fields: ts, type, lon, qc\nTask: Get level from snow_depth where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003004", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: level, lat, qc, depth\n Sensor: rainfall | fields: value, qc, depth, reading\nTask: Get reading from frost where unit appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003005", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: depth, lat, lon, level\n Sensor: pressure | fields: type, depth, level, value\nTask: Fetch lon from uv_index that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003006", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, depth, unit, qc\n Sensor: wind_speed | fields: lon, level, unit, ts\nTask: Retrieve value from soil_moisture with depth above the SUM(value) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003007", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, level, type, unit\n Sensor: humidity | fields: ts, reading, unit, lon\nTask: Fetch reading from pressure that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003008", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: qc, depth, level, lat\n Sensor: pressure | fields: ts, type, value, unit\nTask: Retrieve reading from evaporation that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003009", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, reading, lat, type\n Sensor: snow_depth | fields: reading, ts, depth, lon\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=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003010", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: depth, lon, value, unit\n Sensor: air_quality | fields: unit, level, value, ts\nTask: Retrieve lon from evaporation with depth above the MAX(reading) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003011", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, ts, value, reading\n Sensor: sunlight | fields: level, unit, depth, ts\nTask: Fetch level from wind_speed that have at least one corresponding sunlight measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003012", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, lat, reading, lon\n Sensor: uv_index | fields: level, unit, depth, lat\nTask: Fetch depth from air_quality where reading is greater than the total of value in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003013", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: level, ts, lat, unit\n Sensor: wind_speed | fields: reading, lat, lon, type\nTask: Fetch value from frost where qc exists in wind_speed sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003014", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, qc, value, level\n Sensor: rainfall | fields: type, ts, unit, lat\nTask: Retrieve lon from temperature with value above the AVG(reading) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003015", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: qc, type, ts, lon\n Sensor: temperature | fields: lon, value, reading, type\nTask: Fetch level from sunlight where type exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "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_fixed_v1_val_003016", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, value, qc, level\n Sensor: temperature | fields: reading, depth, lon, unit\nTask: Retrieve lon from lightning with depth above the MIN(reading) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003017", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lon, unit, type, depth\n Sensor: drought_index | fields: type, qc, lat, reading\nTask: Fetch value from cloud_cover where unit exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003018", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, qc, lon, unit\n Sensor: temperature | fields: qc, ts, reading, type\nTask: Get lon from uv_index where reading exceeds the minimum value from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003019", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, lat, unit, qc\n Sensor: humidity | fields: value, reading, unit, type\nTask: Get lon from turbidity where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003020", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, unit, type, lat\n Sensor: rainfall | fields: value, reading, level, type\nTask: Get level from dew_point where reading exceeds the total value from rainfall for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003021", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: depth, reading, level, qc\n Sensor: cloud_cover | fields: ts, qc, lat, unit\nTask: Retrieve level from temperature that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003022", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, ts, lon, qc\n Sensor: wind_speed | fields: level, ts, unit, reading\nTask: Fetch level from visibility where reading is greater than the total of reading in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003023", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: ts, qc, type, unit\n Sensor: temperature | fields: unit, ts, level, lat\nTask: Retrieve depth from drought_index with value above the AVG(reading) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003024", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, ts, level, type\n Sensor: pressure | fields: qc, reading, level, value\nTask: Get lat from soil_moisture where qc appears in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003025", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, qc, value, reading\n Sensor: dew_point | fields: level, depth, ts, lat\nTask: Fetch depth from visibility where value is greater than the total of value in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003026", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: depth, value, unit, level\n Sensor: frost | fields: reading, qc, lat, lon\nTask: Retrieve level from dew_point that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003027", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: qc, lat, depth, unit\n Sensor: evaporation | fields: lon, lat, qc, ts\nTask: Retrieve depth from soil_moisture that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003028", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: level, qc, ts, lon\n Sensor: frost | fields: level, type, lat, qc\nTask: Retrieve depth from evaporation with depth above the AVG(depth) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003029", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: type, reading, value, unit\n Sensor: pressure | fields: depth, unit, lon, lat\nTask: Retrieve lon from humidity that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003030", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, unit, qc, lon\n Sensor: uv_index | fields: level, unit, depth, lat\nTask: Fetch lon from wind_speed that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003031", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, reading, depth, level\n Sensor: dew_point | fields: value, qc, unit, lat\nTask: Fetch reading from evaporation where reading is greater than the total of reading in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003032", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: reading, depth, lon, value\n Sensor: drought_index | fields: reading, lon, type, value\nTask: Fetch lat from snow_depth that have at least one corresponding drought_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003033", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, depth, type, lon\n Sensor: lightning | fields: reading, lon, lat, level\nTask: Retrieve level from evaporation that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "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_fixed_v1_val_003034", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lon, value, unit, lat\n Sensor: sunlight | fields: lat, unit, level, ts\nTask: Get depth from humidity where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003035", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: value, level, reading, lon\n Sensor: turbidity | fields: qc, unit, ts, depth\nTask: Fetch reading from frost where reading is greater than the count of of reading in turbidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003036", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: level, qc, lon, ts\n Sensor: frost | fields: value, unit, depth, lon\nTask: Fetch value from uv_index where ts exists in frost 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(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "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_fixed_v1_val_003037", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: value, lat, depth, ts\n Sensor: wind_speed | fields: value, lon, depth, type\nTask: Retrieve reading from sunlight that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003038", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, type, depth, reading\n Sensor: cloud_cover | fields: value, lat, depth, type\nTask: Get value from wind_speed where unit appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003039", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: type, unit, ts, depth\n Sensor: visibility | fields: lat, lon, value, qc\nTask: Get value from lightning where value exceeds the minimum reading from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003040", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: depth, lat, level, value\n Sensor: uv_index | fields: value, unit, reading, type\nTask: Fetch lon from humidity where qc exists in uv_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003041", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: type, level, unit, qc\n Sensor: dew_point | fields: level, ts, lon, qc\nTask: Fetch level from air_quality where value is greater than the count of of value in dew_point for matching type.\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(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003042", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: reading, value, ts, depth\n Sensor: lightning | fields: lat, ts, qc, level\nTask: Get lon from rainfall where depth exceeds the average depth from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003043", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lon, reading, unit, qc\n Sensor: sunlight | fields: ts, value, qc, type\nTask: Get reading from turbidity where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003044", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: depth, ts, unit, qc\n Sensor: sunlight | fields: ts, reading, qc, lon\nTask: Retrieve reading from evaporation whose unit is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003045", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lon, level, ts, reading\n Sensor: snow_depth | fields: qc, lat, ts, lon\nTask: Get level from uv_index where qc appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003046", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lat, level, qc, ts\n Sensor: pressure | fields: reading, value, lon, depth\nTask: Get value from temperature where ts appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003047", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: unit, lat, level, ts\n Sensor: evaporation | fields: ts, reading, qc, lat\nTask: Retrieve depth from frost with value above the MAX(depth) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003048", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lat, value, type, unit\n Sensor: dew_point | fields: lat, lon, value, unit\nTask: Retrieve lat from rainfall whose qc is found in dew_point records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\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": "rainfall", "inner_table": "dew_point", "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_fixed_v1_val_003049", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, lat, reading, unit\n Sensor: uv_index | fields: value, level, ts, depth\nTask: Fetch lon from humidity where depth exists in uv_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\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": "humidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003050", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, qc, depth, value\n Sensor: humidity | fields: lat, ts, depth, lon\nTask: Get depth from soil_moisture where value exceeds the average reading from humidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003051", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: ts, lat, type, reading\n Sensor: snow_depth | fields: level, type, lon, value\nTask: Get value from dew_point where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003052", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: depth, type, ts, lon\n Sensor: pressure | fields: level, unit, depth, value\nTask: Get reading from evaporation where depth appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003053", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, depth, unit, qc\n Sensor: evaporation | fields: value, lon, type, depth\nTask: Retrieve level from wind_speed whose qc is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003054", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lat, qc, ts, depth\n Sensor: drought_index | fields: unit, value, lat, depth\nTask: Get lat from turbidity where unit appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003055", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, depth, lat, qc\n Sensor: snow_depth | fields: lon, reading, value, depth\nTask: Fetch lon from cloud_cover that have at least one corresponding snow_depth measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003056", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: reading, level, lon, type\n Sensor: pressure | fields: lon, qc, reading, level\nTask: Get lat from drought_index where value exceeds the average reading from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003057", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, level, unit, ts\n Sensor: humidity | fields: value, ts, type, unit\nTask: Get lon from dew_point where unit appears in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003058", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lon, reading, unit, level\n Sensor: sunlight | fields: value, lon, qc, ts\nTask: Retrieve depth from evaporation with reading above the AVG(reading) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "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_fixed_v1_val_003059", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, qc, lon, lat\n Sensor: lightning | fields: lon, value, level, depth\nTask: Get level from rainfall where unit appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003060", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, value, lat, unit\n Sensor: rainfall | fields: type, unit, depth, ts\nTask: Retrieve value from air_quality whose depth is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003061", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: unit, ts, reading, type\n Sensor: pressure | fields: lat, lon, level, ts\nTask: Get depth from soil_moisture where depth exceeds the minimum reading from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "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_fixed_v1_val_003062", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, ts, depth, lat\n Sensor: air_quality | fields: unit, lat, ts, reading\nTask: Retrieve reading from visibility whose type is found in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003063", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lat, lon, ts, depth\n Sensor: sunlight | fields: lon, ts, unit, lat\nTask: Fetch reading from turbidity where qc exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003064", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, ts, unit, depth\n Sensor: cloud_cover | fields: reading, lat, depth, lon\nTask: Get level from turbidity where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003065", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, lat, type, level\n Sensor: uv_index | fields: lat, type, lon, unit\nTask: Fetch value from visibility where qc exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003066", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: qc, reading, level, type\n Sensor: air_quality | fields: level, value, lat, lon\nTask: Get reading from snow_depth where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003067", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, qc, lat, reading\n Sensor: soil_moisture | fields: qc, depth, lon, reading\nTask: Fetch depth from drought_index that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003068", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, value, type, qc\n Sensor: lightning | fields: level, value, type, lon\nTask: Fetch lat from pressure where depth exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003069", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: reading, lon, depth, unit\n Sensor: dew_point | fields: depth, type, lon, unit\nTask: Fetch lon from lightning where ts exists in dew_point sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\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": "lightning", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003070", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: ts, reading, depth, type\n Sensor: air_quality | fields: value, lat, level, depth\nTask: Get depth from cloud_cover where value exceeds the count of value from air_quality for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003071", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: unit, type, depth, ts\n Sensor: frost | fields: depth, ts, value, level\nTask: Retrieve value from sunlight whose ts is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003072", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lat, value, lon, qc\n Sensor: lightning | fields: value, unit, reading, depth\nTask: Fetch lon from temperature where type exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003073", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lon, ts, unit, value\n Sensor: wind_speed | fields: lon, level, ts, depth\nTask: Fetch value from soil_moisture where value is greater than the minimum of value in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003074", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: unit, lon, type, ts\n Sensor: lightning | fields: qc, type, reading, level\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=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003075", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: reading, level, qc, value\n Sensor: evaporation | fields: value, lat, qc, reading\nTask: Retrieve value from turbidity that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003076", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: depth, level, lon, lat\n Sensor: evaporation | fields: lon, level, unit, ts\nTask: Fetch depth from frost where depth is greater than the average of value in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003077", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lat, reading, level, depth\n Sensor: pressure | fields: lat, lon, ts, level\nTask: Fetch value from visibility that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003078", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, qc, lon, value\n Sensor: snow_depth | fields: value, level, depth, ts\nTask: Fetch lat from frost where reading is greater than the total of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003079", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, lon, ts, depth\n Sensor: rainfall | fields: level, lon, qc, depth\nTask: Fetch lon from snow_depth where reading is greater than the total of value in rainfall for matching depth.\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(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003080", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: reading, type, value, ts\n Sensor: pressure | fields: lon, lat, type, depth\nTask: Get reading from lightning where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003081", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, depth, value, ts\n Sensor: frost | fields: ts, lat, level, lon\nTask: Retrieve lat from temperature whose type 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=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003082", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: type, reading, lat, value\n Sensor: air_quality | fields: unit, lat, ts, lon\nTask: Retrieve lon from wind_speed that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003083", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, type, unit, level\n Sensor: snow_depth | fields: lon, depth, value, lat\nTask: Retrieve value 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=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003084", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: reading, ts, lon, lat\n Sensor: cloud_cover | fields: value, ts, depth, lat\nTask: Fetch value from humidity where qc exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003085", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: qc, ts, unit, depth\n Sensor: snow_depth | fields: lon, reading, lat, qc\nTask: Fetch depth from rainfall that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003086", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: depth, type, qc, level\n Sensor: evaporation | fields: level, lat, lon, unit\nTask: Fetch reading from dew_point where unit exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003087", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, ts, value, depth\n Sensor: cloud_cover | fields: lon, lat, level, reading\nTask: Retrieve value from soil_moisture with depth above the AVG(depth) of cloud_cover readings sharing 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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003088", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: depth, unit, lat, reading\n Sensor: turbidity | fields: level, unit, qc, type\nTask: Fetch lon from evaporation where unit exists in turbidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "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_fixed_v1_val_003089", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: lat, depth, ts, lon\n Sensor: snow_depth | fields: lat, value, qc, reading\nTask: Fetch depth from cloud_cover where depth is greater than the minimum of value in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003090", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: ts, depth, reading, lat\n Sensor: air_quality | fields: level, lon, reading, unit\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=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003091", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: depth, lon, ts, lat\n Sensor: dew_point | fields: unit, level, lon, ts\nTask: Fetch level from uv_index where value is greater than the maximum of reading in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003092", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, lon, level, unit\n Sensor: lightning | fields: ts, level, unit, reading\nTask: Get lat from sunlight where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003093", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, ts, lat, value\n Sensor: humidity | fields: reading, unit, value, lat\nTask: Fetch lat from soil_moisture that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\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": "thr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003094", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, lon, value, depth\n Sensor: pressure | fields: reading, depth, unit, ts\nTask: Retrieve reading from temperature that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003095", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: type, ts, qc, depth\n Sensor: frost | fields: qc, level, ts, reading\nTask: Retrieve level from sunlight with value above the SUM(value) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003096", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: reading, level, ts, value\n Sensor: temperature | fields: reading, lat, depth, level\nTask: Get lon from drought_index where depth exceeds the maximum depth from temperature for the same depth.\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(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003097", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, type, unit, ts\n Sensor: pressure | fields: type, lon, lat, unit\nTask: Get level 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=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003098", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: value, unit, type, depth\n Sensor: air_quality | fields: lat, reading, type, unit\nTask: Retrieve reading from soil_moisture with depth above the SUM(depth) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\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": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003099", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: type, reading, depth, level\n Sensor: humidity | fields: level, unit, ts, qc\nTask: Retrieve reading from pressure that have at least one matching reading in humidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003100", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: unit, reading, level, lon\n Sensor: visibility | fields: depth, unit, reading, lon\nTask: Retrieve depth from soil_moisture whose qc is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003101", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lon, lat, unit, reading\n Sensor: drought_index | fields: lat, value, level, qc\nTask: Get reading from soil_moisture where qc appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003102", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: value, depth, qc, reading\n Sensor: cloud_cover | fields: unit, depth, value, qc\nTask: Retrieve lon from lightning that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003103", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lat, level, depth, lon\n Sensor: lightning | fields: depth, qc, ts, level\nTask: Fetch lon from turbidity where value is greater than the count of of reading in lightning for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003104", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: unit, lat, level, depth\n Sensor: pressure | fields: lat, lon, unit, depth\nTask: Fetch reading from visibility that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003105", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: level, value, lon, reading\n Sensor: uv_index | fields: type, reading, lon, level\nTask: Get value from air_quality where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003106", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lat, depth, unit, level\n Sensor: visibility | fields: level, ts, lat, depth\nTask: Get reading from cloud_cover where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003107", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: level, depth, lon, value\n Sensor: cloud_cover | fields: depth, lat, ts, value\nTask: Retrieve level from dew_point with depth above the MIN(depth) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003108", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, ts, reading, lon\n Sensor: drought_index | fields: value, lon, reading, depth\nTask: Get reading from evaporation where depth appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003109", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, unit, reading, lat\n Sensor: pressure | fields: reading, ts, qc, level\nTask: Fetch lon from lightning where value is greater than the minimum of value in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003110", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, lon, unit, value\n Sensor: lightning | fields: type, depth, value, unit\nTask: Fetch level from snow_depth where depth is greater than the total of value in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003111", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, lon, reading, value\n Sensor: pressure | fields: lat, qc, lon, type\nTask: Get value from wind_speed where unit appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "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_fixed_v1_val_003112", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: value, ts, lat, unit\n Sensor: snow_depth | fields: reading, level, type, depth\nTask: Get lon from rainfall where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003113", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, ts, lon, lat\n Sensor: lightning | fields: level, ts, reading, lat\nTask: Get depth from uv_index where qc appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003114", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: reading, ts, level, qc\n Sensor: sunlight | fields: qc, level, lon, reading\nTask: Retrieve reading from air_quality with value above the MIN(depth) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003115", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, reading, level, type\n Sensor: humidity | fields: unit, ts, qc, depth\nTask: Fetch value from air_quality where qc exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003116", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: type, qc, level, depth\n Sensor: turbidity | fields: qc, lat, reading, ts\nTask: Retrieve level from rainfall with reading above the SUM(depth) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003117", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: qc, level, ts, type\n Sensor: snow_depth | fields: level, value, reading, lat\nTask: Fetch reading from visibility where value is greater than the maximum of reading in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003118", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: type, value, qc, lat\n Sensor: pressure | fields: depth, qc, level, ts\nTask: Fetch reading from humidity where ts exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003119", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, level, ts, lat\n Sensor: lightning | fields: lon, level, value, depth\nTask: Retrieve depth from temperature whose depth is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003120", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: type, unit, value, ts\n Sensor: dew_point | fields: value, qc, level, lat\nTask: Retrieve level from soil_moisture whose depth is found in dew_point records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003121", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, qc, lon, lat\n Sensor: snow_depth | fields: ts, depth, qc, unit\nTask: Get value from temperature where depth exceeds the total reading from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003122", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lon, level, qc, depth\n Sensor: frost | fields: unit, qc, reading, ts\nTask: Fetch lon from uv_index where depth is greater than the average of value in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003123", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: unit, qc, type, ts\n Sensor: humidity | fields: qc, depth, unit, lon\nTask: Retrieve lat from evaporation with depth above the SUM(value) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003124", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, level, depth, type\n Sensor: pressure | fields: unit, value, lon, qc\nTask: Retrieve depth from visibility that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003125", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, depth, lat, reading\n Sensor: rainfall | fields: type, depth, value, unit\nTask: Retrieve depth from drought_index with depth above the COUNT(depth) of rainfall 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(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003126", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: unit, lat, lon, ts\n Sensor: sunlight | fields: unit, reading, qc, level\nTask: Retrieve reading from frost with reading above the SUM(value) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003127", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: value, unit, type, level\n Sensor: humidity | fields: ts, lon, value, reading\nTask: Get value from frost where qc appears in humidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003128", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: reading, ts, value, unit\n Sensor: turbidity | fields: qc, reading, lat, ts\nTask: Get reading from snow_depth where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003129", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lat, type, depth, lon\n Sensor: snow_depth | fields: lon, lat, depth, qc\nTask: Retrieve reading from air_quality that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003130", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, lat, level, value\n Sensor: drought_index | fields: lat, depth, level, ts\nTask: Fetch lat from air_quality where depth is greater than the count of of depth in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "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_fixed_v1_val_003131", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, lat, depth, qc\n Sensor: snow_depth | fields: value, ts, level, reading\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=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003132", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: value, qc, level, lat\n Sensor: dew_point | fields: ts, level, depth, value\nTask: Get value from uv_index where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003133", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lon, qc, unit, depth\n Sensor: cloud_cover | fields: depth, reading, type, unit\nTask: Retrieve reading from pressure whose depth is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003134", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: value, ts, lat, qc\n Sensor: drought_index | fields: qc, value, ts, depth\nTask: Retrieve value from visibility with value above the MIN(depth) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003135", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, qc, reading, depth\n Sensor: humidity | fields: level, lat, value, lon\nTask: Retrieve lon from snow_depth whose ts is found in humidity records where qc 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(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003136", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: type, unit, reading, ts\n Sensor: evaporation | fields: type, lon, unit, lat\nTask: Retrieve lon from cloud_cover whose type is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003137", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lon, ts, reading, depth\n Sensor: sunlight | fields: lat, ts, type, reading\nTask: Fetch level from evaporation where reading is greater than the maximum of reading in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003138", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, level, unit, value\n Sensor: dew_point | fields: depth, unit, lon, qc\nTask: Retrieve lat from wind_speed whose qc is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003139", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, unit, type, value\n Sensor: drought_index | fields: qc, reading, depth, unit\nTask: Retrieve depth from wind_speed whose type is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003140", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, lat, reading, lon\n Sensor: wind_speed | fields: level, value, unit, ts\nTask: Fetch lat from dew_point where depth is greater than the average of reading in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003141", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, level, depth, value\n Sensor: snow_depth | fields: lon, qc, reading, type\nTask: Retrieve reading from soil_moisture that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003142", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: depth, level, unit, ts\n Sensor: temperature | fields: lat, level, depth, qc\nTask: Retrieve level from frost with reading above the AVG(depth) of temperature readings sharing the same 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(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003143", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: type, level, reading, value\n Sensor: drought_index | fields: unit, ts, value, lon\nTask: Fetch level from wind_speed where depth is greater than the average of reading in drought_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003144", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lat, reading, unit, value\n Sensor: evaporation | fields: lat, lon, type, level\nTask: Fetch level from drought_index where depth is greater than the average of depth in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003145", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: type, value, ts, qc\n Sensor: frost | fields: ts, qc, unit, lat\nTask: Fetch lon from air_quality that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003146", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, depth, level, unit\n Sensor: snow_depth | fields: level, value, qc, type\nTask: Fetch lon 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=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003147", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lat, depth, value, qc\n Sensor: evaporation | fields: depth, lat, ts, level\nTask: Retrieve level from turbidity with reading above the SUM(depth) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "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_fixed_v1_val_003148", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: unit, ts, lon, value\n Sensor: turbidity | fields: qc, lat, level, unit\nTask: Fetch lon from wind_speed where depth exists in turbidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003149", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: value, depth, ts, lon\n Sensor: temperature | fields: type, depth, value, unit\nTask: Get lon from visibility where value exceeds the average depth from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003150", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, type, lat, qc\n Sensor: rainfall | fields: type, level, depth, reading\nTask: Retrieve lon from uv_index that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003151", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, qc, lat, value\n Sensor: lightning | fields: depth, value, qc, ts\nTask: Get lat from soil_moisture where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003152", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, qc, level, depth\n Sensor: dew_point | fields: lon, reading, lat, ts\nTask: Retrieve lon from turbidity that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\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": "prt", "inner_alias": "cnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003153", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, lat, type, unit\n Sensor: temperature | fields: type, value, qc, reading\nTask: Get depth from evaporation where unit appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003154", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: type, depth, reading, ts\n Sensor: snow_depth | fields: value, lon, ts, unit\nTask: Fetch level from lightning that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003155", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, lon, qc, type\n Sensor: humidity | fields: value, lon, reading, type\nTask: Retrieve depth from frost that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003156", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: level, qc, reading, lon\n Sensor: snow_depth | fields: value, depth, unit, qc\nTask: Fetch value from uv_index where type exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003157", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, reading, lat, value\n Sensor: rainfall | fields: qc, lon, lat, level\nTask: Fetch reading from cloud_cover where reading is greater than the average of reading in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003158", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, reading, qc, depth\n Sensor: cloud_cover | fields: type, lon, reading, level\nTask: Retrieve lat from lightning whose depth is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003159", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, depth, ts, level\n Sensor: lightning | fields: type, value, qc, lat\nTask: Get lon from visibility where depth exceeds the count of value from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003160", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: type, depth, reading, level\n Sensor: drought_index | fields: unit, qc, lon, value\nTask: Fetch value from rainfall where value is greater than the maximum of depth in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "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_fixed_v1_val_003161", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, lon, lat, unit\n Sensor: rainfall | fields: type, depth, level, lat\nTask: Get lon from lightning where value exceeds the count of value from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003162", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: qc, ts, reading, depth\n Sensor: wind_speed | fields: depth, reading, type, level\nTask: Get depth 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=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003163", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lat, level, depth, qc\n Sensor: sunlight | fields: type, qc, level, value\nTask: Retrieve value from snow_depth whose unit is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003164", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, lon, unit, reading\n Sensor: sunlight | fields: qc, value, reading, type\nTask: Fetch value from soil_moisture where value is greater than the average of depth in sunlight for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003165", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: ts, depth, value, qc\n Sensor: air_quality | fields: type, qc, reading, lon\nTask: Retrieve reading from rainfall that have at least one matching reading in air_quality sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003166", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, lon, depth, value\n Sensor: turbidity | fields: depth, qc, ts, level\nTask: Fetch level from wind_speed where reading is greater than the maximum of value in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003167", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: reading, level, type, value\n Sensor: temperature | fields: qc, lon, value, type\nTask: Retrieve reading from snow_depth whose depth is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003168", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: value, reading, ts, lon\n Sensor: wind_speed | fields: type, ts, unit, qc\nTask: Get depth from drought_index where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003169", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, lat, lon, qc\n Sensor: air_quality | fields: level, qc, reading, lon\nTask: Get value from pressure where type appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003170", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, qc, value, reading\n Sensor: cloud_cover | fields: lon, lat, unit, value\nTask: Retrieve depth from frost that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003171", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: unit, qc, ts, value\n Sensor: visibility | fields: type, lon, level, depth\nTask: Fetch lat from frost where depth is greater than the average of depth in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003172", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: reading, lat, type, qc\n Sensor: wind_speed | fields: depth, level, lon, ts\nTask: Retrieve value from air_quality with reading above the SUM(value) of wind_speed 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(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "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_fixed_v1_val_003173", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: value, level, ts, type\n Sensor: dew_point | fields: lon, ts, lat, qc\nTask: Retrieve lon from pressure that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003174", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: type, unit, lat, depth\n Sensor: dew_point | fields: level, depth, ts, lat\nTask: Fetch value from turbidity where unit exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003175", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, reading, lat, depth\n Sensor: cloud_cover | fields: lon, unit, qc, level\nTask: Fetch reading from dew_point that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003176", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: depth, reading, qc, unit\n Sensor: dew_point | fields: lat, depth, qc, ts\nTask: Fetch lon from evaporation that have at least one corresponding dew_point measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003177", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, lat, qc, type\n Sensor: wind_speed | fields: reading, depth, level, qc\nTask: Retrieve value from pressure with reading above the MAX(reading) of wind_speed 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\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003178", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, qc, lat, ts\n Sensor: soil_moisture | fields: qc, unit, lat, type\nTask: Fetch level from pressure where type exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "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_fixed_v1_val_003179", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lat, reading, value, lon\n Sensor: snow_depth | fields: level, value, unit, ts\nTask: Fetch level from pressure where ts exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003180", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, level, reading, qc\n Sensor: air_quality | fields: value, level, unit, lat\nTask: Get lat 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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003181", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: depth, unit, value, level\n Sensor: humidity | fields: type, reading, qc, unit\nTask: Fetch reading from rainfall that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003182", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lon, depth, level, reading\n Sensor: rainfall | fields: ts, type, lon, value\nTask: Retrieve reading from evaporation whose unit is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003183", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, type, level, lon\n Sensor: dew_point | fields: unit, value, lat, reading\nTask: Retrieve level from humidity with reading above the MIN(value) of dew_point readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003184", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: ts, value, level, lon\n Sensor: sunlight | fields: lat, qc, unit, reading\nTask: Fetch reading from uv_index where ts exists in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003185", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: type, lat, reading, level\n Sensor: rainfall | fields: depth, unit, value, lon\nTask: Get value from snow_depth where unit appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003186", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: type, value, ts, level\n Sensor: pressure | fields: type, level, lon, ts\nTask: Get reading from wind_speed where type appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003187", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: reading, value, level, lon\n Sensor: wind_speed | fields: ts, value, type, lon\nTask: Retrieve lat from air_quality whose type is found in wind_speed records where type 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(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003188", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: reading, depth, qc, type\n Sensor: humidity | fields: qc, lat, reading, depth\nTask: Get reading from cloud_cover where reading exceeds the maximum reading from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003189", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, depth, unit, lat\n Sensor: temperature | fields: unit, lat, depth, qc\nTask: Fetch depth from wind_speed where qc exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003190", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, ts, lat, lon\n Sensor: snow_depth | fields: lat, depth, unit, level\nTask: Get level from sunlight where type appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003191", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: qc, lat, ts, type\n Sensor: snow_depth | fields: unit, depth, qc, lat\nTask: Fetch reading from drought_index that have at least one corresponding snow_depth measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003192", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, ts, type, reading\n Sensor: pressure | fields: value, unit, qc, depth\nTask: Get lon from air_quality where depth exceeds the average depth from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003193", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: type, depth, unit, lat\n Sensor: snow_depth | fields: reading, lon, unit, level\nTask: Fetch lat from drought_index where unit exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "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_fixed_v1_val_003194", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lon, ts, qc, type\n Sensor: snow_depth | fields: qc, lon, ts, unit\nTask: Retrieve lon from soil_moisture that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "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_fixed_v1_val_003195", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: depth, reading, level, type\n Sensor: temperature | fields: lat, depth, lon, reading\nTask: Retrieve depth from sunlight that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003196", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: unit, depth, ts, lon\n Sensor: frost | fields: lat, level, depth, value\nTask: Get lat from rainfall where a corresponding entry exists in frost with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003197", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: ts, type, lat, lon\n Sensor: lightning | fields: qc, lat, reading, ts\nTask: Retrieve lon from air_quality whose qc is found in lightning records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003198", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, lon, depth, unit\n Sensor: dew_point | fields: ts, type, qc, unit\nTask: Get lon from visibility where depth exceeds the maximum value from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003199", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lat, qc, reading, unit\n Sensor: turbidity | fields: unit, type, ts, reading\nTask: Fetch depth from air_quality where ts exists in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003200", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, depth, qc, unit\n Sensor: visibility | fields: lat, depth, reading, type\nTask: Get level from humidity where qc appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003201", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: qc, lon, reading, level\n Sensor: turbidity | fields: depth, qc, level, lon\nTask: Retrieve lat from cloud_cover whose type is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003202", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, unit, value, type\n Sensor: temperature | fields: lon, unit, lat, ts\nTask: Get level from soil_moisture where reading exceeds the minimum value from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003203", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: ts, level, unit, depth\n Sensor: frost | fields: value, level, ts, depth\nTask: Get reading from pressure where value exceeds the total depth from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\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": "pressure", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003204", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, level, ts, type\n Sensor: evaporation | fields: ts, value, level, reading\nTask: Retrieve value 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=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003205", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, lat, reading, unit\n Sensor: uv_index | fields: type, qc, lon, ts\nTask: Fetch lon from dew_point that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003206", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, depth, type, qc\n Sensor: evaporation | fields: qc, type, ts, value\nTask: Fetch value from frost where value is greater than the average of reading in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003207", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: value, lon, level, unit\n Sensor: snow_depth | fields: qc, reading, level, unit\nTask: Get value from evaporation where depth appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003208", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: type, reading, lon, qc\n Sensor: air_quality | fields: type, value, qc, unit\nTask: Retrieve value from visibility whose type is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003209", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, ts, level, lat\n Sensor: dew_point | fields: ts, unit, reading, level\nTask: Retrieve lat from snow_depth with depth above the MIN(value) of dew_point readings sharing the same ts.\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(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003210", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: qc, level, ts, value\n Sensor: soil_moisture | fields: value, lat, depth, level\nTask: Fetch depth from air_quality that have at least one corresponding soil_moisture measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003211", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, lat, level, type\n Sensor: lightning | fields: value, lat, unit, qc\nTask: Fetch value from uv_index where reading is greater than the minimum of value in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003212", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, lat, value, reading\n Sensor: humidity | fields: qc, lat, ts, reading\nTask: Fetch depth from uv_index where depth exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003213", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: value, reading, lon, qc\n Sensor: lightning | fields: lat, unit, level, type\nTask: Fetch lon from frost where reading is greater than the average of value in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003214", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: value, lon, type, lat\n Sensor: uv_index | fields: depth, value, lat, reading\nTask: Get lat from humidity where depth exceeds the average reading from uv_index for 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(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003215", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, type, ts, depth\n Sensor: snow_depth | fields: lat, qc, ts, lon\nTask: Get reading from lightning where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003216", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lon, reading, type, qc\n Sensor: humidity | fields: lon, unit, ts, reading\nTask: Fetch lon from cloud_cover where depth is greater than the total of depth in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003217", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, level, ts, depth\n Sensor: visibility | fields: qc, lat, type, ts\nTask: Get reading from dew_point where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003218", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: level, value, lon, ts\n Sensor: frost | fields: unit, lat, lon, ts\nTask: Fetch level from wind_speed that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003219", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lat, reading, unit, type\n Sensor: evaporation | fields: reading, qc, lat, type\nTask: Retrieve lon from frost whose type is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003220", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lon, level, value, depth\n Sensor: evaporation | fields: ts, unit, lat, type\nTask: Fetch lat from drought_index where ts exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003221", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, value, lon, type\n Sensor: turbidity | fields: lon, depth, value, type\nTask: Get lon from air_quality where depth appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003222", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, lat, depth, value\n Sensor: air_quality | fields: value, level, lon, reading\nTask: Fetch depth from visibility that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003223", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lat, type, value, ts\n Sensor: turbidity | fields: reading, lon, level, lat\nTask: Get value from dew_point where value exceeds the maximum depth from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003224", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lat, unit, value, ts\n Sensor: visibility | fields: type, level, value, depth\nTask: Retrieve level from wind_speed that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003225", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: unit, lon, reading, type\n Sensor: temperature | fields: reading, depth, ts, type\nTask: Fetch lat from sunlight where reading is greater than the average of reading in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003226", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, depth, ts, lon\n Sensor: wind_speed | fields: depth, reading, level, lat\nTask: Retrieve level from sunlight with value above the COUNT(value) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003227", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lat, qc, type, depth\n Sensor: cloud_cover | fields: value, ts, qc, lon\nTask: Fetch depth from evaporation where ts exists in cloud_cover sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003228", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, value, depth, qc\n Sensor: dew_point | fields: qc, level, lon, lat\nTask: Get value from evaporation where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003229", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lat, lon, reading, depth\n Sensor: snow_depth | fields: reading, lat, level, unit\nTask: Retrieve reading from temperature whose qc is found in snow_depth records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "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_fixed_v1_val_003230", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: ts, value, reading, depth\n Sensor: visibility | fields: lat, depth, type, ts\nTask: Retrieve lat from evaporation that have at least one matching reading in visibility sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003231", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: reading, lat, type, ts\n Sensor: visibility | fields: reading, level, value, unit\nTask: Fetch level from uv_index where depth is greater than the minimum of reading in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003232", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, level, lon, value\n Sensor: rainfall | fields: type, reading, qc, unit\nTask: Fetch value from drought_index that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003233", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: unit, lon, level, qc\n Sensor: wind_speed | fields: ts, reading, lat, qc\nTask: Retrieve level from uv_index that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003234", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | 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=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003235", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: unit, lon, lat, qc\n Sensor: uv_index | fields: unit, ts, reading, type\nTask: Retrieve lat from sunlight with value above the COUNT(value) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003236", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: reading, lon, qc, value\n Sensor: uv_index | fields: lon, qc, level, lat\nTask: Get lat from dew_point where reading exceeds the count of depth from uv_index for the same unit.\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(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003237", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, reading, depth, level\n Sensor: lightning | fields: ts, reading, qc, level\nTask: Fetch lat 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=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003238", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, type, ts, depth\n Sensor: cloud_cover | fields: unit, type, lon, level\nTask: Fetch reading from frost where depth exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003239", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, lon, depth, level\n Sensor: visibility | fields: depth, level, unit, ts\nTask: Retrieve level from rainfall whose unit is found in visibility records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003240", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, depth, lat, value\n Sensor: lightning | fields: unit, level, type, qc\nTask: Fetch depth from uv_index where reading is greater than the average of reading in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003241", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: unit, lat, lon, depth\n Sensor: pressure | fields: type, ts, lat, level\nTask: Retrieve depth from rainfall with reading above the AVG(value) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003242", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, reading, depth, ts\n Sensor: uv_index | fields: type, lat, unit, lon\nTask: Fetch level from soil_moisture where value is greater than the minimum of depth in uv_index for matching 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(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003243", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: depth, level, reading, lat\n Sensor: lightning | fields: lon, depth, ts, unit\nTask: Get lat from cloud_cover where reading exceeds the average reading from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "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_fixed_v1_val_003244", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: type, depth, unit, qc\n Sensor: temperature | fields: level, ts, reading, depth\nTask: Fetch lon from rainfall where depth exists in temperature sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003245", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, lon, value, ts\n Sensor: sunlight | fields: lat, type, depth, ts\nTask: Retrieve value from air_quality with value above the MIN(depth) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003246", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: depth, ts, lat, lon\n Sensor: snow_depth | fields: lon, level, reading, ts\nTask: Retrieve reading from dew_point with value above the MIN(reading) of snow_depth readings sharing 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(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003247", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: unit, lon, lat, level\n Sensor: pressure | fields: lon, depth, ts, level\nTask: Fetch lon from dew_point that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003248", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lat, qc, type, reading\n Sensor: dew_point | fields: reading, ts, level, unit\nTask: Get lat from drought_index where depth appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003249", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, qc, lon, lat\n Sensor: frost | fields: unit, level, value, depth\nTask: Get depth from soil_moisture where reading exceeds the count of depth from frost for the same type.\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(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003250", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: type, level, value, ts\n Sensor: pressure | fields: qc, level, reading, ts\nTask: Fetch reading from snow_depth where reading is greater than the total of depth in pressure for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003251", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lon, depth, ts, lat\n Sensor: drought_index | fields: reading, depth, level, unit\nTask: Retrieve reading from sunlight with reading above the COUNT(depth) of drought_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003252", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lon, ts, value, reading\n Sensor: evaporation | fields: ts, lat, value, reading\nTask: Get level from lightning where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003253", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: ts, lon, value, depth\n Sensor: sunlight | fields: ts, lat, lon, unit\nTask: Retrieve value from wind_speed whose type is found in sunlight records where qc 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(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003254", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lat, reading, level, lon\n Sensor: air_quality | fields: value, ts, reading, level\nTask: Retrieve lon from rainfall whose qc is found in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003255", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, depth, level, lon\n Sensor: dew_point | fields: value, reading, depth, qc\nTask: Retrieve depth from lightning that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003256", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: reading, type, qc, lat\n Sensor: humidity | fields: reading, lat, unit, type\nTask: Get lat from wind_speed where depth appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003257", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, level, depth, reading\n Sensor: frost | fields: depth, type, lat, reading\nTask: Retrieve level from uv_index with value above the AVG(depth) of frost readings sharing 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(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003258", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: reading, unit, lat, lon\n Sensor: frost | fields: level, lat, reading, depth\nTask: Get lat from humidity where reading exceeds the total depth from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003259", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: ts, level, lat, lon\n Sensor: pressure | fields: depth, type, lat, level\nTask: Retrieve level from sunlight that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003260", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, ts, level, depth\n Sensor: visibility | fields: type, depth, reading, level\nTask: Get level from pressure where reading exceeds the maximum reading 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(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003261", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, type, qc, reading\n Sensor: pressure | fields: value, qc, depth, level\nTask: Fetch depth from cloud_cover where value is greater than the average of value in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003262", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: value, lon, unit, ts\n Sensor: drought_index | fields: level, value, type, depth\nTask: Get lon from sunlight where ts appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003263", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: depth, unit, reading, lon\n Sensor: dew_point | fields: value, qc, lon, type\nTask: Retrieve reading from soil_moisture whose depth 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=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003264", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: type, level, qc, ts\n Sensor: cloud_cover | fields: ts, lon, unit, lat\nTask: Retrieve value from air_quality whose depth is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003265", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: reading, ts, lon, level\n Sensor: evaporation | fields: lon, depth, qc, unit\nTask: Retrieve lon from lightning that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003266", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, lon, depth, lat\n Sensor: drought_index | fields: type, level, lat, ts\nTask: Retrieve value from temperature with depth above the MIN(depth) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003267", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, unit, lon, qc\n Sensor: pressure | fields: lon, value, type, qc\nTask: Get reading from snow_depth where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003268", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, unit, qc, type\n Sensor: air_quality | fields: ts, lat, reading, unit\nTask: Fetch lat from uv_index where depth exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003269", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, type, ts, unit\n Sensor: lightning | fields: ts, value, type, lon\nTask: Retrieve value from turbidity with depth above the COUNT(depth) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003270", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, qc, level, lon\n Sensor: drought_index | fields: value, type, qc, depth\nTask: Get depth from wind_speed where value exceeds the count of value from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003271", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, qc, unit, lon\n Sensor: soil_moisture | fields: unit, qc, value, lon\nTask: Get value from air_quality where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003272", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, level, lat, ts\n Sensor: rainfall | fields: depth, type, level, ts\nTask: Get value from uv_index where a corresponding entry exists in rainfall with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003273", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: level, depth, lat, reading\n Sensor: sunlight | fields: reading, unit, level, value\nTask: Fetch lat from lightning where reading is greater than the total of depth in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003274", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, type, value, qc\n Sensor: turbidity | fields: level, qc, depth, lon\nTask: Retrieve lat from uv_index whose qc is found in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003275", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: type, level, lat, lon\n Sensor: uv_index | fields: qc, ts, lon, reading\nTask: Retrieve value from lightning whose ts is found in uv_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003276", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, type, unit, level\n Sensor: temperature | fields: level, qc, depth, type\nTask: Fetch lat from air_quality where unit exists in temperature sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003277", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: reading, lon, qc, lat\n Sensor: frost | fields: value, reading, depth, qc\nTask: Retrieve level from uv_index with depth above the MAX(value) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003278", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, depth, unit, ts\n Sensor: soil_moisture | fields: lon, qc, value, lat\nTask: Fetch depth from wind_speed that have at least one corresponding soil_moisture measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003279", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: depth, value, type, qc\n Sensor: rainfall | fields: lon, level, ts, lat\nTask: Fetch reading from uv_index where depth is greater than the maximum of value in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "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_fixed_v1_val_003280", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, unit, level, ts\n Sensor: sunlight | fields: type, lon, unit, depth\nTask: Retrieve reading from drought_index whose type is found in sunlight records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003281", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, type, depth, reading\n Sensor: cloud_cover | fields: level, type, lon, ts\nTask: Get reading from snow_depth where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003282", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, ts, qc, level\n Sensor: air_quality | fields: unit, value, qc, depth\nTask: Fetch level from soil_moisture where ts exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003283", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: depth, unit, qc, level\n Sensor: humidity | fields: lat, type, ts, unit\nTask: Fetch level from visibility where depth exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003284", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, reading, lon, lat\n Sensor: uv_index | fields: depth, ts, qc, type\nTask: Fetch value from dew_point where ts exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003285", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: qc, lat, unit, depth\n Sensor: cloud_cover | fields: level, ts, reading, lon\nTask: Retrieve reading from lightning with value above the MAX(value) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003286", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, lat, qc, level\n Sensor: uv_index | fields: unit, ts, level, depth\nTask: Retrieve lat from visibility that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003287", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lon, value, level, ts\n Sensor: frost | fields: value, ts, type, lat\nTask: Retrieve level 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=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003288", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: reading, value, lat, ts\n Sensor: air_quality | fields: level, lon, ts, type\nTask: Fetch lon from sunlight where depth exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003289", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: value, reading, ts, lat\n Sensor: lightning | fields: reading, qc, level, value\nTask: Retrieve reading from turbidity that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "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_fixed_v1_val_003290", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, lon, level, reading\n Sensor: sunlight | fields: depth, qc, type, reading\nTask: Fetch value from uv_index where reading is greater than the total of depth in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003291", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, ts, unit, value\n Sensor: dew_point | fields: type, ts, unit, lat\nTask: Retrieve lon from turbidity with reading above the MAX(depth) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\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": "mst", "inner_alias": "cnd", "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_fixed_v1_val_003292", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lon, qc, ts, depth\n Sensor: wind_speed | fields: depth, value, lon, lat\nTask: Get reading from evaporation where type appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003293", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, type, lon, qc\n Sensor: temperature | fields: qc, value, unit, lon\nTask: Fetch value 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=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003294", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: value, type, reading, depth\n Sensor: lightning | fields: ts, unit, reading, value\nTask: Retrieve depth from snow_depth with value above the AVG(depth) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003295", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: level, qc, reading, type\n Sensor: visibility | fields: unit, depth, value, level\nTask: Retrieve reading 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=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003296", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: level, qc, ts, value\n Sensor: sunlight | fields: lat, ts, qc, type\nTask: Get lat from visibility where unit appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003297", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, reading, lon, level\n Sensor: visibility | fields: ts, qc, unit, lat\nTask: Retrieve lat from cloud_cover whose qc is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "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_fixed_v1_val_003298", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, depth, qc, level\n Sensor: uv_index | fields: lon, reading, qc, unit\nTask: Fetch value from sunlight where type exists in uv_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003299", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, value, unit, type\n Sensor: drought_index | fields: lat, lon, level, type\nTask: Retrieve lat from cloud_cover with reading above the COUNT(value) 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(\"COUNT\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003300", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, ts, depth, lat\n Sensor: frost | fields: qc, unit, type, level\nTask: Fetch reading from dew_point where ts exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003301", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: reading, lat, value, qc\n Sensor: frost | fields: value, lon, lat, level\nTask: Retrieve lat from air_quality that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003302", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, depth, level, unit\n Sensor: rainfall | fields: qc, value, reading, lat\nTask: Get lat from visibility where qc appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003303", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: level, lon, qc, depth\n Sensor: evaporation | fields: qc, reading, lat, type\nTask: Fetch reading from snow_depth that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003304", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: unit, reading, qc, ts\n Sensor: frost | fields: unit, depth, lon, lat\nTask: Get reading from wind_speed where depth exceeds the maximum depth from frost for the same depth.\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(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003305", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, level, lat, ts\n Sensor: lightning | fields: value, unit, ts, reading\nTask: Get lon from temperature where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003306", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, depth, ts, qc\n Sensor: air_quality | fields: depth, lat, qc, type\nTask: Fetch reading from lightning where qc exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003307", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: level, value, lon, ts\n Sensor: wind_speed | fields: qc, ts, value, lat\nTask: Get lon from snow_depth where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003308", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, value, lat, lon\n Sensor: air_quality | fields: qc, unit, depth, ts\nTask: Retrieve lat from wind_speed with reading above the MAX(reading) of air_quality 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\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003309", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, depth, lon, qc\n Sensor: visibility | fields: level, qc, type, lon\nTask: Fetch reading from turbidity where depth exists in visibility sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003310", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lon, type, lat, reading\n Sensor: lightning | fields: unit, type, lat, reading\nTask: Get lon from wind_speed where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003311", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, value, lon, level\n Sensor: cloud_cover | fields: lat, type, level, reading\nTask: Retrieve lat from drought_index that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003312", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, lon, lat, unit\n Sensor: sunlight | fields: lon, ts, unit, depth\nTask: Get reading from cloud_cover where unit appears in sunlight readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003313", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: type, depth, value, lat\n Sensor: sunlight | fields: value, unit, reading, type\nTask: Fetch level from wind_speed where reading is greater than the average of value in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003314", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: reading, unit, ts, lon\n Sensor: lightning | fields: ts, lon, level, qc\nTask: Get value from air_quality where reading exceeds the maximum reading from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003315", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, lat, level, value\n Sensor: air_quality | fields: unit, qc, lon, type\nTask: Fetch level from wind_speed where reading is greater than the maximum of reading in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003316", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: value, type, qc, lat\n Sensor: rainfall | fields: value, level, lat, lon\nTask: Get value from wind_speed where qc appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003317", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lon, value, lat, reading\n Sensor: pressure | fields: value, ts, lat, qc\nTask: Fetch level from wind_speed where qc exists in pressure sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003318", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: value, unit, qc, reading\n Sensor: lightning | fields: level, type, reading, value\nTask: Retrieve value from visibility whose depth is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003319", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, reading, level, unit\n Sensor: sunlight | fields: level, lon, lat, ts\nTask: Fetch depth from temperature where unit exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003320", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: type, lat, qc, unit\n Sensor: temperature | fields: lon, qc, lat, depth\nTask: Fetch reading from evaporation that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003321", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lon, value, level, reading\n Sensor: rainfall | fields: unit, reading, ts, level\nTask: Retrieve reading from frost that have at least one matching reading in rainfall sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003322", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: ts, qc, unit, reading\n Sensor: visibility | fields: level, unit, ts, value\nTask: Fetch depth from evaporation where ts exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003323", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: type, reading, value, unit\n Sensor: evaporation | fields: lat, reading, depth, qc\nTask: Get depth from humidity where ts appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003324", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: unit, level, value, qc\n Sensor: rainfall | fields: depth, qc, reading, lon\nTask: Fetch level from air_quality that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003325", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, reading, unit, level\n Sensor: dew_point | fields: type, unit, reading, level\nTask: Retrieve value from visibility that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003326", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: reading, ts, level, value\n Sensor: uv_index | fields: lat, reading, type, level\nTask: Get level from visibility where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003327", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: reading, unit, value, type\n Sensor: evaporation | fields: reading, value, lon, ts\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=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003328", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: depth, reading, type, lon\n Sensor: rainfall | fields: qc, ts, level, value\nTask: Get reading 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=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003329", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, value, lat, unit\n Sensor: uv_index | fields: type, qc, level, value\nTask: Get lat from temperature where reading exceeds the total reading from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003330", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, qc, lon, value\n Sensor: air_quality | fields: type, ts, level, unit\nTask: Fetch level from pressure where qc exists in air_quality sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003331", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, unit, qc, ts\n Sensor: evaporation | fields: ts, value, lon, level\nTask: Get value from snow_depth where type appears in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003332", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, reading, qc, lat\n Sensor: humidity | fields: qc, reading, value, type\nTask: Retrieve depth from cloud_cover whose unit is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003333", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: type, qc, lat, depth\n Sensor: dew_point | fields: reading, type, level, ts\nTask: Get reading from air_quality where value exceeds the total depth from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003334", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: depth, level, reading, qc\n Sensor: frost | fields: unit, type, value, reading\nTask: Retrieve reading from lightning that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003335", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: qc, lon, lat, level\n Sensor: turbidity | fields: reading, type, level, ts\nTask: Retrieve value from pressure that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003336", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, lon, qc, type\n Sensor: humidity | fields: qc, value, reading, level\nTask: Get reading 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=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003337", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, qc, lat, unit\n Sensor: snow_depth | fields: lon, level, lat, qc\nTask: Fetch level from pressure where ts exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003338", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: type, lon, qc, depth\n Sensor: sunlight | fields: lat, depth, lon, type\nTask: Retrieve value 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=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003339", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: depth, type, level, lat\n Sensor: turbidity | fields: depth, reading, type, lat\nTask: Get reading from drought_index where reading exceeds the total value from turbidity for the same depth.\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(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "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_fixed_v1_val_003340", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, depth, ts, lat\n Sensor: sunlight | fields: depth, ts, reading, lat\nTask: Retrieve lat from cloud_cover with value above the SUM(reading) of sunlight 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\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003341", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: qc, lat, type, reading\n Sensor: dew_point | fields: value, type, lon, qc\nTask: Get reading from wind_speed where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003342", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: ts, lon, level, reading\n Sensor: visibility | fields: ts, qc, type, value\nTask: Get lat from turbidity where depth appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003343", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: unit, value, type, ts\n Sensor: turbidity | fields: level, type, depth, value\nTask: Retrieve lat from frost with reading above the COUNT(reading) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003344", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: lat, reading, depth, type\n Sensor: turbidity | fields: type, value, lat, reading\nTask: Fetch reading from drought_index that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003345", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: type, reading, lon, unit\n Sensor: turbidity | fields: ts, type, reading, lat\nTask: Retrieve value from humidity whose ts is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003346", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lat, depth, value, reading\n Sensor: wind_speed | fields: unit, reading, qc, level\nTask: Get depth from snow_depth where reading exceeds the maximum value from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003347", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: qc, unit, value, type\n Sensor: evaporation | fields: value, qc, lat, ts\nTask: Retrieve lat from dew_point that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "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_fixed_v1_val_003348", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: type, unit, lon, value\n Sensor: air_quality | fields: value, level, type, ts\nTask: Retrieve lon from rainfall that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003349", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, unit, lon, qc\n Sensor: visibility | fields: lon, type, level, depth\nTask: Retrieve lat from air_quality that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003350", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: qc, lat, type, level\n Sensor: lightning | fields: level, value, ts, type\nTask: Get lon from snow_depth where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003351", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: reading, level, unit, lon\n Sensor: wind_speed | fields: lon, level, qc, ts\nTask: Get reading from drought_index where value exceeds the maximum depth from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003352", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: ts, lon, lat, type\n Sensor: evaporation | fields: ts, qc, type, unit\nTask: Fetch value from visibility that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003353", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, reading, type, ts\n Sensor: pressure | fields: depth, unit, type, value\nTask: Retrieve reading from evaporation whose qc is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003354", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, level, unit, lat\n Sensor: air_quality | fields: ts, reading, level, qc\nTask: Retrieve level from humidity whose qc is found in air_quality records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003355", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: qc, depth, type, reading\n Sensor: air_quality | fields: type, level, ts, lon\nTask: Get reading from humidity where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003356", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: level, type, unit, lon\n Sensor: drought_index | fields: lat, qc, reading, level\nTask: Get reading from dew_point where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003357", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, level, depth, reading\n Sensor: wind_speed | fields: reading, level, lon, unit\nTask: Fetch lat from sunlight that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003358", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: type, lat, level, lon\n Sensor: soil_moisture | fields: lon, qc, reading, unit\nTask: Get depth from wind_speed where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003359", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, level, reading, ts\n Sensor: turbidity | fields: lon, reading, type, unit\nTask: Retrieve level from air_quality whose type is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003360", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, lat, ts, value\n Sensor: humidity | fields: level, lat, lon, value\nTask: Get level from visibility where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003361", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: level, reading, value, depth\n Sensor: uv_index | fields: level, lat, unit, qc\nTask: Fetch reading from evaporation that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003362", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lat, level, type, unit\n Sensor: air_quality | fields: ts, depth, value, type\nTask: Retrieve lon from drought_index whose depth is found in air_quality records where qc 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(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003363", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, type, lon, level\n Sensor: lightning | fields: type, lat, reading, value\nTask: Retrieve level from snow_depth with depth above the AVG(reading) of lightning readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003364", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lon, level, unit, reading\n Sensor: soil_moisture | fields: type, value, ts, level\nTask: Get value from snow_depth where depth exceeds the minimum depth from soil_moisture for the same unit.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003365", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, lon, depth, lat\n Sensor: visibility | fields: lat, ts, lon, reading\nTask: Retrieve lat from frost with depth above the AVG(depth) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003366", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, type, ts, qc\n Sensor: evaporation | fields: lon, qc, level, lat\nTask: Fetch lon from soil_moisture where value is greater than the minimum of depth in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003367", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: reading, qc, lon, lat\n Sensor: lightning | fields: type, depth, reading, lat\nTask: Retrieve value from humidity with value above the MAX(depth) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003368", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: level, lat, type, reading\n Sensor: uv_index | fields: qc, lat, ts, level\nTask: Fetch reading from evaporation where reading is greater than the total of value in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003369", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, value, type, unit\n Sensor: lightning | fields: unit, qc, ts, lon\nTask: Get depth from temperature where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003370", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, lat, lon, type\n Sensor: uv_index | fields: value, unit, depth, type\nTask: Retrieve value from pressure whose type is found in uv_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003371", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, qc, reading, value\n Sensor: sunlight | fields: unit, qc, value, lat\nTask: Get level from humidity where reading exceeds the count of depth from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003372", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: ts, lat, lon, unit\n Sensor: visibility | fields: ts, lat, lon, reading\nTask: Get reading from rainfall where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003373", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, lon, qc, lat\n Sensor: air_quality | fields: unit, depth, ts, value\nTask: Fetch reading from snow_depth where type exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\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": "snow_depth", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003374", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: unit, depth, reading, ts\n Sensor: cloud_cover | fields: type, lon, level, value\nTask: Retrieve value from snow_depth whose qc is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003375", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lat, reading, qc, ts\n Sensor: humidity | fields: reading, value, lon, depth\nTask: Fetch depth from pressure that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003376", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, ts, qc, lon\n Sensor: frost | fields: lon, level, value, unit\nTask: Retrieve lon from cloud_cover with reading above the MIN(depth) of frost readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003377", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: value, ts, lon, reading\n Sensor: uv_index | fields: value, depth, lat, unit\nTask: Retrieve level from dew_point whose depth is found in uv_index records where unit 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(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003378", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: value, lat, reading, unit\n Sensor: humidity | fields: qc, level, unit, reading\nTask: Fetch level from rainfall where qc exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003379", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | 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=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003380", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: unit, value, lat, qc\n Sensor: humidity | fields: type, reading, lon, unit\nTask: Retrieve depth from turbidity whose type is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003381", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, lon, level, unit\n Sensor: visibility | fields: type, ts, qc, lat\nTask: Fetch reading from turbidity that have at least one corresponding visibility measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003382", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: unit, qc, ts, level\n Sensor: cloud_cover | fields: reading, qc, lon, value\nTask: Fetch level from soil_moisture that have at least one corresponding cloud_cover measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003383", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: reading, value, unit, depth\n Sensor: soil_moisture | fields: unit, depth, reading, lat\nTask: Fetch value from air_quality that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "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_fixed_v1_val_003384", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: ts, depth, unit, lat\n Sensor: cloud_cover | fields: reading, value, lat, ts\nTask: Get value from pressure where value exceeds the average depth from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "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_fixed_v1_val_003385", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lat, level, type, value\n Sensor: visibility | fields: level, lon, depth, reading\nTask: Retrieve reading from rainfall whose type is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003386", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, depth, reading, value\n Sensor: soil_moisture | fields: lon, ts, level, depth\nTask: Get depth from turbidity where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003387", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, value, unit, qc\n Sensor: pressure | fields: type, value, reading, qc\nTask: Retrieve level from dew_point whose ts is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003388", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: unit, value, qc, ts\n Sensor: air_quality | fields: unit, level, type, lat\nTask: Fetch reading from pressure where reading is greater than the minimum of reading in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003389", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, type, level, reading\n Sensor: evaporation | fields: lon, reading, lat, qc\nTask: Get level from air_quality where value exceeds the average depth from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003390", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: unit, lon, qc, value\n Sensor: air_quality | fields: lat, unit, level, lon\nTask: Get level from evaporation where value exceeds the minimum depth from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003391", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, ts, lat, lon\n Sensor: frost | fields: unit, ts, type, level\nTask: Get lat from dew_point where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003392", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lon, level, ts, type\n Sensor: rainfall | fields: level, unit, qc, type\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=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003393", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: level, depth, value, qc\n Sensor: drought_index | fields: level, type, lon, qc\nTask: Retrieve reading from cloud_cover with reading above the MIN(reading) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003394", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, lon, unit, qc\n Sensor: frost | fields: depth, level, unit, value\nTask: Retrieve level from drought_index that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003395", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: reading, unit, ts, qc\n Sensor: dew_point | fields: level, value, ts, type\nTask: Retrieve lat from snow_depth with depth above the AVG(depth) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003396", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: value, level, type, reading\n Sensor: rainfall | fields: reading, unit, ts, type\nTask: Retrieve lon from sunlight whose unit is found in rainfall records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "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_fixed_v1_val_003397", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: level, type, reading, lat\n Sensor: sunlight | fields: lat, ts, level, lon\nTask: Fetch depth from wind_speed that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003398", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, qc, depth, ts\n Sensor: rainfall | fields: reading, level, ts, lat\nTask: Get depth from temperature where qc appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003399", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: type, reading, value, lon\n Sensor: drought_index | fields: qc, lon, depth, type\nTask: Fetch lat from snow_depth where type exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "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_fixed_v1_val_003400", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: depth, ts, reading, type\n Sensor: sunlight | fields: lat, level, reading, type\nTask: Get lon from rainfall where depth exceeds the minimum reading from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003401", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: depth, level, lon, qc\n Sensor: wind_speed | fields: lat, ts, qc, depth\nTask: Retrieve reading from rainfall whose unit is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003402", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: ts, lat, level, depth\n Sensor: dew_point | fields: qc, reading, level, lon\nTask: Fetch depth from snow_depth that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003403", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, lat, lon, depth\n Sensor: snow_depth | fields: qc, lon, level, unit\nTask: Retrieve value from pressure whose ts is found in snow_depth records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003404", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: ts, type, lon, unit\n Sensor: visibility | fields: type, depth, level, lon\nTask: Retrieve lon from evaporation that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003405", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: type, reading, qc, lon\n Sensor: turbidity | fields: ts, type, unit, value\nTask: Fetch lat from uv_index where reading is greater than the maximum of value in turbidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003406", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, level, lat, reading\n Sensor: uv_index | fields: ts, unit, level, type\nTask: Get lon from sunlight where type appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003407", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, reading, lat, depth\n Sensor: air_quality | fields: qc, lat, lon, reading\nTask: Retrieve level from rainfall that have at least one matching reading in air_quality sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003408", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: ts, lon, qc, unit\n Sensor: humidity | fields: value, unit, lat, ts\nTask: Get depth from sunlight where depth exceeds the total depth from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003409", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: reading, value, lon, unit\n Sensor: visibility | fields: qc, level, unit, lat\nTask: Retrieve lat 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=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003410", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, qc, lon, lat\n Sensor: frost | fields: unit, reading, type, lon\nTask: Retrieve depth from cloud_cover whose depth is found in frost 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(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003411", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: value, qc, type, lat\n Sensor: cloud_cover | fields: depth, lat, value, type\nTask: Get level from pressure where type appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003412", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: qc, reading, lon, depth\n Sensor: uv_index | fields: depth, qc, unit, type\nTask: Get depth from sunlight where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003413", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: level, ts, reading, value\n Sensor: frost | fields: lon, ts, lat, qc\nTask: Get value from sunlight where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003414", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: ts, depth, type, qc\n Sensor: wind_speed | fields: unit, depth, type, lon\nTask: Retrieve lat 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=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003415", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: type, lat, lon, qc\n Sensor: rainfall | fields: value, depth, lon, reading\nTask: Get depth from humidity where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003416", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, depth, reading, ts\n Sensor: humidity | fields: unit, value, ts, qc\nTask: Get lon from turbidity where ts appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "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_fixed_v1_val_003417", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: depth, lat, reading, level\n Sensor: drought_index | fields: value, depth, level, reading\nTask: Fetch level from evaporation that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003418", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, unit, level, depth\n Sensor: frost | fields: unit, depth, qc, type\nTask: Fetch reading 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=\"frs\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003419", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: depth, reading, value, ts\n Sensor: frost | fields: ts, unit, value, lat\nTask: Fetch lat from cloud_cover where ts exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003420", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: unit, ts, level, reading\n Sensor: visibility | fields: unit, depth, lat, qc\nTask: Get lon from wind_speed where a corresponding entry exists in visibility with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003421", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: value, unit, qc, reading\n Sensor: evaporation | fields: level, unit, value, lat\nTask: Get level from wind_speed where reading exceeds the average depth from evaporation for the same ts.\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(\"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", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003422", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: level, reading, unit, ts\n Sensor: temperature | fields: depth, type, ts, qc\nTask: Retrieve lon 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=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003423", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: level, qc, depth, lon\n Sensor: turbidity | fields: ts, value, reading, depth\nTask: Fetch reading from soil_moisture where depth is greater than the average of depth in turbidity for matching 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(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003424", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, reading, lon, unit\n Sensor: cloud_cover | fields: value, unit, lon, qc\nTask: Get reading from lightning where value exceeds the minimum value from cloud_cover for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003425", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, unit, lat, lon\n Sensor: wind_speed | fields: qc, unit, lat, depth\nTask: Get reading from cloud_cover where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003426", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: ts, lon, level, reading\n Sensor: lightning | fields: value, ts, unit, reading\nTask: Fetch value from sunlight where type exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003427", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: level, unit, lon, reading\n Sensor: wind_speed | fields: unit, lon, reading, lat\nTask: Get value from pressure where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003428", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, value, level, lon\n Sensor: cloud_cover | fields: qc, lat, value, unit\nTask: Get value from pressure where depth exceeds the minimum value from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003429", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, reading, lat, ts\n Sensor: turbidity | fields: unit, level, type, qc\nTask: Retrieve reading from wind_speed with depth above the MAX(reading) of turbidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003430", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: value, unit, ts, type\n Sensor: temperature | fields: level, unit, ts, depth\nTask: Retrieve value from wind_speed with depth above the MIN(depth) of temperature 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(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003431", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: unit, value, ts, qc\n Sensor: humidity | fields: qc, reading, depth, ts\nTask: Fetch level from pressure where type exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003432", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, level, type, value\n Sensor: snow_depth | fields: depth, lon, qc, value\nTask: Fetch level from rainfall that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003433", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, reading, qc, type\n Sensor: snow_depth | fields: level, lat, qc, depth\nTask: Retrieve value from uv_index with reading above the AVG(depth) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003434", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lon, unit, depth, type\n Sensor: wind_speed | fields: lon, reading, unit, qc\nTask: Fetch level from temperature where reading is greater than the average of depth in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003435", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, reading, qc, unit\n Sensor: lightning | fields: unit, value, reading, type\nTask: Retrieve level from air_quality whose depth is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003436", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, qc, ts, level\n Sensor: sunlight | fields: reading, depth, ts, value\nTask: Fetch depth from pressure where depth exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003437", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: type, ts, unit, qc\n Sensor: soil_moisture | fields: lat, reading, level, value\nTask: Get value from dew_point where value exceeds the count of value from soil_moisture for the same type.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003438", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: type, level, reading, lon\n Sensor: frost | fields: lon, unit, ts, lat\nTask: Fetch value from rainfall where reading is greater than the minimum of value in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003439", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: value, lon, level, type\n Sensor: soil_moisture | fields: ts, unit, reading, value\nTask: Retrieve lon from snow_depth whose unit is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003440", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, level, qc, value\n Sensor: cloud_cover | fields: qc, depth, level, type\nTask: Fetch reading from lightning where depth is greater than the minimum of depth in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003441", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: type, lon, level, value\n Sensor: snow_depth | fields: qc, level, lon, unit\nTask: Retrieve value from air_quality with value above the SUM(value) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003442", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, reading, unit, type\n Sensor: evaporation | fields: unit, ts, qc, type\nTask: Fetch lat from wind_speed where ts exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003443", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: ts, type, level, reading\n Sensor: dew_point | fields: lat, depth, reading, lon\nTask: Fetch value from drought_index where value is greater than the average of value in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003444", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, qc, depth, unit\n Sensor: uv_index | fields: depth, unit, type, level\nTask: Retrieve lon from temperature that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003445", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: qc, value, lon, level\n Sensor: sunlight | fields: lon, unit, type, qc\nTask: Get depth from dew_point where reading exceeds the maximum depth from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003446", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: reading, qc, lat, lon\n Sensor: pressure | fields: qc, unit, reading, level\nTask: Fetch lat from temperature where depth exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003447", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, lon, unit, qc\n Sensor: cloud_cover | fields: type, unit, value, level\nTask: Fetch lat from wind_speed where value is greater than the total of depth in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "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_fixed_v1_val_003448", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, reading, type, qc\n Sensor: frost | fields: lon, reading, type, ts\nTask: Get depth from drought_index where type appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003449", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, type, unit, value\n Sensor: drought_index | fields: value, reading, lat, ts\nTask: Retrieve level from lightning whose unit is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003450", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: type, ts, value, lon\n Sensor: rainfall | fields: level, value, ts, lat\nTask: Get depth from evaporation where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003451", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: value, unit, level, qc\n Sensor: pressure | fields: depth, type, lon, ts\nTask: Retrieve reading from sunlight that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003452", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, reading, ts, lat\n Sensor: turbidity | fields: level, depth, reading, qc\nTask: Retrieve depth from temperature with reading above the MAX(reading) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003453", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, type, depth, ts\n Sensor: wind_speed | fields: ts, lon, level, qc\nTask: Get lon from air_quality where ts appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003454", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, level, ts, reading\n Sensor: drought_index | fields: lon, type, ts, level\nTask: Retrieve value from snow_depth that have at least one matching reading in drought_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003455", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: unit, qc, reading, value\n Sensor: snow_depth | fields: qc, ts, lon, type\nTask: Retrieve value from rainfall with depth above the MAX(depth) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003456", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: unit, lat, depth, value\n Sensor: drought_index | fields: reading, value, level, qc\nTask: Fetch lon from sunlight where reading is greater than the total of depth in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003457", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, type, lon, qc\n Sensor: sunlight | fields: lat, type, unit, ts\nTask: Retrieve value from dew_point with reading above the MIN(depth) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003458", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: type, value, unit, reading\n Sensor: uv_index | fields: lat, value, reading, ts\nTask: Fetch depth from visibility that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003459", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: qc, unit, lat, reading\n Sensor: frost | fields: value, unit, level, lat\nTask: Retrieve level from evaporation that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003460", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, unit, lon, value\n Sensor: dew_point | fields: lat, level, qc, type\nTask: Get level from turbidity where ts appears in dew_point readings with matching type.\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=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003461", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: value, ts, lon, level\n Sensor: air_quality | fields: lat, qc, depth, unit\nTask: Retrieve level from frost with reading above the SUM(value) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003462", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, reading, qc, ts\n Sensor: lightning | fields: level, type, ts, depth\nTask: Retrieve level from sunlight with value above the SUM(value) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003463", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, depth, reading, unit\n Sensor: wind_speed | fields: reading, lat, type, 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=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003464", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, level, type, lat\n Sensor: frost | fields: type, value, lat, lon\nTask: Get lat from air_quality where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003465", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: level, type, ts, reading\n Sensor: evaporation | fields: reading, value, depth, ts\nTask: Get value from sunlight where unit appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003466", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: level, ts, depth, unit\n Sensor: humidity | fields: reading, lat, value, level\nTask: Fetch lat from lightning that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003467", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, lat, type, unit\n Sensor: cloud_cover | fields: lat, value, depth, level\nTask: Retrieve value from lightning that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003468", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, level, qc, ts\n Sensor: uv_index | fields: level, lon, depth, type\nTask: Retrieve depth from rainfall whose qc is found in uv_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003469", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: depth, level, lat, ts\n Sensor: uv_index | fields: unit, reading, type, qc\nTask: Retrieve lon from snow_depth whose type is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003470", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: reading, value, ts, level\n Sensor: visibility | fields: qc, unit, level, reading\nTask: Retrieve level from lightning that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003471", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: ts, lon, unit, qc\n Sensor: temperature | fields: level, unit, lon, ts\nTask: Fetch reading from turbidity where type exists in temperature 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(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "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_fixed_v1_val_003472", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: ts, unit, value, qc\n Sensor: evaporation | fields: level, lat, unit, ts\nTask: Retrieve reading from visibility that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003473", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: depth, lat, qc, level\n Sensor: wind_speed | fields: level, depth, qc, reading\nTask: Get value from frost where ts appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003474", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: value, lat, unit, reading\n Sensor: uv_index | fields: unit, level, qc, depth\nTask: Retrieve level from air_quality whose type is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003475", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: level, lat, qc, type\n Sensor: dew_point | fields: ts, type, reading, qc\nTask: Fetch level from humidity where qc exists in dew_point sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003476", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: type, level, unit, value\n Sensor: wind_speed | fields: qc, unit, type, lat\nTask: Get depth 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=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003477", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, lon, ts, unit\n Sensor: dew_point | fields: ts, qc, value, type\nTask: Get value from rainfall where reading exceeds the total depth from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003478", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: reading, level, type, qc\n Sensor: frost | fields: type, reading, qc, ts\nTask: Fetch depth from snow_depth where unit exists in frost 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(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003479", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: level, lon, value, unit\n Sensor: cloud_cover | fields: unit, ts, value, depth\nTask: Fetch reading from soil_moisture that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003480", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: type, lon, unit, level\n Sensor: lightning | fields: reading, qc, type, lat\nTask: Get value from rainfall where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003481", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: depth, ts, value, qc\n Sensor: soil_moisture | fields: depth, lon, lat, ts\nTask: Fetch lat from air_quality where reading is greater than the average of reading in soil_moisture for matching qc.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003482", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, value, lon, type\n Sensor: air_quality | fields: qc, depth, value, unit\nTask: Get lon from snow_depth where reading exceeds the count of value from air_quality for the same type.\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(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003483", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: type, value, unit, qc\n Sensor: visibility | fields: level, value, lon, ts\nTask: Retrieve depth from frost whose ts is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003484", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, unit, qc, depth\n Sensor: drought_index | fields: value, lat, ts, depth\nTask: Get level from pressure where qc appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003485", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: type, ts, lon, lat\n Sensor: lightning | fields: level, value, depth, lat\nTask: Retrieve reading from temperature with reading above the MIN(value) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003486", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, lat, level, reading\n Sensor: dew_point | fields: lat, type, unit, level\nTask: Retrieve value 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=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003487", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, type, lat, qc\n Sensor: temperature | fields: depth, unit, value, ts\nTask: Fetch level from sunlight that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003488", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, level, depth, unit\n Sensor: visibility | fields: unit, reading, type, depth\nTask: Retrieve depth from dew_point that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003489", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: value, unit, qc, type\n Sensor: dew_point | fields: level, type, reading, ts\nTask: Get level from frost where depth appears in dew_point readings with matching unit.\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=\"unit\",\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": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003490", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: level, lon, lat, depth\n Sensor: cloud_cover | fields: type, qc, ts, depth\nTask: Get lon from lightning where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003491", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lon, level, value, lat\n Sensor: turbidity | fields: unit, value, lat, level\nTask: Retrieve lat from air_quality whose unit is found in turbidity records where ts 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(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003492", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: type, lat, value, lon\n Sensor: humidity | fields: unit, level, value, lat\nTask: Fetch lat from turbidity that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003493", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: ts, lon, unit, depth\n Sensor: frost | fields: ts, reading, lon, unit\nTask: Fetch value from rainfall that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003494", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: level, ts, unit, lat\n Sensor: snow_depth | fields: ts, depth, unit, value\nTask: Retrieve reading from turbidity whose depth is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003495", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: unit, depth, value, type\n Sensor: wind_speed | fields: type, value, depth, ts\nTask: Retrieve reading from soil_moisture with reading above the AVG(depth) of wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003496", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: type, lat, unit, depth\n Sensor: uv_index | fields: unit, lat, qc, type\nTask: Get lon from soil_moisture where unit appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003497", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: value, type, ts, lon\n Sensor: air_quality | fields: depth, value, level, qc\nTask: Get lon from humidity where type appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003498", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, value, lat, ts\n Sensor: humidity | fields: reading, value, lon, unit\nTask: Fetch value from wind_speed that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003499", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: unit, type, lat, level\n Sensor: soil_moisture | fields: lon, qc, ts, value\nTask: Fetch lon from humidity that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003500", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: value, level, lat, reading\n Sensor: drought_index | fields: ts, lat, reading, depth\nTask: Fetch reading from visibility where type exists in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003501", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: level, depth, reading, value\n Sensor: drought_index | fields: level, reading, depth, lon\nTask: Retrieve reading from wind_speed whose depth is found in drought_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003502", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: unit, type, depth, lon\n Sensor: pressure | fields: lon, unit, qc, reading\nTask: Retrieve lat from soil_moisture that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003503", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lat, ts, depth, type\n Sensor: cloud_cover | fields: type, value, reading, depth\nTask: Get level from visibility where depth exceeds the minimum reading from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003504", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, ts, type, qc\n Sensor: snow_depth | fields: value, lat, reading, type\nTask: Retrieve lat from evaporation whose ts is found in snow_depth records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003505", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: ts, level, value, depth\n Sensor: frost | fields: ts, reading, value, depth\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=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003506", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: unit, reading, type, lat\n Sensor: snow_depth | fields: value, reading, lon, qc\nTask: Retrieve depth from cloud_cover with reading above the MIN(reading) of snow_depth readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003507", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: value, lon, ts, reading\n Sensor: turbidity | fields: lat, ts, value, reading\nTask: Get value from frost where type appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "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_fixed_v1_val_003508", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, unit, depth, reading\n Sensor: air_quality | fields: type, level, ts, lat\nTask: Retrieve value from humidity whose depth is found in air_quality records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "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_fixed_v1_val_003509", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: reading, level, value, unit\n Sensor: cloud_cover | fields: unit, ts, reading, type\nTask: Retrieve reading from frost that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003510", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lat, depth, value, ts\n Sensor: turbidity | fields: qc, unit, reading, type\nTask: Get lat from air_quality where depth exceeds the average value from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003511", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, type, reading, value\n Sensor: soil_moisture | fields: lat, lon, reading, qc\nTask: Retrieve level from humidity with reading above the COUNT(reading) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "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_fixed_v1_val_003512", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: type, lon, unit, reading\n Sensor: uv_index | fields: lat, unit, lon, type\nTask: Get lat from humidity where ts appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\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": "humidity", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003513", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lon, lat, depth, qc\n Sensor: rainfall | fields: unit, depth, reading, value\nTask: Get lon from cloud_cover where a corresponding entry exists in rainfall with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003514", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: depth, type, level, value\n Sensor: soil_moisture | fields: lon, value, unit, reading\nTask: Get lon from evaporation where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003515", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, qc, lat, ts\n Sensor: uv_index | fields: ts, depth, level, reading\nTask: Retrieve value from humidity that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003516", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, ts, level, qc\n Sensor: air_quality | fields: qc, reading, depth, lon\nTask: Fetch reading from soil_moisture where reading is greater than the total of depth in air_quality for matching depth.\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(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003517", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lat, depth, unit, type\n Sensor: humidity | fields: type, depth, reading, value\nTask: Fetch lon from visibility where ts exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003518", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lat, qc, value, lon\n Sensor: pressure | fields: qc, value, ts, reading\nTask: Get depth from rainfall where qc appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003519", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, level, value, unit\n Sensor: lightning | fields: value, depth, reading, level\nTask: Get reading from humidity where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003520", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: level, ts, type, lat\n Sensor: frost | fields: depth, lat, unit, reading\nTask: Get reading from turbidity where value exceeds the total reading from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003521", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: qc, type, depth, ts\n Sensor: rainfall | fields: lon, value, unit, depth\nTask: Get depth from uv_index where qc appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003522", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, qc, level, unit\n Sensor: uv_index | fields: depth, type, unit, lat\nTask: Retrieve depth from cloud_cover whose type is found in uv_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003523", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, lat, lon, value\n Sensor: dew_point | fields: level, reading, value, lon\nTask: Fetch value from frost where unit exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003524", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: type, lon, value, depth\n Sensor: lightning | fields: value, depth, unit, lon\nTask: Fetch value from wind_speed where unit exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003525", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: depth, value, lat, reading\n Sensor: soil_moisture | fields: qc, lon, ts, unit\nTask: Retrieve level from humidity with value above the MIN(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003526", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, depth, lat, reading\n Sensor: sunlight | fields: lon, reading, depth, type\nTask: Retrieve value from humidity with reading above the SUM(depth) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003527", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, lon, qc, level\n Sensor: temperature | fields: value, ts, reading, unit\nTask: Retrieve value from pressure whose qc is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003528", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, lat, depth, lon\n Sensor: dew_point | fields: lon, qc, value, ts\nTask: Fetch lat from temperature where reading is greater than the maximum of value in dew_point for matching 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(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003529", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, unit, type, reading\n Sensor: wind_speed | fields: qc, value, type, level\nTask: Retrieve level 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=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003530", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: type, lat, level, lon\n Sensor: humidity | fields: level, lon, lat, type\nTask: Fetch depth from dew_point where depth exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003531", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, lat, ts, reading\n Sensor: visibility | fields: type, qc, reading, lon\nTask: Retrieve level from uv_index that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "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_fixed_v1_val_003532", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: level, reading, type, lon\n Sensor: visibility | fields: lon, unit, qc, lat\nTask: Get depth from frost where reading exceeds the count of value from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003533", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lat, value, reading, qc\n Sensor: soil_moisture | fields: level, ts, type, lon\nTask: Retrieve level from uv_index with depth above the SUM(reading) of soil_moisture readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003534", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lon, type, qc, ts\n Sensor: soil_moisture | fields: qc, lat, type, ts\nTask: Get lon from turbidity where unit appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003535", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: depth, reading, lon, unit\n Sensor: wind_speed | fields: ts, lat, value, lon\nTask: Fetch value from evaporation that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003536", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, lat, depth, type\n Sensor: visibility | fields: type, level, qc, value\nTask: Fetch lat from evaporation where reading is greater than the count of of depth in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003537", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, ts, level, qc\n Sensor: sunlight | fields: reading, ts, lon, depth\nTask: Fetch depth 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=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003538", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: unit, value, reading, level\n Sensor: visibility | fields: unit, qc, level, lat\nTask: Retrieve level from temperature whose unit is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, unit, lat, depth\n Sensor: temperature | fields: ts, qc, value, lat\nTask: Get lon from soil_moisture where depth appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003540", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: depth, lon, qc, reading\n Sensor: snow_depth | fields: level, reading, lat, qc\nTask: Retrieve lat from dew_point that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003541", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: reading, ts, unit, level\n Sensor: lightning | fields: reading, value, depth, lon\nTask: Fetch level from drought_index where ts exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003542", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: level, ts, value, lat\n Sensor: soil_moisture | fields: value, lon, type, lat\nTask: Get level from rainfall where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003543", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, unit, level, ts\n Sensor: pressure | fields: reading, depth, qc, lat\nTask: Get depth from drought_index where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003544", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lon, qc, lat, level\n Sensor: drought_index | fields: lat, reading, unit, depth\nTask: Fetch level from dew_point where type exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003545", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: value, qc, reading, lat\n Sensor: pressure | fields: level, value, lon, unit\nTask: Retrieve value from humidity whose depth is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003546", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, lat, type, ts\n Sensor: dew_point | fields: depth, lat, ts, unit\nTask: Get reading from rainfall where a corresponding entry exists in dew_point with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003547", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: unit, reading, lon, type\n Sensor: sunlight | fields: value, depth, unit, reading\nTask: Fetch level from lightning where qc exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003548", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: level, type, qc, lat\n Sensor: temperature | fields: reading, lon, lat, type\nTask: Fetch reading from wind_speed that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003549", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: value, lat, depth, reading\n Sensor: temperature | fields: type, lon, level, qc\nTask: Retrieve lon from air_quality with depth above the AVG(depth) of temperature readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003550", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, reading, depth, lat\n Sensor: uv_index | fields: type, depth, lat, level\nTask: Retrieve lon from air_quality with depth above the MAX(reading) of uv_index 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(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003551", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lon, lat, ts, type\n Sensor: snow_depth | fields: type, level, lon, depth\nTask: Fetch reading from pressure that have at least one corresponding snow_depth measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003552", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: value, qc, ts, type\n Sensor: wind_speed | fields: lon, reading, unit, depth\nTask: Retrieve level from temperature that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003553", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, level, type, lat\n Sensor: evaporation | fields: lat, level, lon, value\nTask: Get reading from drought_index where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003554", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: value, lon, depth, qc\n Sensor: evaporation | fields: qc, value, lat, ts\nTask: Retrieve lat from lightning with depth above the AVG(reading) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003555", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: depth, ts, lat, type\n Sensor: sunlight | fields: reading, level, unit, ts\nTask: Get lat from pressure where value exceeds the maximum reading from sunlight for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003556", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lat, type, level, ts\n Sensor: air_quality | fields: type, value, lon, qc\nTask: Fetch lon from turbidity that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003557", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: ts, lon, value, depth\n Sensor: evaporation | fields: reading, value, qc, type\nTask: Fetch value from temperature where reading is greater than the average of depth in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003558", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: type, value, unit, lon\n Sensor: air_quality | fields: unit, lon, ts, type\nTask: Fetch level from temperature that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003559", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: depth, level, type, ts\n Sensor: snow_depth | fields: ts, lat, depth, type\nTask: Retrieve level from lightning whose unit is found in snow_depth records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003560", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: type, depth, unit, lat\n Sensor: evaporation | fields: value, depth, unit, qc\nTask: Get value from rainfall where reading exceeds the total depth from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003561", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: ts, lat, level, qc\n Sensor: cloud_cover | fields: lon, ts, depth, lat\nTask: Retrieve lat from wind_speed with depth above the SUM(depth) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003562", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: type, qc, ts, reading\n Sensor: humidity | fields: unit, reading, lon, lat\nTask: Get depth from lightning where ts appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003563", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: depth, qc, lon, level\n Sensor: snow_depth | fields: unit, depth, value, lat\nTask: Get depth from frost where reading exceeds the count of depth from snow_depth for the same 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(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003564", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, qc, reading, ts\n Sensor: drought_index | fields: type, lat, qc, lon\nTask: Retrieve depth from soil_moisture whose qc is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003565", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, lat, value, unit\n Sensor: soil_moisture | fields: lat, ts, level, qc\nTask: Get value from pressure where value exceeds the total depth from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003566", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, ts, reading, unit\n Sensor: lightning | fields: type, unit, ts, reading\nTask: Retrieve level from evaporation with value above the COUNT(value) of lightning readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003567", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, type, reading, lon\n Sensor: dew_point | fields: type, reading, qc, value\nTask: Retrieve value 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=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003568", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: value, unit, type, level\n Sensor: humidity | fields: unit, ts, level, value\nTask: Get level from drought_index where depth exceeds the maximum reading from humidity for the same qc.\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(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "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_fixed_v1_val_003569", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, depth, reading, ts\n Sensor: frost | fields: level, ts, unit, lat\nTask: Fetch depth from dew_point where type exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003570", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: ts, lon, lat, value\n Sensor: cloud_cover | fields: value, type, lon, level\nTask: Retrieve lat 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=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003571", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: reading, qc, ts, lat\n Sensor: drought_index | fields: unit, type, level, lon\nTask: Retrieve value from humidity whose type is found in drought_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003572", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: type, lon, ts, unit\n Sensor: temperature | fields: type, value, qc, lon\nTask: Get reading from dew_point where ts appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003573", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, reading, lon, value\n Sensor: drought_index | fields: value, level, lon, ts\nTask: Get level from snow_depth where reading exceeds the minimum reading from drought_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(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003574", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lat, lon, qc, type\n Sensor: rainfall | fields: ts, level, unit, lon\nTask: Retrieve level from drought_index with reading above the MIN(value) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003575", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: value, level, lon, type\n Sensor: sunlight | fields: reading, depth, type, value\nTask: Fetch depth from snow_depth where depth is greater than the total of reading in sunlight for matching ts.\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(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003576", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: reading, level, type, ts\n Sensor: dew_point | fields: lon, depth, unit, qc\nTask: Retrieve depth from cloud_cover that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003577", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, ts, lon, value\n Sensor: air_quality | fields: qc, type, level, reading\nTask: Fetch value 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=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\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": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003578", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, value, unit, ts\n Sensor: temperature | fields: reading, lat, value, lon\nTask: Retrieve value from pressure that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003579", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: ts, value, qc, lon\n Sensor: lightning | fields: qc, depth, lat, type\nTask: Retrieve lat from cloud_cover with reading above the SUM(reading) of lightning 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(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003580", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: depth, unit, value, qc\n Sensor: sunlight | fields: value, reading, level, lat\nTask: Get lon from wind_speed where type appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003581", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: unit, level, ts, reading\n Sensor: drought_index | fields: lon, value, type, unit\nTask: Get lon from cloud_cover where qc appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003582", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: unit, type, depth, lon\n Sensor: dew_point | fields: qc, reading, unit, lon\nTask: Fetch lat from sunlight that have at least one corresponding dew_point measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003583", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: level, lon, lat, type\n Sensor: soil_moisture | fields: type, lat, value, reading\nTask: Fetch value from air_quality that have at least one corresponding soil_moisture measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003584", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: qc, value, unit, type\n Sensor: pressure | fields: qc, value, reading, unit\nTask: Fetch level from visibility where reading is greater than the maximum of reading in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003585", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, type, level, unit\n Sensor: pressure | fields: lon, ts, type, depth\nTask: Fetch depth from frost where unit exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003586", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: reading, type, ts, lon\n Sensor: air_quality | fields: reading, lon, lat, unit\nTask: Retrieve depth 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=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003587", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, ts, reading, depth\n Sensor: cloud_cover | fields: level, ts, lat, reading\nTask: Retrieve level from visibility whose depth is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003588", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lon, ts, unit, depth\n Sensor: humidity | fields: lat, value, type, reading\nTask: Get lat from pressure where value exceeds the count of depth from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003589", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: unit, lon, qc, depth\n Sensor: visibility | fields: qc, ts, depth, lon\nTask: Fetch value from sunlight that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003590", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: type, qc, depth, ts\n Sensor: drought_index | fields: depth, qc, value, unit\nTask: Fetch value from pressure where depth is greater than the minimum of value in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003591", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, value, type, ts\n Sensor: soil_moisture | fields: reading, value, qc, unit\nTask: Fetch level from humidity where depth is greater than the maximum of depth in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003592", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: depth, lat, unit, qc\n Sensor: temperature | fields: qc, unit, lat, depth\nTask: Get level from visibility where depth exceeds the average depth from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003593", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: value, type, depth, reading\n Sensor: turbidity | fields: type, lat, unit, depth\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=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003594", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lat, level, value, qc\n Sensor: wind_speed | fields: reading, qc, value, depth\nTask: Fetch value 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=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003595", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, lat, reading, lon\n Sensor: lightning | fields: value, reading, unit, ts\nTask: Fetch depth from temperature that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003596", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lon, depth, reading, level\n Sensor: soil_moisture | fields: lon, ts, unit, qc\nTask: Retrieve value from drought_index with depth above the MIN(depth) of soil_moisture 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(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003597", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, ts, lon, value\n Sensor: evaporation | fields: qc, lat, ts, lon\nTask: Fetch value from temperature that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003598", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: level, lon, ts, type\n Sensor: visibility | fields: level, lat, reading, value\nTask: Retrieve depth from frost with depth above the MIN(reading) of visibility readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "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_fixed_v1_val_003599", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: unit, qc, value, type\n Sensor: dew_point | fields: level, reading, unit, ts\nTask: Retrieve reading from wind_speed that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003600", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, depth, lat, unit\n Sensor: sunlight | fields: ts, depth, qc, level\nTask: Fetch lat from air_quality where reading is greater than the total of depth in sunlight for matching ts.\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(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003601", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, lon, depth, reading\n Sensor: wind_speed | fields: level, unit, lon, type\nTask: Retrieve level from snow_depth that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003602", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, level, type, lat\n Sensor: dew_point | fields: level, reading, type, ts\nTask: Retrieve lon from rainfall with value above the SUM(depth) of dew_point readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003603", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: reading, level, lon, lat\n Sensor: turbidity | fields: ts, type, lon, qc\nTask: Get lat from evaporation where qc appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003604", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: unit, depth, lat, type\n Sensor: soil_moisture | fields: depth, reading, level, lon\nTask: Fetch level from evaporation where value is greater than the total of reading in soil_moisture for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003605", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lat, reading, type, value\n Sensor: frost | fields: lat, depth, qc, unit\nTask: Get lat from visibility where reading exceeds the maximum reading from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003606", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: qc, value, depth, reading\n Sensor: humidity | fields: lon, qc, reading, type\nTask: Retrieve lon from wind_speed whose qc is found in humidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003607", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lat, level, ts, lon\n Sensor: snow_depth | fields: type, qc, value, lat\nTask: Get reading from drought_index where reading exceeds the average depth from snow_depth for the same ts.\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(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003608", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: type, value, lat, ts\n Sensor: air_quality | fields: unit, level, type, value\nTask: Retrieve depth 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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003609", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, lon, lat, value\n Sensor: drought_index | fields: depth, ts, value, reading\nTask: Retrieve lon 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=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003610", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, value, level, lat\n Sensor: snow_depth | fields: level, reading, depth, lon\nTask: Get level from pressure where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003611", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, type, unit, ts\n Sensor: soil_moisture | fields: lat, qc, unit, depth\nTask: Retrieve level from uv_index with value above the MIN(value) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003612", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, value, ts, unit\n Sensor: dew_point | fields: ts, depth, level, unit\nTask: Get reading from evaporation where type appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003613", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lon, value, unit, type\n Sensor: cloud_cover | fields: reading, type, lat, value\nTask: Get reading from pressure where qc appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003614", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, ts, unit, type\n Sensor: rainfall | fields: lon, qc, unit, ts\nTask: Fetch reading from humidity that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003615", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lat, level, reading, value\n Sensor: dew_point | fields: value, lon, reading, unit\nTask: Fetch level from uv_index where value is greater than the total of reading in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003616", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lat, depth, unit, type\n Sensor: visibility | fields: reading, qc, unit, lat\nTask: Fetch value from rainfall where depth exists in visibility sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003617", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: unit, lon, ts, type\n Sensor: dew_point | fields: unit, lon, reading, level\nTask: Get reading from humidity where value exceeds the minimum depth from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003618", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: unit, qc, level, lon\n Sensor: soil_moisture | fields: reading, qc, value, lat\nTask: Retrieve lon 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=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003619", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: type, reading, unit, depth\n Sensor: evaporation | fields: value, qc, lat, type\nTask: Fetch reading from lightning where reading is greater than the average of reading in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003620", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, qc, level, unit\n Sensor: lightning | fields: lon, ts, value, lat\nTask: Fetch level from wind_speed where ts exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003621", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, depth, ts, qc\n Sensor: frost | fields: qc, level, reading, lat\nTask: Get value from turbidity where qc appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003622", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: unit, level, depth, lat\n Sensor: visibility | fields: type, depth, value, unit\nTask: Retrieve reading from sunlight with reading above the MIN(depth) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003623", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: qc, unit, depth, ts\n Sensor: snow_depth | fields: lon, ts, value, qc\nTask: Retrieve reading from humidity that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003624", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: ts, level, lat, type\n Sensor: temperature | fields: ts, level, lon, lat\nTask: Retrieve lat from snow_depth with reading above the AVG(reading) of temperature readings sharing the same type.\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(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003625", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: qc, type, lon, value\n Sensor: temperature | fields: qc, value, level, reading\nTask: Fetch value 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=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003626", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: ts, reading, depth, type\n Sensor: air_quality | fields: reading, lat, level, lon\nTask: Retrieve depth from dew_point that have at least one matching reading in air_quality sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003627", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, depth, level, lon\n Sensor: snow_depth | fields: lat, ts, level, unit\nTask: Fetch value from pressure that have at least one corresponding snow_depth measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003628", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, value, unit, type\n Sensor: humidity | fields: lat, unit, level, type\nTask: Retrieve level from drought_index that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003629", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, depth, type, ts\n Sensor: dew_point | fields: value, lon, lat, level\nTask: Fetch lon from turbidity where value is greater than the count of of depth in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003630", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, lon, qc, ts\n Sensor: evaporation | fields: depth, lon, level, value\nTask: Get reading from dew_point where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003631", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lat, unit, type, qc\n Sensor: lightning | fields: depth, unit, type, lat\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=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003632", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: value, unit, level, qc\n Sensor: uv_index | fields: qc, value, lat, reading\nTask: Get depth from sunlight where unit appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\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": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003633", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, unit, lat, value\n Sensor: humidity | fields: level, ts, lat, value\nTask: Get level from dew_point where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003634", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, lon, type, level\n Sensor: snow_depth | fields: type, lon, unit, value\nTask: Get lat from pressure where unit appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003635", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: value, qc, reading, type\n Sensor: snow_depth | fields: value, level, depth, ts\nTask: Retrieve reading from rainfall with reading above the COUNT(depth) of snow_depth readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003636", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, value, depth, lon\n Sensor: humidity | fields: lat, type, lon, value\nTask: Get lat from dew_point where reading exceeds the count of depth from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003637", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lat, reading, depth, lon\n Sensor: pressure | fields: lat, level, ts, qc\nTask: Retrieve lat from humidity that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003638", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: type, depth, lat, lon\n Sensor: cloud_cover | fields: level, ts, unit, depth\nTask: Get depth from wind_speed where reading exceeds the minimum reading from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003639", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lon, level, type, unit\n Sensor: lightning | fields: value, ts, type, qc\nTask: Fetch lat from humidity where reading is greater than the count of of value in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003640", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, depth, ts, reading\n Sensor: snow_depth | fields: ts, reading, value, lat\nTask: Retrieve depth from pressure with reading above the MAX(depth) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003641", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: unit, ts, type, level\n Sensor: snow_depth | fields: unit, level, lon, ts\nTask: Fetch depth from rainfall where depth exists in snow_depth sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003642", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, ts, depth, level\n Sensor: air_quality | fields: depth, lat, level, value\nTask: Retrieve lon from sunlight that have at least one matching reading in air_quality sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003643", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: value, unit, lat, type\n Sensor: air_quality | fields: lon, level, reading, value\nTask: Retrieve level from uv_index with reading above the SUM(depth) of air_quality 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(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003644", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: unit, qc, depth, level\n Sensor: dew_point | fields: qc, lat, depth, ts\nTask: Retrieve reading from wind_speed whose unit is found in dew_point records where type 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(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003645", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: type, value, level, depth\n Sensor: soil_moisture | fields: type, ts, lon, reading\nTask: Retrieve depth 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=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003646", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, qc, unit, value\n Sensor: dew_point | fields: level, lon, type, qc\nTask: Get lon from temperature where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003647", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, reading, lat, lon\n Sensor: sunlight | fields: type, lon, reading, level\nTask: Fetch level from cloud_cover where unit exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003648", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, unit, type, ts\n Sensor: pressure | fields: lat, lon, value, type\nTask: Get depth from uv_index where value exceeds the count of value from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003649", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: level, depth, unit, lon\n Sensor: snow_depth | fields: reading, depth, ts, type\nTask: Get value from rainfall where depth exceeds the count of reading from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003650", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, unit, reading, depth\n Sensor: soil_moisture | fields: reading, qc, type, level\nTask: Fetch lat 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=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003651", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: value, qc, unit, level\n Sensor: pressure | fields: lon, depth, type, value\nTask: Retrieve level from dew_point whose ts is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003652", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: value, lon, qc, level\n Sensor: temperature | fields: lon, qc, value, unit\nTask: Retrieve level 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=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003653", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: qc, unit, lon, ts\n Sensor: turbidity | fields: lat, depth, unit, level\nTask: Get lon from sunlight where reading exceeds the average reading from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003654", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: reading, lon, value, ts\n Sensor: turbidity | fields: reading, level, lon, type\nTask: Fetch lon from sunlight that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003655", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: ts, lon, lat, value\n Sensor: uv_index | fields: depth, qc, unit, lon\nTask: Get reading 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=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003656", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: type, ts, reading, qc\n Sensor: frost | fields: unit, lon, depth, value\nTask: Fetch level from cloud_cover where depth is greater than the total of reading in frost for matching qc.\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(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003657", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: ts, lat, type, lon\n Sensor: uv_index | fields: value, ts, unit, type\nTask: Fetch lon from rainfall where depth is greater than the minimum of depth in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003658", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lon, type, ts, qc\n Sensor: soil_moisture | fields: unit, depth, ts, qc\nTask: Get level from drought_index where depth exceeds the count of reading from soil_moisture for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003659", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, type, level, value\n Sensor: snow_depth | fields: type, lat, depth, lon\nTask: Fetch value from soil_moisture that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003660", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: reading, depth, lon, unit\n Sensor: drought_index | fields: type, level, qc, reading\nTask: Get depth from soil_moisture where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003661", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, reading, lat, qc\n Sensor: evaporation | fields: qc, reading, value, lat\nTask: Fetch lat from cloud_cover where ts exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003662", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: depth, lon, unit, type\n Sensor: lightning | fields: qc, lon, value, depth\nTask: Retrieve value from humidity that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003663", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: reading, level, ts, type\n Sensor: uv_index | fields: qc, type, value, level\nTask: Fetch depth from sunlight that have at least one corresponding uv_index measurement for 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_fixed_v1_val_003664", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, unit, level, lon\n Sensor: temperature | fields: lon, qc, level, unit\nTask: Fetch depth from turbidity where unit exists in temperature 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(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003665", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: reading, value, lon, qc\n Sensor: evaporation | fields: level, lat, lon, depth\nTask: Get lat from uv_index where value exceeds the maximum depth from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003666", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, type, reading, depth\n Sensor: snow_depth | fields: lat, ts, qc, depth\nTask: Fetch lat from rainfall where unit exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003667", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: unit, lon, ts, value\n Sensor: wind_speed | fields: level, ts, lat, depth\nTask: Get lon from sunlight where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003668", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: reading, ts, type, lat\n Sensor: sunlight | fields: value, level, depth, type\nTask: Fetch level from drought_index that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003669", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: qc, reading, unit, type\n Sensor: wind_speed | fields: ts, unit, lon, type\nTask: Retrieve lat from temperature whose unit is found in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003670", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: ts, level, qc, type\n Sensor: visibility | fields: lon, reading, ts, lat\nTask: Fetch lon from cloud_cover where depth exists in visibility sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003671", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: level, unit, reading, depth\n Sensor: wind_speed | fields: ts, qc, level, lat\nTask: Fetch lat from dew_point where reading is greater than the average of depth in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003672", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: type, level, ts, reading\n Sensor: uv_index | fields: reading, level, ts, lon\nTask: Get level from lightning where value exceeds the total value from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003673", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: level, unit, type, ts\n Sensor: air_quality | fields: value, lon, reading, depth\nTask: Get lat from uv_index where depth appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003674", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: level, lat, depth, qc\n Sensor: cloud_cover | fields: unit, lon, value, level\nTask: Retrieve value from snow_depth that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003675", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: lat, lon, level, value\n Sensor: soil_moisture | fields: lon, ts, depth, unit\nTask: Retrieve lon from cloud_cover that have at least one matching reading in soil_moisture sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003676", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lat, unit, type, value\n Sensor: wind_speed | fields: reading, level, lat, depth\nTask: Fetch lon from drought_index that have at least one corresponding wind_speed measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003677", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lon, lat, ts, type\n Sensor: turbidity | fields: qc, lon, value, ts\nTask: Get lon from wind_speed where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003678", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: reading, level, value, lon\n Sensor: cloud_cover | fields: unit, depth, qc, lon\nTask: Fetch level from humidity where unit exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003679", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, type, lon, unit\n Sensor: turbidity | fields: value, level, lat, lon\nTask: Retrieve level from rainfall whose unit is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003680", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: value, qc, level, unit\n Sensor: frost | fields: ts, unit, lon, type\nTask: Retrieve depth from sunlight with value above the MIN(reading) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003681", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: level, ts, value, qc\n Sensor: evaporation | fields: qc, ts, depth, lon\nTask: Retrieve depth from lightning that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003682", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: value, level, lon, unit\n Sensor: wind_speed | fields: lon, depth, level, unit\nTask: Fetch lon from lightning where type exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003683", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, value, qc, ts\n Sensor: dew_point | fields: reading, depth, qc, ts\nTask: Retrieve depth from cloud_cover that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003684", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, level, type, unit\n Sensor: evaporation | fields: level, lat, value, unit\nTask: Retrieve level from dew_point with value above the SUM(reading) of evaporation 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(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003685", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: depth, lat, ts, type\n Sensor: air_quality | fields: unit, reading, qc, lon\nTask: Fetch level from frost where depth is greater than the total of depth in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003686", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: reading, lon, level, type\n Sensor: soil_moisture | fields: reading, depth, lon, level\nTask: Get value from evaporation where ts appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\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", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003687", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: reading, depth, type, lat\n Sensor: pressure | fields: ts, lon, depth, lat\nTask: Fetch level from humidity that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003688", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, type, lat, reading\n Sensor: sunlight | fields: level, unit, lat, reading\nTask: Retrieve value from lightning whose type is found in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003689", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: reading, lon, depth, lat\n Sensor: uv_index | fields: unit, level, type, reading\nTask: Retrieve level from cloud_cover that have at least one matching reading in uv_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003690", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lon, depth, reading, lat\n Sensor: evaporation | fields: unit, depth, qc, value\nTask: Retrieve lon from lightning whose qc is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003691", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, type, value, reading\n Sensor: rainfall | fields: ts, type, reading, depth\nTask: Retrieve depth from dew_point that have at least one matching reading in rainfall sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003692", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: value, reading, unit, lat\n Sensor: wind_speed | fields: value, depth, ts, type\nTask: Retrieve level 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=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003693", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: reading, lon, qc, ts\n Sensor: sunlight | fields: lon, depth, type, unit\nTask: Retrieve value from humidity whose unit is found in sunlight records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003694", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: ts, reading, lon, unit\n Sensor: lightning | fields: value, unit, lon, level\nTask: Fetch level from soil_moisture where type exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003695", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, unit, value, depth\n Sensor: cloud_cover | fields: lon, level, ts, qc\nTask: Get level from snow_depth where value exceeds the minimum value from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003696", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, level, depth, lon\n Sensor: rainfall | fields: unit, reading, depth, value\nTask: Retrieve lat from soil_moisture with depth above the MIN(depth) of rainfall 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(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003697", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, reading, unit, level\n Sensor: visibility | fields: unit, qc, reading, lat\nTask: Retrieve lon from air_quality that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003698", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lon, value, level, unit\n Sensor: lightning | fields: type, reading, lon, depth\nTask: Retrieve lat from visibility that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003699", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: unit, value, lon, type\n Sensor: evaporation | fields: lat, value, lon, level\nTask: Retrieve depth from turbidity that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003700", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: depth, lon, reading, unit\n Sensor: uv_index | fields: lon, level, qc, lat\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=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003701", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: qc, reading, type, ts\n Sensor: wind_speed | fields: ts, level, lat, type\nTask: Retrieve value from visibility with depth above the COUNT(reading) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\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": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003702", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, lon, level, depth\n Sensor: dew_point | fields: level, ts, lat, depth\nTask: Get depth from air_quality where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003703", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, level, unit, type\n Sensor: temperature | fields: reading, lat, lon, level\nTask: Fetch depth 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=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003704", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: reading, value, depth, qc\n Sensor: wind_speed | fields: ts, unit, level, lat\nTask: Fetch value from humidity that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "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_fixed_v1_val_003705", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, type, level, reading\n Sensor: lightning | fields: type, lat, unit, ts\nTask: Fetch reading from rainfall that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003706", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: reading, value, lon, level\n Sensor: frost | fields: level, lon, value, type\nTask: Retrieve reading from rainfall with reading above the MAX(value) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003707", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: level, unit, value, reading\n Sensor: turbidity | fields: level, value, ts, qc\nTask: Get depth from sunlight where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003708", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, level, reading, qc\n Sensor: soil_moisture | fields: reading, value, unit, lat\nTask: Retrieve level 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=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003709", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lat, value, level, type\n Sensor: pressure | fields: lon, reading, value, level\nTask: Retrieve reading from frost whose ts is found in pressure records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003710", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, reading, lon, unit\n Sensor: soil_moisture | fields: lon, value, qc, depth\nTask: Retrieve lat from snow_depth that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003711", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: qc, value, level, ts\n Sensor: cloud_cover | fields: lat, depth, level, lon\nTask: Retrieve depth from temperature that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003712", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: level, lat, lon, ts\n Sensor: humidity | fields: unit, value, qc, level\nTask: Retrieve value from temperature that have at least one matching reading in humidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003713", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: qc, unit, type, lon\n Sensor: dew_point | fields: lat, reading, value, type\nTask: Get level from pressure where depth exceeds the maximum value from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003714", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: depth, level, value, unit\n Sensor: drought_index | fields: type, ts, unit, lon\nTask: Fetch reading from pressure that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003715", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lat, unit, type, level\n Sensor: sunlight | fields: unit, lon, qc, ts\nTask: Retrieve level from wind_speed with value above the AVG(value) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "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_fixed_v1_val_003716", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lon, level, qc, reading\n Sensor: pressure | fields: lat, type, reading, ts\nTask: Fetch lon from visibility that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003717", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: qc, lat, type, level\n Sensor: rainfall | fields: level, reading, qc, ts\nTask: Retrieve lon from evaporation that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003718", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: depth, qc, ts, level\n Sensor: wind_speed | fields: type, level, lat, reading\nTask: Retrieve level from lightning that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003719", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: unit, type, ts, depth\n Sensor: frost | fields: reading, type, depth, level\nTask: Retrieve reading from evaporation whose qc is found in frost 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(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003720", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: reading, lat, type, qc\n Sensor: sunlight | fields: lon, ts, lat, type\nTask: Fetch value from turbidity where ts exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003721", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, unit, qc, lon\n Sensor: wind_speed | fields: qc, ts, lon, reading\nTask: Retrieve lon from cloud_cover with reading above the AVG(depth) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003722", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, lat, level, depth\n Sensor: turbidity | fields: lat, ts, unit, qc\nTask: Fetch level from soil_moisture that have at least one corresponding turbidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003723", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: qc, lat, value, depth\n Sensor: snow_depth | fields: lon, unit, reading, ts\nTask: Fetch lon from turbidity where qc exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "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_fixed_v1_val_003724", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lon, reading, ts, type\n Sensor: sunlight | fields: unit, lon, lat, level\nTask: Fetch reading from air_quality where reading is greater than the count of of depth in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003725", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: depth, ts, type, level\n Sensor: visibility | fields: qc, reading, value, lat\nTask: Fetch value from uv_index where unit exists in visibility 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(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003726", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lon, ts, level, qc\n Sensor: rainfall | fields: value, level, qc, reading\nTask: Fetch value from cloud_cover where value is greater than the total of value in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003727", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, type, lon, value\n Sensor: evaporation | fields: lat, qc, value, unit\nTask: Retrieve lon from drought_index that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003728", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: unit, value, depth, reading\n Sensor: evaporation | fields: type, reading, lon, lat\nTask: Get value from temperature where value exceeds the minimum reading from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003729", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: depth, ts, value, type\n Sensor: air_quality | fields: qc, reading, level, value\nTask: Retrieve value from snow_depth that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003730", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lat, unit, type, lon\n Sensor: humidity | fields: type, value, depth, level\nTask: Retrieve lat from uv_index whose depth is found in humidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003731", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, type, lat, depth\n Sensor: humidity | fields: reading, type, lat, qc\nTask: Fetch lon from evaporation where value is greater than the total of reading in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003732", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: value, level, ts, reading\n Sensor: uv_index | fields: reading, level, unit, lon\nTask: Get level from snow_depth where ts appears in uv_index 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(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003733", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lat, ts, type, lon\n Sensor: sunlight | fields: ts, unit, type, lon\nTask: Fetch level from dew_point that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003734", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, lon, ts, level\n Sensor: uv_index | fields: level, lon, value, reading\nTask: Retrieve depth from soil_moisture whose depth is found in uv_index records where qc 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(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003735", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: value, lon, level, ts\n Sensor: wind_speed | fields: level, value, lat, ts\nTask: Fetch reading from frost where type exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003736", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: depth, type, qc, value\n Sensor: turbidity | fields: qc, lon, reading, lat\nTask: Retrieve reading from sunlight with reading above the AVG(reading) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003737", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, ts, lat, level\n Sensor: frost | fields: level, unit, ts, reading\nTask: Get reading from pressure where value exceeds the average value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003738", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, depth, type, lon\n Sensor: uv_index | fields: ts, unit, value, lon\nTask: Retrieve value from visibility that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003739", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, ts, level, reading\n Sensor: snow_depth | fields: lat, value, qc, unit\nTask: Get level from air_quality where value exceeds the count of depth from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "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_fixed_v1_val_003740", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, ts, reading, lon\n Sensor: soil_moisture | fields: unit, qc, level, ts\nTask: Get value from frost where depth appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003741", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lon, value, type, lat\n Sensor: lightning | fields: ts, lon, reading, type\nTask: Retrieve reading from soil_moisture with value above the COUNT(reading) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003742", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: value, lon, reading, type\n Sensor: snow_depth | fields: lon, level, value, type\nTask: Get level from rainfall where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003743", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lon, qc, ts, depth\n Sensor: frost | fields: qc, reading, lon, level\nTask: Fetch depth 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=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003744", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lat, reading, ts, value\n Sensor: temperature | fields: qc, reading, unit, type\nTask: Retrieve depth from turbidity whose depth is found in temperature records where type 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=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003745", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, level, lon, lat\n Sensor: humidity | fields: qc, reading, type, unit\nTask: Get lon from frost where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003746", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, unit, qc, value\n Sensor: sunlight | fields: type, level, ts, qc\nTask: Fetch value from turbidity where depth exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003747", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, level, unit, depth\n Sensor: soil_moisture | fields: lat, reading, unit, ts\nTask: Fetch depth from humidity that have at least one corresponding soil_moisture measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003748", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: ts, lon, type, lat\n Sensor: visibility | fields: type, lon, unit, ts\nTask: Retrieve level from temperature that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003749", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, ts, reading, unit\n Sensor: lightning | fields: depth, lon, ts, reading\nTask: Fetch lat from soil_moisture where ts exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003750", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, depth, unit, value\n Sensor: sunlight | fields: value, reading, level, depth\nTask: Get lat from dew_point where qc appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "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_fixed_v1_val_003751", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: reading, type, lat, qc\n Sensor: lightning | fields: unit, type, lon, lat\nTask: Fetch lat 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=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003752", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lon, unit, reading, depth\n Sensor: sunlight | fields: value, reading, level, lon\nTask: Get reading from wind_speed where type appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003753", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lon, depth, ts, lat\n Sensor: temperature | fields: lat, depth, level, ts\nTask: Fetch reading from uv_index that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003754", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: depth, lat, ts, qc\n Sensor: snow_depth | fields: reading, ts, qc, value\nTask: Retrieve value from sunlight with value above the SUM(value) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003755", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: reading, qc, depth, lat\n Sensor: wind_speed | fields: reading, depth, lat, value\nTask: Get lat from snow_depth where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003756", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, lat, ts, depth\n Sensor: snow_depth | fields: lat, level, lon, qc\nTask: Retrieve depth from evaporation whose type is found in snow_depth records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003757", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lon, depth, value, level\n Sensor: soil_moisture | fields: type, lat, value, depth\nTask: Fetch lon from frost where value is greater than the minimum of depth in soil_moisture for matching 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(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003758", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, reading, type, depth\n Sensor: humidity | fields: lat, type, lon, value\nTask: Fetch value from visibility where ts exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003759", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: unit, ts, lon, qc\n Sensor: temperature | fields: reading, type, lat, depth\nTask: Fetch level 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=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003760", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: depth, ts, lon, level\n Sensor: drought_index | fields: type, depth, lat, lon\nTask: Get depth from evaporation where qc appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003761", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lon, value, type, ts\n Sensor: soil_moisture | fields: value, lon, lat, reading\nTask: Retrieve reading from visibility whose type is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003762", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, level, qc, value\n Sensor: lightning | fields: lon, depth, level, reading\nTask: Fetch lon from rainfall where depth is greater than the total of value in lightning for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003763", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, unit, lat, depth\n Sensor: cloud_cover | fields: value, lon, type, reading\nTask: Get level from sunlight where depth appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003764", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lon, qc, depth, value\n Sensor: turbidity | fields: reading, depth, qc, lat\nTask: Get lon from pressure where qc appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003765", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: type, qc, reading, depth\n Sensor: frost | fields: unit, reading, depth, qc\nTask: Get value from wind_speed where reading exceeds the total value from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003766", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: ts, qc, depth, value\n Sensor: drought_index | fields: level, unit, lon, value\nTask: Retrieve depth from sunlight whose type is found in drought_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003767", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: qc, level, type, value\n Sensor: turbidity | fields: qc, lon, ts, reading\nTask: Retrieve level from snow_depth that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003768", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: value, ts, reading, level\n Sensor: pressure | fields: level, depth, lon, qc\nTask: Fetch lon from wind_speed that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003769", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, type, value, lat\n Sensor: humidity | fields: depth, lat, level, qc\nTask: Retrieve reading from sunlight whose depth is found in humidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003770", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: unit, type, value, level\n Sensor: dew_point | fields: depth, lat, ts, lon\nTask: Retrieve depth from humidity whose type is found in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003771", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: unit, lat, level, value\n Sensor: cloud_cover | fields: type, value, level, qc\nTask: Get lon from frost where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "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_fixed_v1_val_003772", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: depth, lat, unit, lon\n Sensor: humidity | fields: qc, lon, unit, type\nTask: Retrieve lon from lightning that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003773", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: unit, type, ts, value\n Sensor: turbidity | fields: lat, value, lon, ts\nTask: Retrieve level from frost with reading above the AVG(reading) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003774", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: depth, value, type, unit\n Sensor: humidity | fields: unit, value, depth, lon\nTask: Fetch lon from evaporation that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003775", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: qc, lat, type, unit\n Sensor: snow_depth | fields: lat, ts, depth, value\nTask: Get lon from lightning where value exceeds the total reading from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "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_fixed_v1_val_003776", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, lat, type, depth\n Sensor: uv_index | fields: lat, value, depth, qc\nTask: Get value from sunlight where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003777", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lat, reading, level, type\n Sensor: evaporation | fields: depth, reading, type, qc\nTask: Get reading from pressure where value exceeds the maximum value from evaporation for 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(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "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_fixed_v1_val_003778", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: depth, unit, level, type\n Sensor: snow_depth | fields: ts, reading, unit, depth\nTask: Get depth 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=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "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_fixed_v1_val_003779", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lat, lon, level, value\n Sensor: pressure | fields: reading, qc, level, ts\nTask: Get reading from wind_speed where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003780", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, type, reading, unit\n Sensor: visibility | fields: type, level, qc, value\nTask: Get reading from snow_depth where depth exceeds the average reading from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003781", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, lon, ts, reading\n Sensor: pressure | fields: lon, level, lat, qc\nTask: Fetch level from dew_point where value is greater than the maximum of reading in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003782", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: unit, value, ts, type\n Sensor: frost | fields: qc, lon, level, depth\nTask: Fetch level from evaporation where value is greater than the total of reading in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003783", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, qc, level, unit\n Sensor: frost | fields: level, depth, type, lon\nTask: Fetch reading from lightning where unit exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "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_fixed_v1_val_003784", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, level, lon, lat\n Sensor: air_quality | fields: level, depth, lat, reading\nTask: Get depth from soil_moisture where reading exceeds the total value from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003785", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: depth, level, qc, value\n Sensor: sunlight | fields: unit, depth, reading, qc\nTask: Retrieve value from temperature with value above the COUNT(value) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003786", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: reading, lon, type, value\n Sensor: lightning | fields: depth, type, reading, value\nTask: Get lat from uv_index where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003787", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: reading, lon, depth, qc\n Sensor: turbidity | fields: ts, level, value, lat\nTask: Get value from pressure where ts appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003788", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, type, lat, depth\n Sensor: soil_moisture | fields: type, unit, level, qc\nTask: Get level from uv_index where depth appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003789", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: value, lon, ts, type\n Sensor: soil_moisture | fields: qc, lon, unit, value\nTask: Retrieve level from visibility with reading above the MAX(depth) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003790", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: qc, depth, level, value\n Sensor: uv_index | fields: lat, value, type, lon\nTask: Get lon from pressure where qc appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003791", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: qc, lat, type, level\n Sensor: humidity | fields: type, ts, lat, lon\nTask: Fetch level from pressure that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003792", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: level, unit, type, qc\n Sensor: wind_speed | fields: ts, depth, lon, reading\nTask: Fetch lon from frost where reading is greater than the count of of value in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003793", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: type, unit, lon, depth\n Sensor: temperature | fields: lat, type, reading, lon\nTask: Fetch reading from air_quality where reading is greater than the total of reading in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003794", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: qc, level, type, lat\n Sensor: cloud_cover | fields: value, lon, unit, qc\nTask: Get level from snow_depth where unit appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003795", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: unit, lon, reading, level\n Sensor: humidity | fields: depth, ts, unit, reading\nTask: Get reading from snow_depth where depth exceeds the total value from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003796", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, reading, unit, qc\n Sensor: cloud_cover | fields: reading, ts, depth, level\nTask: Retrieve depth from uv_index with depth above the SUM(depth) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "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_fixed_v1_val_003797", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, reading, depth, level\n Sensor: dew_point | fields: reading, type, unit, qc\nTask: Fetch reading from sunlight where depth exists in dew_point sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003798", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, depth, reading, type\n Sensor: air_quality | fields: reading, qc, depth, value\nTask: Fetch level from humidity where reading is greater than the count of of depth in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003799", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: qc, type, lon, reading\n Sensor: sunlight | fields: ts, reading, lon, unit\nTask: Get level from cloud_cover where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003800", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, reading, value, lon\n Sensor: wind_speed | fields: level, lon, depth, qc\nTask: Get reading from soil_moisture where type appears in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003801", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, reading, value, qc\n Sensor: humidity | fields: depth, type, value, lat\nTask: Get level from dew_point where type appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003802", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: unit, ts, type, qc\n Sensor: sunlight | fields: reading, qc, lon, level\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=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003803", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, level, depth, reading\n Sensor: pressure | fields: lat, qc, ts, depth\nTask: Retrieve depth 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=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003804", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lon, reading, value, lat\n Sensor: lightning | fields: value, lon, lat, type\nTask: Fetch level from temperature where depth 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=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003805", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, depth, type, level\n Sensor: visibility | fields: reading, level, lat, lon\nTask: Fetch value from soil_moisture that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003806", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, reading, value, level\n Sensor: frost | fields: lat, reading, depth, level\nTask: Fetch depth from air_quality where reading is greater than the minimum of reading in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003807", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: reading, lon, ts, depth\n Sensor: turbidity | fields: qc, reading, level, depth\nTask: Fetch level from cloud_cover where value is greater than the total of depth in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003808", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: qc, level, unit, lat\n Sensor: humidity | fields: type, lat, qc, level\nTask: Fetch depth from drought_index where ts exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003809", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, depth, lat, type\n Sensor: evaporation | fields: lon, ts, value, depth\nTask: Get depth from air_quality where depth appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003810", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: ts, unit, value, lat\n Sensor: pressure | fields: qc, unit, lat, reading\nTask: Retrieve level from snow_depth whose unit is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003811", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, qc, ts, level\n Sensor: rainfall | fields: ts, type, depth, unit\nTask: Retrieve reading from snow_depth with depth above the COUNT(reading) of rainfall 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(\"COUNT\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003812", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: depth, value, reading, unit\n Sensor: drought_index | fields: lon, value, depth, unit\nTask: Retrieve reading from evaporation with reading above the AVG(value) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003813", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: lon, value, depth, qc\n Sensor: cloud_cover | fields: lon, value, ts, qc\nTask: Fetch lon 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=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003814", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, qc, value, lon\n Sensor: temperature | fields: lon, depth, ts, value\nTask: Fetch lat from drought_index where qc exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003815", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lon, value, ts, level\n Sensor: lightning | fields: depth, reading, type, qc\nTask: Get level from temperature where type appears in lightning readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003816", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, type, depth, value\n Sensor: evaporation | fields: lon, ts, reading, level\nTask: Fetch value from wind_speed that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003817", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, lat, level, lon\n Sensor: wind_speed | fields: lat, unit, value, ts\nTask: Get lat from visibility where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003818", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: depth, reading, level, ts\n Sensor: air_quality | fields: type, level, reading, depth\nTask: Retrieve value from humidity with reading above the MIN(value) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003819", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, reading, unit, depth\n Sensor: sunlight | fields: level, unit, depth, lat\nTask: Retrieve lon from temperature whose unit is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "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_fixed_v1_val_003820", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, unit, lon, ts\n Sensor: sunlight | fields: type, qc, value, reading\nTask: Retrieve value from temperature that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003821", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, value, qc, unit\n Sensor: air_quality | fields: level, qc, value, lat\nTask: Get value from pressure where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003822", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, reading, depth, ts\n Sensor: sunlight | fields: unit, reading, type, ts\nTask: Get reading from rainfall where unit appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003823", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lon, type, unit, level\n Sensor: drought_index | fields: lat, value, qc, lon\nTask: Retrieve value from sunlight that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003824", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: ts, depth, qc, reading\n Sensor: dew_point | fields: depth, ts, lon, reading\nTask: Fetch reading from soil_moisture that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\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": "hub", "inner_alias": "cnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003825", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, unit, lon, qc\n Sensor: sunlight | fields: depth, ts, unit, level\nTask: Retrieve level from dew_point with reading above the MIN(depth) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "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_fixed_v1_val_003826", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, qc, unit, depth\n Sensor: soil_moisture | fields: type, value, unit, qc\nTask: Fetch lat from humidity where value is greater than the total of value in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003827", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: reading, depth, ts, level\n Sensor: temperature | fields: qc, ts, value, type\nTask: Fetch level from pressure where depth exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003828", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: ts, level, qc, unit\n Sensor: rainfall | fields: ts, depth, type, qc\nTask: Fetch reading from frost where depth exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003829", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, depth, qc, ts\n Sensor: pressure | fields: depth, reading, lon, qc\nTask: Fetch depth from rainfall where ts exists in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003830", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: unit, level, qc, lon\n Sensor: uv_index | fields: qc, reading, lon, value\nTask: Fetch reading from dew_point that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003831", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, level, lat, type\n Sensor: uv_index | fields: ts, type, depth, qc\nTask: Get level from soil_moisture where depth exceeds the total reading from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003832", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: qc, unit, reading, lon\n Sensor: visibility | fields: type, lon, qc, lat\nTask: Get lon from air_quality where depth exceeds the count of depth from visibility for the same depth.\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(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003833", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, unit, qc, depth\n Sensor: snow_depth | fields: lon, unit, value, qc\nTask: Retrieve value from dew_point with reading above the SUM(reading) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003834", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: type, reading, qc, lon\n Sensor: wind_speed | fields: lon, unit, qc, ts\nTask: Retrieve depth 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=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003835", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, level, lat, lon\n Sensor: soil_moisture | fields: value, lon, lat, ts\nTask: Retrieve depth from turbidity with reading above the MAX(depth) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "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_fixed_v1_val_003836", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, value, lat, depth\n Sensor: soil_moisture | fields: lon, ts, level, reading\nTask: Retrieve lat from air_quality with value above the COUNT(reading) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003837", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, lat, value, depth\n Sensor: wind_speed | fields: lon, reading, unit, depth\nTask: Get lat from soil_moisture where reading exceeds the average reading from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003838", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lon, type, ts, level\n Sensor: uv_index | fields: lon, type, depth, qc\nTask: Fetch value from temperature where depth is greater than the count of of depth in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003839", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, qc, lat, value\n Sensor: snow_depth | fields: reading, lon, type, depth\nTask: Get level from lightning where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003840", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, reading, qc, type\n Sensor: pressure | fields: lat, type, depth, reading\nTask: Get lat from evaporation where reading exceeds the total value from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003841", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: unit, level, qc, value\n Sensor: pressure | fields: lat, type, level, depth\nTask: Retrieve lon from turbidity with depth above the MIN(depth) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003842", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: type, lat, level, value\n Sensor: cloud_cover | fields: level, unit, depth, type\nTask: Retrieve reading from temperature whose qc is found in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003843", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: value, lat, ts, type\n Sensor: lightning | fields: unit, ts, reading, lon\nTask: Fetch depth from sunlight where depth is greater than the count of of value in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003844", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, unit, reading, type\n Sensor: visibility | fields: type, unit, qc, ts\nTask: Retrieve lon from dew_point that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003845", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, value, ts, unit\n Sensor: frost | fields: depth, reading, type, lat\nTask: Fetch level from pressure where value is greater than the count of of value in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003846", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, qc, value, unit\n Sensor: frost | fields: depth, qc, ts, value\nTask: Fetch reading from wind_speed where reading is greater than the average of reading in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003847", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lat, level, qc, lon\n Sensor: frost | fields: qc, reading, depth, lat\nTask: Fetch level from snow_depth where value is greater than the total of value in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003848", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: depth, reading, qc, type\n Sensor: cloud_cover | fields: unit, lat, reading, value\nTask: Retrieve lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003849", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: ts, lon, depth, reading\n Sensor: sunlight | fields: qc, value, lat, reading\nTask: Retrieve reading from dew_point that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003850", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, lat, type, level\n Sensor: wind_speed | fields: level, reading, qc, type\nTask: Get lon from soil_moisture where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003851", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lat, level, ts, lon\n Sensor: humidity | fields: depth, ts, type, value\nTask: Get lon from lightning where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003852", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lat, depth, value, type\n Sensor: humidity | fields: qc, unit, type, reading\nTask: Retrieve lon from sunlight with depth above the MIN(value) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003853", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, unit, value, reading\n Sensor: sunlight | fields: depth, ts, value, lon\nTask: Fetch level from lightning where depth is greater than the average of depth in sunlight for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "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_fixed_v1_val_003854", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: ts, depth, reading, lon\n Sensor: uv_index | fields: level, reading, value, depth\nTask: Get level from wind_speed where type appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003855", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: depth, ts, lon, value\n Sensor: air_quality | fields: lon, depth, lat, unit\nTask: Get depth from wind_speed where unit appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003856", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: type, level, unit, reading\n Sensor: evaporation | fields: ts, reading, value, depth\nTask: Fetch lat from dew_point where unit exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003857", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, ts, depth, lat\n Sensor: humidity | fields: depth, lon, level, ts\nTask: Get lat from dew_point where reading exceeds the total value from humidity for the same 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(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003858", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, lat, lon, level\n Sensor: dew_point | fields: lon, ts, qc, unit\nTask: Retrieve level from turbidity with reading above the MIN(reading) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003859", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: level, value, type, qc\n Sensor: lightning | fields: value, ts, type, level\nTask: Retrieve lon from drought_index with reading above the AVG(depth) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003860", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, depth, value, reading\n Sensor: soil_moisture | fields: qc, lat, type, ts\nTask: Retrieve lat from dew_point with reading above the COUNT(reading) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003861", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, reading, value, type\n Sensor: temperature | fields: unit, lon, value, type\nTask: Get lat from evaporation where unit appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003862", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, value, depth, ts\n Sensor: soil_moisture | fields: lon, unit, type, lat\nTask: Retrieve value from air_quality that have at least one matching reading in soil_moisture sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003863", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: qc, depth, lon, lat\n Sensor: visibility | fields: reading, ts, level, unit\nTask: Retrieve reading from rainfall that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003864", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, level, lat, lon\n Sensor: cloud_cover | fields: lon, level, depth, reading\nTask: Get lat from sunlight where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003865", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: type, lon, value, unit\n Sensor: soil_moisture | fields: ts, lon, reading, unit\nTask: Get reading from dew_point where qc appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003866", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, qc, type, unit\n Sensor: drought_index | fields: reading, unit, value, lat\nTask: Retrieve depth from air_quality that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003867", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, reading, depth, level\n Sensor: turbidity | fields: level, depth, type, ts\nTask: Retrieve lon 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=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003868", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: type, lon, level, lat\n Sensor: uv_index | fields: reading, level, unit, qc\nTask: Fetch lat from temperature that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003869", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, qc, lat, type\n Sensor: lightning | fields: lat, unit, reading, qc\nTask: Get value from rainfall where reading exceeds the maximum value from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003870", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: type, reading, ts, depth\n Sensor: turbidity | fields: lat, depth, value, type\nTask: Retrieve reading from frost whose type is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003871", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: depth, type, qc, unit\n Sensor: rainfall | fields: lon, type, ts, qc\nTask: Get level from temperature where qc appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003872", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: qc, value, level, reading\n Sensor: humidity | fields: depth, ts, unit, lon\nTask: Fetch lat from lightning that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003873", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: ts, reading, value, lon\n Sensor: drought_index | fields: unit, lon, level, depth\nTask: Fetch reading from dew_point that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003874", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lat, depth, lon, ts\n Sensor: lightning | fields: qc, ts, level, value\nTask: Retrieve reading from frost with value above the AVG(reading) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003875", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, reading, lon, ts\n Sensor: cloud_cover | fields: reading, lat, type, qc\nTask: Get reading from frost where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003876", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, depth, lat, reading\n Sensor: sunlight | fields: level, type, lat, qc\nTask: Fetch lon from frost where type exists in sunlight sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003877", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: level, reading, value, ts\n Sensor: evaporation | fields: type, ts, reading, value\nTask: Fetch depth from humidity where type exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003878", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, lat, type, depth\n Sensor: lightning | fields: depth, qc, ts, level\nTask: Fetch value from rainfall where reading is greater than the total of value in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003879", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: qc, ts, lat, unit\n Sensor: lightning | fields: qc, depth, lat, lon\nTask: Retrieve depth from temperature that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003880", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: unit, reading, value, qc\n Sensor: dew_point | fields: lat, lon, type, reading\nTask: Retrieve lat from humidity with depth above the AVG(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003881", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: ts, unit, level, reading\n Sensor: temperature | fields: value, ts, type, lat\nTask: Retrieve level from cloud_cover whose unit is found in temperature records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003882", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: level, unit, qc, lat\n Sensor: turbidity | fields: reading, type, ts, value\nTask: Fetch depth from sunlight where depth is greater than the average of value in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003883", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: type, unit, level, lat\n Sensor: evaporation | fields: depth, level, qc, unit\nTask: Get depth 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=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003884", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: ts, unit, type, lat\n Sensor: air_quality | fields: lon, unit, reading, depth\nTask: Get lon from drought_index where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003885", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, depth, lon, ts\n Sensor: snow_depth | fields: depth, lat, value, qc\nTask: Fetch depth from turbidity where value is greater than the count of of depth in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003886", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, value, depth, lat\n Sensor: lightning | fields: qc, depth, lon, level\nTask: Get lat from temperature where value exceeds the average value from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003887", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, type, depth, lat\n Sensor: temperature | fields: lon, level, value, lat\nTask: Retrieve depth 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=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003888", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, value, lon, ts\n Sensor: cloud_cover | fields: value, ts, qc, lon\nTask: Fetch reading from humidity where reading is greater than the maximum of depth in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003889", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: level, lat, lon, reading\n Sensor: wind_speed | fields: value, depth, qc, reading\nTask: Retrieve depth from lightning that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003890", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, unit, lat, type\n Sensor: cloud_cover | fields: reading, depth, 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=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003891", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, depth, lat, reading\n Sensor: uv_index | fields: reading, qc, type, depth\nTask: Fetch lon from humidity that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003892", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, lat, type, reading\n Sensor: temperature | fields: reading, unit, level, depth\nTask: Get lat from dew_point where depth exceeds the total value from temperature for the same ts.\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(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003893", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: unit, level, type, lon\n Sensor: evaporation | fields: reading, value, ts, qc\nTask: Fetch value from drought_index where depth is greater than the average of value in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003894", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lat, value, qc, lon\n Sensor: air_quality | fields: reading, level, ts, lon\nTask: Retrieve level from turbidity whose qc is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003895", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: qc, unit, lon, level\n Sensor: dew_point | fields: qc, lon, unit, level\nTask: Retrieve reading from drought_index with value above the MAX(value) of dew_point readings sharing the same unit.\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(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003896", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: reading, lat, depth, value\n Sensor: drought_index | fields: level, qc, reading, unit\nTask: Fetch lat from evaporation where depth is greater than the minimum of value in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\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": "evaporation", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003897", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, unit, qc, type\n Sensor: frost | fields: type, ts, level, value\nTask: Retrieve level from drought_index whose ts is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003898", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, unit, reading, lon\n Sensor: frost | fields: qc, ts, depth, lat\nTask: Get lon from drought_index where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003899", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: reading, type, unit, value\n Sensor: air_quality | fields: unit, lat, ts, qc\nTask: Fetch depth from frost where value is greater than the maximum of reading in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "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_fixed_v1_val_003900", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, level, lat, type\n Sensor: air_quality | fields: lat, lon, reading, value\nTask: Retrieve depth from humidity with value above the COUNT(reading) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003901", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, level, lat, qc\n Sensor: rainfall | fields: lat, level, lon, ts\nTask: Get reading from uv_index where ts appears in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003902", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: unit, value, ts, lon\n Sensor: evaporation | fields: lon, unit, ts, value\nTask: Fetch value 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=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003903", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: unit, type, depth, value\n Sensor: humidity | fields: level, unit, qc, reading\nTask: Retrieve lat from drought_index whose qc is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003904", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, lon, ts, type\n Sensor: air_quality | fields: qc, depth, unit, value\nTask: Retrieve lat from frost with reading above the SUM(depth) of air_quality readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003905", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, qc, ts, reading\n Sensor: air_quality | fields: reading, lon, value, lat\nTask: Retrieve lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003906", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: qc, depth, unit, value\n Sensor: evaporation | fields: reading, depth, unit, ts\nTask: Retrieve depth from visibility with depth above the COUNT(depth) of evaporation readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "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_fixed_v1_val_003907", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lon, unit, qc, reading\n Sensor: temperature | fields: depth, reading, ts, unit\nTask: Get reading from snow_depth where ts appears in temperature 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(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003908", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: value, qc, reading, lat\n Sensor: turbidity | fields: unit, ts, value, qc\nTask: Fetch lat from frost where type exists in turbidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003909", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, depth, lat, type\n Sensor: pressure | fields: reading, ts, unit, lon\nTask: Retrieve lon from sunlight with depth above the SUM(value) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003910", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: qc, type, level, value\n Sensor: visibility | fields: lat, lon, reading, qc\nTask: Retrieve level from humidity whose type is found in visibility records where ts 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=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003911", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lat, type, lon, depth\n Sensor: drought_index | fields: lon, reading, lat, level\nTask: Get level from temperature where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003912", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, level, lat, value\n Sensor: dew_point | fields: depth, reading, type, unit\nTask: Fetch reading from air_quality that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003913", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: level, lon, unit, depth\n Sensor: humidity | fields: qc, reading, ts, lat\nTask: Fetch lat from rainfall where qc exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003914", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, reading, lat, ts\n Sensor: cloud_cover | fields: lat, unit, lon, depth\nTask: Get level from turbidity where depth exceeds the average value from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003915", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: lon, value, depth, qc\n Sensor: drought_index | fields: type, qc, lon, value\nTask: Get reading from lightning where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003916", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: type, depth, qc, unit\n Sensor: frost | fields: level, lon, depth, ts\nTask: Fetch reading from soil_moisture where reading is greater than the average of reading in frost for matching qc.\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(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003917", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: depth, unit, lon, reading\n Sensor: frost | fields: reading, qc, depth, value\nTask: Retrieve lon from lightning with reading above the MIN(value) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003918", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, lat, depth, reading\n Sensor: visibility | fields: lat, level, type, depth\nTask: Get lon from humidity where ts appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003919", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lon, lat, value, type\n Sensor: rainfall | fields: ts, type, depth, level\nTask: Fetch value from cloud_cover where value is greater than the minimum of reading in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003920", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: depth, unit, type, level\n Sensor: pressure | fields: depth, qc, lat, type\nTask: Retrieve level 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=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003921", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: level, lat, reading, lon\n Sensor: temperature | fields: reading, depth, lon, qc\nTask: Fetch lat from pressure that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003922", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: value, level, depth, type\n Sensor: frost | fields: unit, value, level, ts\nTask: Retrieve lat from turbidity whose depth is found in frost 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(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003923", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, unit, reading, lat\n Sensor: lightning | fields: value, level, ts, lat\nTask: Get level from uv_index where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003924", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, reading, depth, value\n Sensor: cloud_cover | fields: qc, value, depth, lon\nTask: Retrieve lon from sunlight with value above the COUNT(reading) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003925", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: level, lat, reading, lon\n Sensor: humidity | fields: depth, type, lon, lat\nTask: Retrieve depth from snow_depth whose type is found in humidity records where type 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(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003926", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: level, value, reading, ts\n Sensor: uv_index | fields: ts, type, qc, lon\nTask: Fetch lat from snow_depth that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003927", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: value, lat, level, type\n Sensor: turbidity | fields: reading, type, depth, lat\nTask: Fetch depth from drought_index that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003928", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: level, ts, qc, lat\n Sensor: air_quality | fields: ts, lat, value, reading\nTask: Retrieve depth from visibility whose qc is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003929", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, unit, qc, value\n Sensor: temperature | fields: level, lon, type, ts\nTask: Retrieve reading from rainfall that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003930", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: level, lat, qc, ts\n Sensor: cloud_cover | fields: depth, lon, type, lat\nTask: Get reading from visibility where unit appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003931", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lon, ts, level, reading\n Sensor: rainfall | fields: value, reading, level, depth\nTask: Retrieve value from dew_point with depth above the MIN(reading) of rainfall 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(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003932", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: depth, lat, value, unit\n Sensor: rainfall | fields: reading, qc, level, lat\nTask: Retrieve reading from uv_index with reading above the MAX(value) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003933", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: unit, type, reading, level\n Sensor: wind_speed | fields: reading, depth, level, value\nTask: Fetch level 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=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003934", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, depth, lat, value\n Sensor: snow_depth | fields: depth, level, lon, unit\nTask: Retrieve reading from uv_index that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003935", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lat, unit, value, level\n Sensor: pressure | fields: value, level, lat, unit\nTask: Get level from lightning where reading exceeds the count of value from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003936", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: type, qc, lon, level\n Sensor: temperature | fields: value, depth, lat, qc\nTask: Get lat from air_quality where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003937", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, value, ts, lat\n Sensor: lightning | fields: lon, depth, ts, lat\nTask: Retrieve lat from dew_point with value above the MIN(value) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003938", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: ts, type, value, lat\n Sensor: wind_speed | fields: reading, value, unit, lon\nTask: Fetch level from rainfall that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003939", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: qc, depth, type, reading\n Sensor: snow_depth | fields: lon, type, depth, reading\nTask: Fetch value from uv_index where value is greater than the total of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003940", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, unit, reading, lat\n Sensor: turbidity | fields: depth, unit, lon, lat\nTask: Retrieve level from visibility that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003941", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, level, value, type\n Sensor: visibility | fields: type, lon, qc, ts\nTask: Fetch reading from evaporation where value is greater than the minimum of value in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003942", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: qc, lat, unit, reading\n Sensor: lightning | fields: ts, reading, level, qc\nTask: Retrieve lon from pressure that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003943", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, qc, value, reading\n Sensor: frost | fields: type, unit, lon, qc\nTask: Fetch level from wind_speed where reading is greater than the count of of value in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003944", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: ts, unit, type, value\n Sensor: temperature | fields: lat, reading, lon, level\nTask: Fetch lat from snow_depth where depth exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003945", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, value, level, qc\n Sensor: drought_index | fields: qc, reading, lat, level\nTask: Get depth from lightning where ts appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003946", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, value, lat, qc\n Sensor: humidity | fields: ts, lat, qc, value\nTask: Get level from rainfall where type appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003947", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: type, lon, ts, reading\n Sensor: snow_depth | fields: value, type, reading, lat\nTask: Get level from wind_speed where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003948", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: unit, qc, reading, ts\n Sensor: wind_speed | fields: reading, depth, unit, lon\nTask: Retrieve value from sunlight with depth above the MAX(reading) of wind_speed readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003949", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, qc, unit, reading\n Sensor: wind_speed | fields: lat, level, ts, value\nTask: Fetch value from pressure where type exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003950", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, level, lon, unit\n Sensor: frost | fields: depth, unit, ts, lat\nTask: Fetch value from humidity where depth is greater than the minimum of depth in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\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": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003951", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, reading, lat, lon\n Sensor: frost | fields: reading, lon, value, unit\nTask: Fetch lon 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=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003952", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: type, ts, lon, unit\n Sensor: cloud_cover | fields: unit, lon, type, level\nTask: Get reading from visibility where reading exceeds the total depth from cloud_cover for 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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003953", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: value, lon, level, unit\n Sensor: cloud_cover | fields: ts, lon, depth, level\nTask: Fetch depth from pressure where reading is greater than the total of depth in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003954", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lon, qc, reading, lat\n Sensor: temperature | fields: qc, depth, lon, unit\nTask: Retrieve reading from cloud_cover that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003955", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, reading, level, qc\n Sensor: rainfall | fields: lat, type, ts, lon\nTask: Get value from turbidity where depth appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003956", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: level, lon, lat, value\n Sensor: lightning | fields: level, lon, reading, ts\nTask: Retrieve value from humidity that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003957", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: level, depth, unit, lat\n Sensor: snow_depth | fields: lon, lat, ts, level\nTask: Fetch reading from temperature where value is greater than the average of depth in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "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_fixed_v1_val_003958", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: unit, lat, reading, level\n Sensor: visibility | fields: unit, reading, qc, ts\nTask: Fetch depth from cloud_cover where reading is greater than the minimum of reading in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003959", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: qc, ts, reading, depth\n Sensor: turbidity | fields: depth, level, type, qc\nTask: Retrieve level from humidity with reading above the COUNT(value) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003960", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: value, lon, lat, level\n Sensor: air_quality | fields: unit, type, level, qc\nTask: Fetch lat 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=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003961", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lon, type, depth, ts\n Sensor: visibility | fields: ts, lon, reading, lat\nTask: Retrieve lon from frost that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003962", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lat, type, lon, ts\n Sensor: drought_index | fields: reading, qc, type, lat\nTask: Get depth from rainfall where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003963", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: level, qc, lon, reading\n Sensor: sunlight | fields: type, qc, lon, ts\nTask: Retrieve value from drought_index that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003964", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, depth, ts, lon\n Sensor: wind_speed | fields: lon, reading, value, depth\nTask: Retrieve reading from frost whose depth is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003965", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, value, qc, reading\n Sensor: humidity | fields: lon, type, value, lat\nTask: Get reading from sunlight where qc appears in humidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003966", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: reading, lon, value, ts\n Sensor: pressure | fields: value, ts, type, unit\nTask: Get value from soil_moisture where depth exceeds the maximum reading from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003967", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: level, lat, unit, depth\n Sensor: uv_index | fields: qc, level, unit, reading\nTask: Fetch value from lightning that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003968", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: type, ts, depth, unit\n Sensor: visibility | fields: reading, lat, value, type\nTask: Retrieve reading from sunlight with value above the AVG(value) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003969", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, qc, unit, reading\n Sensor: snow_depth | fields: level, value, reading, type\nTask: Get lat from humidity where unit appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\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": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003970", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, reading, lat, level\n Sensor: dew_point | fields: lon, ts, depth, type\nTask: Retrieve depth from humidity whose depth is found in dew_point records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003971", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, ts, depth, reading\n Sensor: uv_index | fields: depth, ts, type, level\nTask: Get reading from temperature where reading exceeds the average depth from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003972", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, depth, lon, ts\n Sensor: drought_index | fields: ts, lat, qc, reading\nTask: Get value from soil_moisture where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003973", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, lat, reading, depth\n Sensor: soil_moisture | fields: unit, ts, depth, level\nTask: Get lat from wind_speed where unit appears in soil_moisture 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(\"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", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003974", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: unit, type, depth, lon\n Sensor: air_quality | fields: level, type, value, depth\nTask: Get level from cloud_cover where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003975", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: qc, lat, unit, level\n Sensor: turbidity | fields: lat, value, qc, unit\nTask: Get lon from drought_index where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003976", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: depth, type, value, lon\n Sensor: drought_index | fields: value, unit, lat, ts\nTask: Fetch level from visibility where type exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003977", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, reading, level, type\n Sensor: frost | fields: reading, unit, qc, ts\nTask: Get value from soil_moisture where depth exceeds the total value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003978", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, unit, reading, lon\n Sensor: temperature | fields: ts, depth, lat, reading\nTask: Retrieve depth from visibility that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003979", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: type, lon, unit, reading\n Sensor: humidity | fields: qc, ts, value, level\nTask: Retrieve level from visibility whose qc is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003980", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: lon, reading, lat, ts\n Sensor: snow_depth | fields: ts, level, qc, lon\nTask: Retrieve level from lightning that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003981", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: value, level, reading, type\n Sensor: air_quality | fields: level, ts, unit, qc\nTask: Get lon from lightning where type appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003982", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: type, ts, lon, lat\n Sensor: turbidity | fields: lat, type, ts, qc\nTask: Get lon from snow_depth where depth exceeds the maximum value from turbidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003983", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, reading, type, qc\n Sensor: air_quality | fields: type, level, lon, reading\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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003984", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, level, unit, value\n Sensor: rainfall | fields: depth, ts, lat, value\nTask: Retrieve lon from temperature with value above the SUM(reading) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003985", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, value, level, qc\n Sensor: pressure | fields: level, ts, type, lon\nTask: Retrieve level from lightning that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003986", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: unit, depth, value, reading\n Sensor: wind_speed | fields: level, qc, ts, value\nTask: Get reading from rainfall where reading exceeds the average value from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003987", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, type, lon, ts\n Sensor: dew_point | fields: level, lon, type, value\nTask: Get reading from rainfall where type appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003988", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: type, reading, lon, ts\n Sensor: visibility | fields: reading, level, type, qc\nTask: Fetch depth from turbidity where unit exists in visibility 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(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003989", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, ts, value, unit\n Sensor: sunlight | fields: qc, lat, depth, type\nTask: Retrieve level from air_quality that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003990", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, unit, lat, qc\n Sensor: uv_index | fields: unit, depth, type, level\nTask: Fetch lon from lightning where depth is greater than the total of value in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003991", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lat, lon, value, unit\n Sensor: frost | fields: level, type, ts, unit\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=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003992", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lon, type, level, value\n Sensor: temperature | fields: unit, ts, reading, value\nTask: Get depth from humidity where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003993", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: reading, depth, ts, level\n Sensor: cloud_cover | fields: lat, qc, reading, unit\nTask: Fetch value from sunlight where unit exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003994", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, level, lon, qc\n Sensor: lightning | fields: reading, unit, lat, value\nTask: Retrieve lat from sunlight whose type is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003995", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lon, ts, lat, level\n Sensor: air_quality | fields: lat, ts, type, lon\nTask: Retrieve value from humidity with depth above the SUM(reading) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003996", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: reading, qc, lat, value\n Sensor: evaporation | fields: qc, type, depth, unit\nTask: Retrieve lat from frost with reading above the MAX(reading) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003997", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, ts, lon, level\n Sensor: soil_moisture | fields: lon, value, unit, depth\nTask: Get reading from sunlight where qc appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_003998", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, lon, depth, value\n Sensor: temperature | fields: type, qc, lat, level\nTask: Fetch reading from rainfall where reading is greater than the maximum of value in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_003999", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: level, qc, unit, value\n Sensor: turbidity | fields: reading, ts, lat, qc\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=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004000", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, value, unit, qc\n Sensor: dew_point | fields: ts, reading, lat, depth\nTask: Fetch level from cloud_cover where value is greater than the count of of value in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004001", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: value, lat, depth, lon\n Sensor: frost | fields: reading, unit, depth, value\nTask: Retrieve depth from lightning whose qc is found in frost 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(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004002", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: unit, depth, value, lon\n Sensor: drought_index | fields: value, unit, reading, ts\nTask: Retrieve lat from sunlight with value above the SUM(reading) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004003", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: type, level, value, lat\n Sensor: pressure | fields: unit, lon, depth, reading\nTask: Get level from drought_index where type appears in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004004", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: value, level, depth, ts\n Sensor: uv_index | fields: unit, lat, value, qc\nTask: Retrieve reading from rainfall with value above the COUNT(depth) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004005", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, depth, lat, level\n Sensor: air_quality | fields: unit, ts, type, level\nTask: Fetch value from uv_index where depth is greater than the average of reading in air_quality for matching type.\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(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "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_fixed_v1_val_004006", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: depth, qc, value, unit\n Sensor: snow_depth | fields: ts, unit, level, type\nTask: Retrieve lon from rainfall with value above the MAX(reading) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004007", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, qc, depth, level\n Sensor: snow_depth | fields: level, qc, lat, value\nTask: Get level from temperature where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004008", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: type, level, value, ts\n Sensor: drought_index | fields: type, lon, depth, reading\nTask: Fetch level from frost that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004009", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: type, lat, unit, ts\n Sensor: lightning | fields: level, depth, lon, value\nTask: Fetch level from humidity that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004010", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: type, reading, lat, value\n Sensor: visibility | fields: level, lon, value, lat\nTask: Retrieve reading from drought_index whose type is found in visibility records where type 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(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004011", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: ts, qc, lon, depth\n Sensor: evaporation | fields: qc, lon, level, type\nTask: Retrieve reading from temperature whose unit is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004012", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: value, unit, type, ts\n Sensor: frost | fields: level, lon, reading, unit\nTask: Fetch lon from drought_index that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004013", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, type, ts, value\n Sensor: soil_moisture | fields: qc, ts, unit, type\nTask: Get depth from lightning where type appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004014", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, level, lon, depth\n Sensor: evaporation | fields: qc, type, depth, ts\nTask: Retrieve lon from frost that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004015", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, unit, qc, reading\n Sensor: cloud_cover | fields: lat, lon, value, depth\nTask: Retrieve depth from snow_depth with depth above the MIN(reading) of cloud_cover 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(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004016", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, type, lat, reading\n Sensor: visibility | fields: lon, reading, depth, qc\nTask: Get value from frost where depth appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004017", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: ts, type, depth, unit\n Sensor: wind_speed | fields: value, lat, reading, depth\nTask: Fetch depth from sunlight where reading is greater than the total of depth in wind_speed for matching 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(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004018", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, type, level, value\n Sensor: drought_index | fields: lat, value, lon, ts\nTask: Retrieve reading from soil_moisture that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004019", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, lat, reading, ts\n Sensor: evaporation | fields: reading, value, ts, depth\nTask: Get lat from drought_index where qc appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004020", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, lon, type, level\n Sensor: pressure | fields: type, lon, depth, reading\nTask: Fetch reading from drought_index where type exists in pressure sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "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_fixed_v1_val_004021", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, type, unit, qc\n Sensor: drought_index | fields: unit, level, ts, lon\nTask: Get depth from turbidity where depth exceeds the count of value from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004022", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: qc, type, reading, unit\n Sensor: turbidity | fields: lon, unit, lat, type\nTask: Fetch level from sunlight where depth exists in turbidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004023", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, depth, type, ts\n Sensor: dew_point | fields: level, value, ts, lon\nTask: Retrieve value 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=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004024", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, lat, reading, depth\n Sensor: sunlight | fields: depth, ts, lat, lon\nTask: Retrieve lon from dew_point whose type is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004025", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: qc, level, ts, unit\n Sensor: rainfall | fields: ts, depth, unit, level\nTask: Retrieve value from air_quality with value above the COUNT(depth) of rainfall 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\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004026", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: level, lon, lat, qc\n Sensor: wind_speed | fields: level, qc, unit, ts\nTask: Fetch level from visibility that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004027", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, depth, qc, lon\n Sensor: soil_moisture | fields: unit, lon, level, ts\nTask: Retrieve value from turbidity whose depth is found in soil_moisture records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004028", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, lon, ts, lat\n Sensor: lightning | fields: depth, unit, value, lon\nTask: Fetch level from temperature that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004029", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: unit, type, level, lon\n Sensor: frost | fields: level, depth, unit, lat\nTask: Retrieve lon 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=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004030", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: ts, depth, qc, lon\n Sensor: frost | fields: lat, level, depth, ts\nTask: Fetch lat from sunlight that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004031", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: depth, ts, type, lat\n Sensor: temperature | fields: value, qc, ts, level\nTask: Fetch depth from wind_speed where depth is greater than the total of depth in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004032", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, depth, type, level\n Sensor: pressure | fields: lat, qc, level, depth\nTask: Fetch reading from drought_index where depth exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004033", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, qc, reading, ts\n Sensor: visibility | fields: lon, lat, reading, type\nTask: Retrieve depth from temperature whose depth is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004034", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, value, level, lon\n Sensor: turbidity | fields: reading, depth, value, lon\nTask: Get lon from temperature where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004035", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: type, ts, level, qc\n Sensor: rainfall | fields: qc, lat, depth, level\nTask: Get lon from dew_point where depth exceeds the maximum depth from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004036", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: level, ts, lon, type\n Sensor: frost | fields: depth, type, level, reading\nTask: Get lon from air_quality where depth exceeds the minimum reading from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004037", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: level, unit, lon, depth\n Sensor: snow_depth | fields: unit, level, value, lat\nTask: Retrieve value from frost that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004038", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: value, type, lat, unit\n Sensor: wind_speed | fields: ts, unit, qc, lat\nTask: Get value from evaporation where ts appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "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_fixed_v1_val_004039", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: level, ts, qc, lat\n Sensor: air_quality | fields: depth, type, level, value\nTask: Retrieve lon from rainfall with depth above the MIN(reading) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004040", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, type, value, lat\n Sensor: uv_index | fields: depth, ts, type, reading\nTask: Retrieve lat from humidity with depth above the MIN(reading) of uv_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004041", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: depth, ts, reading, qc\n Sensor: rainfall | fields: ts, level, lat, depth\nTask: Get lat from dew_point where type appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004042", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: ts, depth, type, lon\n Sensor: soil_moisture | fields: level, depth, lon, value\nTask: Fetch depth from lightning where reading is greater than the total of value in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004043", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: qc, lat, depth, type\n Sensor: visibility | fields: lon, level, depth, reading\nTask: Fetch value from dew_point where reading is greater than the minimum of depth in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004044", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: level, unit, depth, lat\n Sensor: drought_index | fields: type, lon, value, depth\nTask: Get value from cloud_cover where reading exceeds the count of depth from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004045", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: qc, lat, value, depth\n Sensor: evaporation | fields: unit, lon, level, depth\nTask: Fetch lat from wind_speed where ts exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004046", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: depth, type, ts, lon\n Sensor: dew_point | fields: ts, type, value, qc\nTask: Fetch reading from pressure where ts exists in dew_point sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004047", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: value, lat, reading, lon\n Sensor: air_quality | fields: ts, depth, type, level\nTask: Get value from evaporation where depth exceeds the total reading from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004048", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, type, value, reading\n Sensor: frost | fields: value, level, lon, lat\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=\"prt\"),\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": "prt", "inner_alias": "frs", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004049", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: ts, value, reading, type\n Sensor: visibility | fields: value, reading, depth, qc\nTask: Retrieve lon from cloud_cover whose depth is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004050", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, lon, level, lat\n Sensor: pressure | fields: lon, qc, depth, type\nTask: Get depth from evaporation where unit appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004051", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, lat, ts, lon\n Sensor: lightning | fields: value, type, depth, unit\nTask: Retrieve lat 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=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004052", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: ts, unit, type, depth\n Sensor: dew_point | fields: ts, value, type, level\nTask: Retrieve reading from visibility with depth above the AVG(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004053", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, ts, type, depth\n Sensor: cloud_cover | fields: ts, unit, level, depth\nTask: Get depth from evaporation where unit appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004054", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, type, unit, lon\n Sensor: soil_moisture | fields: value, unit, ts, type\nTask: Fetch lon from frost that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004055", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: qc, value, ts, level\n Sensor: drought_index | fields: ts, depth, type, lon\nTask: Fetch level from snow_depth where reading is greater than the total of value in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004056", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, level, lat, lon\n Sensor: uv_index | fields: depth, lat, ts, unit\nTask: Get lon from visibility where value exceeds the count of reading from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\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": "ref", "inner_alias": "flx", "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_fixed_v1_val_004057", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: depth, level, lat, unit\n Sensor: wind_speed | fields: value, ts, reading, level\nTask: Retrieve level from rainfall that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004058", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, unit, ts, lat\n Sensor: dew_point | fields: lon, ts, level, lat\nTask: Get value from sunlight where value exceeds the count of reading from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004059", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: depth, unit, qc, lat\n Sensor: air_quality | fields: reading, level, ts, qc\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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004060", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lat, depth, lon, reading\n Sensor: lightning | fields: lon, depth, type, lat\nTask: Get value from pressure where unit appears in lightning readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004061", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: level, unit, qc, type\n Sensor: soil_moisture | fields: lat, level, depth, qc\nTask: Fetch depth from lightning that have at least one corresponding soil_moisture measurement for 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=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004062", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, ts, lat, reading\n Sensor: cloud_cover | fields: level, lon, type, qc\nTask: Retrieve lon from uv_index with depth above the AVG(value) of cloud_cover readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004063", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: qc, unit, ts, type\n Sensor: drought_index | fields: ts, lat, lon, depth\nTask: Fetch lat from cloud_cover where depth exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004064", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, unit, lat, qc\n Sensor: drought_index | fields: qc, reading, ts, lon\nTask: Get lat from snow_depth where ts appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004065", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lon, level, qc, ts\n Sensor: evaporation | fields: depth, ts, qc, lat\nTask: Retrieve reading from lightning whose type is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004066", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, reading, level, lon\n Sensor: frost | fields: type, unit, reading, value\nTask: Get lat from cloud_cover where value exceeds the maximum depth from frost for the same type.\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(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004067", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lat, ts, reading, value\n Sensor: turbidity | fields: qc, reading, level, unit\nTask: Retrieve lon from temperature that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004068", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, lon, type, depth\n Sensor: dew_point | fields: type, lon, ts, level\nTask: Get depth from snow_depth where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004069", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, qc, depth, type\n Sensor: turbidity | fields: qc, level, depth, type\nTask: Fetch reading from pressure where reading is greater than the total of reading in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004070", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: depth, level, reading, lon\n Sensor: drought_index | fields: lat, unit, type, qc\nTask: Retrieve lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004071", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, unit, qc, ts\n Sensor: lightning | fields: lat, qc, type, unit\nTask: Get level from pressure where depth appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004072", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: unit, ts, reading, depth\n Sensor: air_quality | fields: lat, level, lon, value\nTask: Get value from sunlight where type appears in air_quality readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004073", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: type, unit, ts, depth\n Sensor: pressure | fields: unit, type, level, value\nTask: Get reading from humidity where type appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004074", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lon, level, qc, depth\n Sensor: sunlight | fields: lon, level, type, ts\nTask: Get lat from turbidity where reading exceeds the maximum reading from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "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_fixed_v1_val_004075", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, unit, depth, lon\n Sensor: soil_moisture | fields: lon, ts, type, reading\nTask: Retrieve level from wind_speed whose qc is found in soil_moisture records where unit 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=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004076", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: depth, value, lat, unit\n Sensor: pressure | fields: unit, ts, lon, depth\nTask: Retrieve value from sunlight whose depth is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004077", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: qc, lat, level, reading\n Sensor: pressure | fields: lon, level, reading, type\nTask: Retrieve reading from dew_point that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004078", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, type, qc, lon\n Sensor: sunlight | fields: level, unit, lat, lon\nTask: Get depth from uv_index where depth appears in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004079", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, ts, value, level\n Sensor: snow_depth | fields: lon, depth, level, qc\nTask: Retrieve depth from wind_speed that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004080", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, qc, value, reading\n Sensor: uv_index | fields: qc, lon, level, unit\nTask: Get lon from temperature where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004081", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, qc, type, ts\n Sensor: turbidity | fields: lon, qc, level, value\nTask: Retrieve depth from air_quality that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004082", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: type, reading, ts, lat\n Sensor: wind_speed | fields: level, qc, unit, type\nTask: Get depth from frost where unit appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004083", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: type, qc, unit, reading\n Sensor: cloud_cover | fields: lon, type, depth, reading\nTask: Retrieve lon from soil_moisture with depth above the SUM(reading) of cloud_cover readings sharing the same type.\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(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004084", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, type, unit, qc\n Sensor: snow_depth | fields: type, reading, ts, level\nTask: Get level from evaporation where depth exceeds the count of value from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\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": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004085", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, ts, value, lon\n Sensor: frost | fields: type, reading, unit, level\nTask: Get depth from turbidity where unit appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004086", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: value, lat, depth, unit\n Sensor: wind_speed | fields: type, reading, depth, lon\nTask: Get lon from uv_index where depth exceeds the total reading from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004087", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: type, reading, qc, value\n Sensor: visibility | fields: lon, ts, value, depth\nTask: Fetch depth from soil_moisture where value is greater than the average of depth in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004088", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lon, type, ts, unit\n Sensor: humidity | fields: qc, type, depth, value\nTask: Get reading from uv_index where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004089", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: depth, ts, type, lon\n Sensor: sunlight | fields: lat, ts, depth, value\nTask: Retrieve lat from uv_index whose ts is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004090", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, level, lat, unit\n Sensor: cloud_cover | fields: level, lat, value, ts\nTask: Fetch value from uv_index where ts exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004091", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lat, reading, qc, value\n Sensor: temperature | fields: unit, ts, lon, depth\nTask: Get lat from rainfall where depth exceeds the count of value from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004092", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: qc, depth, lon, value\n Sensor: wind_speed | fields: unit, lon, level, ts\nTask: Fetch level from soil_moisture that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004093", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lon, qc, level, depth\n Sensor: rainfall | fields: qc, lon, reading, type\nTask: Retrieve value from visibility whose ts is found in rainfall records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004094", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: unit, type, lat, ts\n Sensor: uv_index | fields: reading, value, ts, level\nTask: Retrieve depth from turbidity that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004095", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: value, qc, type, lat\n Sensor: humidity | fields: depth, reading, type, ts\nTask: Get lon from lightning where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004096", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, qc, type, lat\n Sensor: visibility | fields: lat, ts, type, level\nTask: Fetch lon from turbidity that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004097", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: unit, value, type, level\n Sensor: rainfall | fields: unit, depth, type, lat\nTask: Retrieve lon from sunlight with value above the MAX(depth) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004098", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, lon, reading, depth\n Sensor: soil_moisture | fields: depth, qc, lat, value\nTask: Retrieve value from sunlight with depth above the MAX(depth) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004099", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: type, qc, lat, value\n Sensor: humidity | fields: value, ts, qc, lon\nTask: Retrieve depth from visibility that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004100", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: qc, depth, reading, lon\n Sensor: wind_speed | fields: value, unit, type, ts\nTask: Retrieve reading from drought_index whose qc is found in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004101", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: level, lat, value, ts\n Sensor: evaporation | fields: depth, level, type, reading\nTask: Retrieve depth from soil_moisture with depth above the COUNT(value) of evaporation 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(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004102", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, lon, depth, value\n Sensor: rainfall | fields: reading, depth, unit, ts\nTask: Fetch lon from pressure that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004103", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: unit, lat, reading, level\n Sensor: soil_moisture | fields: level, depth, value, reading\nTask: Fetch reading from dew_point where qc exists in soil_moisture sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004104", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, depth, unit, lat\n Sensor: evaporation | fields: level, qc, reading, unit\nTask: Get level from temperature where depth appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004105", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, ts, level, value\n Sensor: rainfall | fields: lon, depth, qc, value\nTask: Fetch value from uv_index that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004106", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: level, ts, value, lat\n Sensor: drought_index | fields: value, lat, ts, level\nTask: Retrieve reading from frost that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004107", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: lat, depth, unit, value\n Sensor: sunlight | fields: type, qc, level, unit\nTask: Get level from lightning where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004108", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, lat, level, reading\n Sensor: humidity | fields: lon, value, qc, type\nTask: Get value from pressure where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004109", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, qc, value, reading\n Sensor: uv_index | fields: lon, depth, lat, type\nTask: Retrieve value from visibility that have at least one matching reading in uv_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004110", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, unit, value, lat\n Sensor: evaporation | fields: type, level, lon, ts\nTask: Get depth from wind_speed where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004111", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, level, qc, reading\n Sensor: wind_speed | fields: ts, level, qc, value\nTask: Get reading from uv_index where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004112", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, type, depth, ts\n Sensor: visibility | fields: qc, type, depth, value\nTask: Retrieve depth from humidity whose unit is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004113", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: ts, unit, lat, depth\n Sensor: lightning | fields: ts, lat, depth, level\nTask: Get level from uv_index where ts appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004114", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: type, lat, ts, depth\n Sensor: cloud_cover | fields: reading, depth, qc, value\nTask: Fetch lat from wind_speed where qc exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004115", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: qc, depth, lon, lat\n Sensor: turbidity | fields: level, qc, value, lat\nTask: Retrieve value from frost that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004116", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, lon, ts, level\n Sensor: wind_speed | fields: type, qc, level, unit\nTask: Get depth from temperature where qc appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004117", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, lat, ts, depth\n Sensor: drought_index | fields: qc, value, depth, ts\nTask: Retrieve depth from temperature that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004118", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: qc, lon, depth, type\n Sensor: rainfall | fields: type, level, lat, value\nTask: Fetch lon from drought_index that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004119", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: level, lat, lon, value\n Sensor: uv_index | fields: reading, qc, unit, depth\nTask: Retrieve value from snow_depth whose depth is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004120", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, depth, value, type\n Sensor: pressure | fields: lon, reading, value, depth\nTask: Fetch lon from visibility where qc exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004121", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: type, lon, value, unit\n Sensor: cloud_cover | fields: qc, lon, unit, lat\nTask: Fetch lat from temperature where depth is greater than the count of of value in cloud_cover for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004122", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: level, lat, depth, lon\n Sensor: temperature | fields: depth, type, ts, value\nTask: Fetch reading 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=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004123", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: reading, level, qc, value\n Sensor: sunlight | fields: ts, qc, value, reading\nTask: Retrieve level from air_quality whose type is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004124", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lat, depth, unit, ts\n Sensor: visibility | fields: level, value, unit, depth\nTask: Get reading from soil_moisture where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004125", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: value, lat, depth, ts\n Sensor: dew_point | fields: level, reading, lon, qc\nTask: Get reading from soil_moisture where qc appears in dew_point 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(\"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", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004126", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, qc, ts, depth\n Sensor: humidity | fields: lat, qc, reading, unit\nTask: Get depth from evaporation where value exceeds the total value from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004127", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, type, value, qc\n Sensor: sunlight | fields: ts, qc, level, value\nTask: Retrieve lon from cloud_cover whose depth is found in sunlight records where unit 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(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004128", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: level, lat, ts, lon\n Sensor: evaporation | fields: qc, lat, level, type\nTask: Get reading from humidity where depth appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004129", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, value, unit, ts\n Sensor: uv_index | fields: depth, qc, lat, reading\nTask: Fetch depth from turbidity where depth exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004130", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lon, depth, reading, unit\n Sensor: dew_point | fields: type, depth, reading, unit\nTask: Retrieve lon from sunlight with value above the MAX(reading) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004131", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, level, qc, lat\n Sensor: drought_index | fields: depth, ts, unit, qc\nTask: Fetch lon from humidity where unit exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004132", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, lon, type, depth\n Sensor: cloud_cover | fields: ts, level, reading, value\nTask: Fetch lat from lightning that have at least one corresponding cloud_cover measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004133", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, lon, lat, depth\n Sensor: uv_index | fields: value, type, reading, unit\nTask: Fetch value from evaporation that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004134", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: qc, level, unit, lon\n Sensor: turbidity | fields: level, ts, depth, lat\nTask: Get reading from wind_speed where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004135", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: unit, reading, level, lon\n Sensor: temperature | fields: reading, level, ts, type\nTask: Get level from snow_depth where type appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004136", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, depth, lon, reading\n Sensor: snow_depth | fields: unit, value, ts, lon\nTask: Get reading from rainfall where value exceeds the average reading from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004137", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, ts, lat, reading\n Sensor: air_quality | fields: reading, ts, lat, unit\nTask: Get lat from cloud_cover where value exceeds the average reading from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004138", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: depth, level, type, lon\n Sensor: soil_moisture | fields: depth, ts, reading, type\nTask: Fetch level from humidity where reading is greater than the average of reading in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004139", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, depth, type, value\n Sensor: wind_speed | fields: qc, ts, lat, depth\nTask: Get lat from cloud_cover where value exceeds the average value from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004140", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, value, lat, type\n Sensor: dew_point | fields: lon, qc, reading, level\nTask: Get reading from rainfall where depth exceeds the count of reading from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004141", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: ts, unit, reading, type\n Sensor: snow_depth | fields: depth, lon, ts, qc\nTask: Fetch reading from soil_moisture that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004142", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, depth, type, value\n Sensor: soil_moisture | fields: type, reading, unit, value\nTask: Fetch reading from visibility where unit exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004143", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, qc, lon, type\n Sensor: air_quality | fields: depth, qc, reading, value\nTask: Fetch depth from visibility that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004144", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: reading, level, type, qc\n Sensor: uv_index | fields: value, unit, depth, ts\nTask: Retrieve lon from wind_speed with depth above the COUNT(reading) of uv_index 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(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004145", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, value, lat, lon\n Sensor: lightning | fields: value, lat, unit, reading\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=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004146", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, unit, value, type\n Sensor: wind_speed | fields: type, depth, qc, ts\nTask: Get reading from lightning where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004147", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: value, unit, level, ts\n Sensor: dew_point | fields: unit, level, value, lat\nTask: Retrieve lat from drought_index with reading above the AVG(value) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004148", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: unit, value, lat, ts\n Sensor: sunlight | fields: value, unit, qc, lon\nTask: Retrieve value from soil_moisture whose unit is found in sunlight records where ts 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(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "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_fixed_v1_val_004149", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: level, lon, type, reading\n Sensor: dew_point | fields: unit, depth, type, qc\nTask: Fetch lat from sunlight where reading is greater than the maximum of reading in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004150", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, level, type, lon\n Sensor: soil_moisture | fields: level, unit, lon, value\nTask: Get value from air_quality where depth exceeds the total reading from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "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_fixed_v1_val_004151", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lat, depth, ts, qc\n Sensor: visibility | fields: value, depth, lon, unit\nTask: Retrieve reading from lightning whose ts is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004152", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, lat, type, reading\n Sensor: humidity | fields: unit, depth, value, qc\nTask: Get value from pressure where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004153", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, qc, ts, unit\n Sensor: visibility | fields: depth, lon, lat, value\nTask: Retrieve value 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=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004154", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, unit, type, reading\n Sensor: turbidity | fields: lat, unit, qc, depth\nTask: Retrieve depth from snow_depth that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004155", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: level, ts, value, unit\n Sensor: sunlight | fields: type, value, qc, reading\nTask: Retrieve level from pressure whose type is found in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004156", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, ts, reading, level\n Sensor: lightning | fields: value, lon, unit, depth\nTask: Retrieve lon from snow_depth whose type is found in lightning records where unit 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(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004157", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, unit, depth, ts\n Sensor: uv_index | fields: value, lon, type, qc\nTask: Get reading from wind_speed where value exceeds the minimum value from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004158", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: qc, depth, lon, ts\n Sensor: humidity | fields: reading, value, type, qc\nTask: Fetch depth from drought_index where value is greater than the maximum of reading in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004159", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: value, unit, level, depth\n Sensor: air_quality | fields: value, ts, reading, lon\nTask: Get depth from snow_depth where depth appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004160", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: type, lon, ts, unit\n Sensor: wind_speed | fields: unit, value, lat, reading\nTask: Get reading from frost where unit appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004161", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, level, type, depth\n Sensor: snow_depth | fields: value, type, qc, lat\nTask: Fetch lat from cloud_cover where reading is greater than the total of value in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004162", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, reading, lat, ts\n Sensor: snow_depth | fields: value, lon, qc, unit\nTask: Retrieve value from uv_index with depth above the SUM(value) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004163", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: unit, type, qc, depth\n Sensor: rainfall | fields: ts, lat, value, depth\nTask: Fetch depth from air_quality where unit exists in rainfall sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004164", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: reading, qc, type, lat\n Sensor: rainfall | fields: unit, ts, depth, type\nTask: Get lat from cloud_cover where type appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004165", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, level, type, lat\n Sensor: soil_moisture | fields: lon, reading, ts, lat\nTask: Retrieve value from temperature whose depth is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004166", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, lat, qc, depth\n Sensor: visibility | fields: lon, type, reading, qc\nTask: Get lat from dew_point where type appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004167", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, unit, qc, level\n Sensor: visibility | fields: depth, lat, unit, qc\nTask: Fetch lat from temperature where depth is greater than the count of of reading in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004168", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, depth, level, value\n Sensor: soil_moisture | fields: level, lon, lat, unit\nTask: Retrieve value from dew_point whose unit is found in soil_moisture records where qc 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(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004169", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, value, ts, unit\n Sensor: snow_depth | fields: unit, value, lon, reading\nTask: Retrieve level 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=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004170", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: value, reading, level, qc\n Sensor: cloud_cover | fields: type, ts, level, unit\nTask: Get value from humidity where depth appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004171", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: reading, ts, unit, level\n Sensor: visibility | fields: ts, lat, level, depth\nTask: Retrieve lon from cloud_cover with value above the AVG(value) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004172", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: reading, depth, qc, level\n Sensor: evaporation | fields: level, lat, value, qc\nTask: Retrieve reading from dew_point with depth above the MIN(reading) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "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_fixed_v1_val_004173", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, unit, lat, type\n Sensor: lightning | fields: type, depth, reading, ts\nTask: Get depth from rainfall where reading exceeds the maximum value from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004174", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: value, lat, qc, level\n Sensor: air_quality | fields: ts, lat, reading, qc\nTask: Retrieve lat 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=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004175", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: unit, reading, ts, lon\n Sensor: evaporation | fields: type, value, depth, ts\nTask: Fetch lon from pressure where depth exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004176", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, qc, lat, ts\n Sensor: air_quality | fields: lat, ts, level, depth\nTask: Fetch level from soil_moisture where ts exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004177", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: type, ts, lon, value\n Sensor: soil_moisture | fields: level, type, value, ts\nTask: Retrieve reading 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=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004178", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, unit, depth, ts\n Sensor: snow_depth | fields: ts, unit, depth, value\nTask: Get lat from drought_index where qc appears in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004179", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, reading, lon, depth\n Sensor: turbidity | fields: unit, reading, depth, level\nTask: Fetch reading from humidity where qc exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "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_fixed_v1_val_004180", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lat, level, reading, type\n Sensor: rainfall | fields: unit, reading, ts, level\nTask: Retrieve level from soil_moisture with depth above the AVG(depth) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004181", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lon, qc, reading, lat\n Sensor: pressure | fields: ts, depth, lat, type\nTask: Retrieve lat from uv_index with reading above the COUNT(value) of pressure 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(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004182", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lon, level, ts, lat\n Sensor: turbidity | fields: value, lon, unit, depth\nTask: Retrieve lat from pressure that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004183", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: qc, lon, ts, reading\n Sensor: frost | fields: lat, level, type, value\nTask: Retrieve lat from drought_index with value above the SUM(reading) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "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_fixed_v1_val_004184", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: ts, reading, level, unit\n Sensor: evaporation | fields: reading, lat, depth, level\nTask: Get lat from wind_speed where qc appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004185", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, reading, unit, lon\n Sensor: humidity | fields: lat, type, qc, ts\nTask: Fetch lon 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=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004186", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: ts, level, lat, qc\n Sensor: lightning | fields: lon, level, type, ts\nTask: Fetch lon 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=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004187", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: unit, lat, depth, ts\n Sensor: turbidity | fields: level, reading, depth, lon\nTask: Fetch reading from evaporation where reading is greater than the maximum of value in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004188", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, reading, qc, value\n Sensor: evaporation | fields: level, reading, qc, unit\nTask: Retrieve level from rainfall with reading above the SUM(reading) of evaporation readings sharing the same 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(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004189", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, depth, ts, lon\n Sensor: soil_moisture | fields: ts, unit, lon, qc\nTask: Retrieve level from uv_index with value above the AVG(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004190", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, unit, ts, value\n Sensor: cloud_cover | fields: lon, depth, lat, value\nTask: Get value from visibility where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004191", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: ts, depth, lat, level\n Sensor: lightning | fields: unit, qc, lat, lon\nTask: Fetch lat from air_quality that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004192", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: reading, unit, ts, depth\n Sensor: wind_speed | fields: level, type, depth, unit\nTask: Retrieve value from air_quality whose depth is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004193", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: ts, lon, unit, type\n Sensor: rainfall | fields: qc, type, ts, lon\nTask: Get value from evaporation where a corresponding entry exists in rainfall with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004194", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: reading, value, depth, qc\n Sensor: frost | fields: ts, depth, unit, level\nTask: Retrieve value from uv_index that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004195", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: ts, depth, type, level\n Sensor: snow_depth | fields: qc, lat, lon, level\nTask: Retrieve reading from cloud_cover with value above the SUM(depth) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004196", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: type, lon, unit, lat\n Sensor: soil_moisture | fields: depth, value, ts, qc\nTask: Retrieve reading from temperature that have at least one matching reading in soil_moisture sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004197", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: value, lon, depth, level\n Sensor: humidity | fields: level, reading, ts, depth\nTask: Fetch lon from lightning where value is greater than the total of value in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "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_fixed_v1_val_004198", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, ts, unit, depth\n Sensor: humidity | fields: lon, depth, type, unit\nTask: Retrieve level from visibility that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004199", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, ts, qc, level\n Sensor: humidity | fields: unit, level, qc, ts\nTask: Retrieve value from turbidity with depth above the MIN(depth) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "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_fixed_v1_val_004200", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: reading, level, qc, lat\n Sensor: rainfall | fields: ts, reading, depth, qc\nTask: Fetch level from visibility where value is greater than the average of value in rainfall for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004201", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: depth, qc, lat, level\n Sensor: rainfall | fields: depth, qc, value, reading\nTask: Get lat from frost where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004202", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: ts, lon, lat, type\n Sensor: temperature | fields: depth, lat, unit, ts\nTask: Retrieve lon from drought_index whose unit is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004203", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lon, reading, qc, value\n Sensor: pressure | fields: unit, ts, lat, type\nTask: Get lon from humidity where ts appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004204", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, depth, lat, level\n Sensor: dew_point | fields: depth, reading, value, lat\nTask: Get lon from temperature where qc appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004205", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: qc, value, depth, lat\n Sensor: dew_point | fields: qc, level, type, lon\nTask: Retrieve reading from temperature that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004206", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: ts, depth, type, lat\n Sensor: soil_moisture | fields: unit, lon, reading, depth\nTask: Retrieve level from visibility whose qc is found in soil_moisture records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004207", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lat, lon, type, depth\n Sensor: drought_index | fields: qc, level, value, unit\nTask: Fetch level from sunlight that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004208", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lon, qc, ts, lat\n Sensor: rainfall | fields: unit, lat, ts, reading\nTask: Retrieve reading from evaporation whose unit is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004209", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lat, lon, unit, reading\n Sensor: uv_index | fields: depth, value, qc, type\nTask: Fetch reading from sunlight where reading is greater than the average of reading in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004210", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, value, depth, lat\n Sensor: frost | fields: qc, unit, lat, type\nTask: Fetch lon from humidity that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004211", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: type, lon, unit, lat\n Sensor: sunlight | fields: value, lon, depth, qc\nTask: Fetch depth from dew_point where type exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004212", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: level, qc, ts, type\n Sensor: soil_moisture | fields: qc, level, lat, type\nTask: Retrieve lon from temperature whose unit is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004213", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: type, value, reading, unit\n Sensor: snow_depth | fields: value, lat, qc, level\nTask: Fetch lat from air_quality where value is greater than the total of value in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004214", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: level, type, qc, value\n Sensor: cloud_cover | fields: value, ts, unit, lat\nTask: Get lat from temperature where type appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004215", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: ts, level, reading, lon\n Sensor: evaporation | fields: level, type, lat, depth\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=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004216", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, qc, lat, lon\n Sensor: humidity | fields: level, lon, unit, depth\nTask: Retrieve lat from evaporation that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "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_fixed_v1_val_004217", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, unit, reading, value\n Sensor: frost | fields: value, level, reading, unit\nTask: Retrieve level from air_quality that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004218", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, depth, reading, value\n Sensor: humidity | fields: lat, ts, type, reading\nTask: Get level from lightning where depth exceeds the maximum reading from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "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_fixed_v1_val_004219", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: level, depth, lat, reading\n Sensor: soil_moisture | fields: type, value, ts, level\nTask: Get reading from visibility where depth exceeds the average depth from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004220", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, level, ts, lat\n Sensor: air_quality | fields: reading, depth, lat, unit\nTask: Fetch depth from dew_point where ts exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004221", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: value, lon, reading, lat\n Sensor: temperature | fields: ts, unit, depth, lat\nTask: Fetch value from evaporation where unit exists in temperature sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004222", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, qc, lon, lat\n Sensor: soil_moisture | fields: value, qc, type, reading\nTask: Fetch level from uv_index that have at least one corresponding soil_moisture measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004223", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: type, lat, qc, level\n Sensor: turbidity | fields: lat, ts, type, unit\nTask: Retrieve lon from wind_speed with reading above the MIN(value) of turbidity readings sharing the same depth.\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=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004224", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, value, lat, qc\n Sensor: dew_point | fields: qc, lon, level, reading\nTask: Retrieve lat from humidity that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004225", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lon, lat, ts, unit\n Sensor: snow_depth | fields: lon, depth, qc, unit\nTask: Get depth from rainfall where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004226", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: qc, ts, depth, unit\n Sensor: uv_index | fields: lat, qc, level, lon\nTask: Get reading from cloud_cover where depth exceeds the maximum value from uv_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(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "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_fixed_v1_val_004227", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lat, value, qc, lon\n Sensor: drought_index | fields: reading, type, lat, value\nTask: Retrieve level from frost with depth above the MIN(reading) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004228", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, qc, reading, depth\n Sensor: pressure | fields: value, qc, lon, level\nTask: Fetch lat from rainfall that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004229", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lon, ts, depth, lat\n Sensor: evaporation | fields: qc, lon, depth, value\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=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "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_fixed_v1_val_004230", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, unit, level, reading\n Sensor: wind_speed | fields: lat, reading, unit, level\nTask: Fetch value from snow_depth where type exists in wind_speed sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004231", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: type, reading, lon, ts\n Sensor: turbidity | fields: qc, unit, level, type\nTask: Get lon from rainfall where depth appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004232", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, qc, unit, level\n Sensor: turbidity | fields: value, lon, ts, level\nTask: Get reading from wind_speed where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004233", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lat, reading, depth, unit\n Sensor: dew_point | fields: level, ts, value, reading\nTask: Get lat from drought_index where value exceeds the count of reading from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004234", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: type, qc, unit, level\n Sensor: drought_index | fields: depth, ts, type, qc\nTask: Fetch lat from lightning that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004235", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lon, type, qc, value\n Sensor: rainfall | fields: ts, value, qc, level\nTask: Get depth from wind_speed where depth exceeds the minimum value from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004236", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: ts, reading, lon, lat\n Sensor: uv_index | fields: type, value, lat, lon\nTask: Fetch value from evaporation where qc exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004237", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: unit, ts, reading, level\n Sensor: frost | fields: depth, level, ts, type\nTask: Get reading from temperature where reading exceeds the total value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004238", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, lat, qc, ts\n Sensor: temperature | fields: level, ts, reading, lat\nTask: Get lat from frost where depth exceeds the count of reading from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004239", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: type, level, reading, depth\n Sensor: temperature | fields: level, lon, reading, lat\nTask: Fetch lat from dew_point where ts exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004240", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: type, unit, value, lat\n Sensor: turbidity | fields: reading, value, lat, type\nTask: Fetch level from lightning where qc exists in turbidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004241", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: depth, type, value, level\n Sensor: evaporation | fields: reading, lon, depth, qc\nTask: Fetch lat from uv_index where depth is greater than the minimum of value in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004242", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, lat, type, value\n Sensor: frost | fields: lon, level, ts, reading\nTask: Retrieve reading from air_quality with reading above the COUNT(value) of frost readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004243", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, depth, unit, level\n Sensor: snow_depth | fields: type, lon, qc, level\nTask: Get depth from pressure where depth appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004244", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: level, reading, unit, depth\n Sensor: cloud_cover | fields: value, lon, level, ts\nTask: Retrieve lat from sunlight whose unit is found in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004245", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: ts, reading, lat, depth\n Sensor: wind_speed | fields: lat, depth, qc, reading\nTask: Fetch lat from snow_depth where depth is greater than the minimum of depth in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004246", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: level, type, lon, ts\n Sensor: lightning | fields: depth, lat, lon, reading\nTask: Fetch lat from air_quality where value is greater than the maximum of value in lightning for matching unit.\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(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004247", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: level, ts, qc, depth\n Sensor: drought_index | fields: type, reading, level, unit\nTask: Get value from cloud_cover where type appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004248", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: qc, lon, ts, reading\n Sensor: frost | fields: qc, reading, depth, ts\nTask: Fetch depth from lightning where value is greater than the average of value in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004249", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: depth, ts, value, qc\n Sensor: lightning | fields: lat, unit, depth, lon\nTask: Fetch depth from evaporation where qc exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004250", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: value, reading, depth, lon\n Sensor: cloud_cover | fields: value, level, type, lat\nTask: Retrieve depth from pressure whose qc is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004251", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, lat, level, lon\n Sensor: evaporation | fields: reading, ts, unit, level\nTask: Fetch lon from uv_index where depth exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004252", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: reading, qc, lon, value\n Sensor: visibility | fields: ts, level, lon, value\nTask: Fetch value from snow_depth where depth exists in visibility sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004253", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, type, depth, lat\n Sensor: drought_index | fields: lon, qc, ts, lat\nTask: Get value from rainfall where reading exceeds the minimum value from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "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_fixed_v1_val_004254", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: reading, lat, value, unit\n Sensor: uv_index | fields: value, depth, ts, lon\nTask: Get lat from evaporation where a corresponding entry exists in uv_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004255", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: level, reading, depth, lat\n Sensor: sunlight | fields: lon, depth, reading, type\nTask: Get value from uv_index where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004256", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, lon, level, type\n Sensor: drought_index | fields: value, ts, qc, unit\nTask: Fetch lon from lightning where qc exists in drought_index sensor data for the same depth.\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=\"depth\",\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": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004257", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: ts, value, reading, level\n Sensor: evaporation | fields: lon, reading, level, type\nTask: Get level from humidity where reading exceeds the average depth from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004258", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, lon, lat, level\n Sensor: air_quality | fields: qc, value, type, level\nTask: Fetch lat from sunlight that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004259", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: type, value, level, ts\n Sensor: sunlight | fields: depth, unit, reading, ts\nTask: Retrieve value from humidity with value above the AVG(value) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004260", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: value, type, level, lat\n Sensor: sunlight | fields: lon, value, depth, ts\nTask: Get depth from drought_index where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004261", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, level, ts, value\n Sensor: lightning | fields: ts, value, type, unit\nTask: Retrieve depth from uv_index whose unit is found in lightning records where unit 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(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004262", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, value, lon, depth\n Sensor: turbidity | fields: value, lon, ts, level\nTask: Retrieve depth from rainfall with depth above the MIN(value) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004263", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: ts, lat, lon, unit\n Sensor: sunlight | fields: value, ts, level, reading\nTask: Retrieve lon from cloud_cover whose qc is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004264", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, ts, lon, lat\n Sensor: cloud_cover | fields: unit, lat, level, value\nTask: Retrieve lat from temperature that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004265", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, qc, ts, lat\n Sensor: drought_index | fields: lon, unit, value, level\nTask: Get value from humidity where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004266", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: ts, reading, value, depth\n Sensor: air_quality | fields: value, qc, lon, unit\nTask: Fetch lat from visibility where unit exists in air_quality sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004267", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: type, unit, lat, reading\n Sensor: visibility | fields: lat, value, type, unit\nTask: Get level from rainfall where type appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004268", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: reading, level, unit, lat\n Sensor: turbidity | fields: unit, lon, type, value\nTask: Fetch value from humidity where ts exists in turbidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004269", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, level, ts, reading\n Sensor: dew_point | fields: lon, depth, ts, unit\nTask: Fetch depth from sunlight where reading is greater than the maximum of reading in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004270", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, value, level, unit\n Sensor: visibility | fields: unit, ts, qc, level\nTask: Get lat from drought_index where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004271", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: qc, unit, lon, depth\n Sensor: humidity | fields: depth, level, reading, value\nTask: Fetch lon from evaporation that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004272", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: type, level, reading, ts\n Sensor: soil_moisture | fields: lat, value, type, level\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=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004273", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: qc, depth, unit, lat\n Sensor: air_quality | fields: value, qc, type, ts\nTask: Fetch value 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=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004274", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: type, unit, depth, reading\n Sensor: evaporation | fields: type, value, level, unit\nTask: Fetch value from temperature that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004275", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: type, lon, ts, level\n Sensor: snow_depth | fields: lon, depth, qc, value\nTask: Fetch depth from wind_speed that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004276", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: unit, level, lon, value\n Sensor: evaporation | fields: ts, depth, qc, value\nTask: Retrieve reading from frost that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004277", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, lon, lat, unit\n Sensor: air_quality | fields: lon, level, reading, unit\nTask: Fetch lon from cloud_cover where type exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004278", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: type, qc, lon, lat\n Sensor: sunlight | fields: unit, depth, qc, ts\nTask: Retrieve lat from humidity with reading above the AVG(depth) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004279", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: qc, type, unit, depth\n Sensor: pressure | fields: lat, type, depth, qc\nTask: Retrieve level from wind_speed whose unit is found in pressure records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", 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": "wind_speed", "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_fixed_v1_val_004280", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: qc, unit, depth, level\n Sensor: drought_index | fields: reading, lat, type, qc\nTask: Retrieve reading 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=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004281", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, unit, ts, reading\n Sensor: sunlight | fields: lon, value, depth, qc\nTask: Retrieve reading from wind_speed whose unit is found in sunlight records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004282", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: depth, unit, level, lon\n Sensor: frost | fields: reading, qc, level, depth\nTask: Retrieve lat from humidity that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004283", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: level, depth, type, reading\n Sensor: turbidity | fields: lat, unit, depth, value\nTask: Retrieve depth from temperature with value above the AVG(depth) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004284", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: type, lon, level, unit\n Sensor: evaporation | fields: lat, depth, lon, qc\nTask: Retrieve reading from soil_moisture with value above the COUNT(value) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "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_fixed_v1_val_004285", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, unit, ts, value\n Sensor: air_quality | fields: qc, unit, ts, value\nTask: Get lat 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=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004286", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, reading, ts, lat\n Sensor: wind_speed | fields: reading, ts, lat, value\nTask: Get reading from evaporation where ts appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004287", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, level, depth, unit\n Sensor: temperature | fields: lon, depth, qc, reading\nTask: Get value from cloud_cover where ts appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004288", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: level, unit, depth, reading\n Sensor: air_quality | fields: depth, ts, level, reading\nTask: Fetch lat from sunlight where reading is greater than the total of reading in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004289", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lat, reading, ts, qc\n Sensor: evaporation | fields: unit, ts, type, lon\nTask: Retrieve depth from pressure with reading above the COUNT(reading) of evaporation readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004290", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: type, depth, value, reading\n Sensor: wind_speed | fields: depth, unit, lat, type\nTask: Get lat from air_quality where qc appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004291", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, type, lon, value\n Sensor: evaporation | fields: ts, qc, unit, reading\nTask: Get reading from air_quality where depth exceeds the minimum depth from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004292", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, qc, ts, type\n Sensor: temperature | fields: lon, ts, reading, value\nTask: Get lon from evaporation where depth appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004293", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, ts, level, lon\n Sensor: sunlight | fields: type, depth, reading, ts\nTask: Fetch reading from turbidity that have at least one corresponding sunlight measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004294", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: depth, lon, ts, type\n Sensor: sunlight | fields: lon, type, lat, unit\nTask: Get level from rainfall where type appears in sunlight readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004295", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: value, type, reading, ts\n Sensor: evaporation | fields: value, depth, qc, unit\nTask: Fetch level from lightning where depth is greater than the average of reading in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "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_fixed_v1_val_004296", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, level, lat, unit\n Sensor: temperature | fields: reading, unit, type, depth\nTask: Get value from sunlight where value exceeds the minimum reading from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004297", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: level, qc, ts, type\n Sensor: rainfall | fields: level, lon, ts, depth\nTask: Retrieve level from cloud_cover that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004298", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, lon, qc, lat\n Sensor: cloud_cover | fields: ts, lon, lat, qc\nTask: Fetch lat from temperature where depth is greater than the minimum of value in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004299", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: level, type, unit, qc\n Sensor: air_quality | fields: unit, lat, type, qc\nTask: Get reading from dew_point where depth appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004300", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: reading, type, ts, qc\n Sensor: frost | fields: lat, depth, level, lon\nTask: Retrieve reading from air_quality that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004301", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: type, value, level, qc\n Sensor: dew_point | fields: reading, qc, ts, depth\nTask: Fetch depth from lightning where type exists in dew_point sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004302", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: unit, reading, qc, lat\n Sensor: drought_index | fields: lon, value, type, depth\nTask: Get value from visibility where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004303", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lat, unit, ts, qc\n Sensor: uv_index | fields: value, lon, unit, level\nTask: Get value from soil_moisture where qc appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004304", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, reading, depth, unit\n Sensor: rainfall | fields: unit, lon, lat, ts\nTask: Fetch level from drought_index that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004305", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: reading, depth, lat, lon\n Sensor: air_quality | fields: reading, qc, ts, type\nTask: Fetch depth from turbidity where unit exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004306", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: level, value, lon, type\n Sensor: snow_depth | fields: lat, unit, ts, type\nTask: Retrieve lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004307", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: value, lon, depth, ts\n Sensor: visibility | fields: depth, lat, qc, type\nTask: Retrieve depth from turbidity that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004308", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, qc, unit, lon\n Sensor: pressure | fields: ts, qc, reading, type\nTask: Retrieve level from temperature with reading above the MIN(reading) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004309", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, reading, type, unit\n Sensor: uv_index | fields: qc, lon, unit, level\nTask: Fetch value from snow_depth where type exists in uv_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004310", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: type, level, reading, depth\n Sensor: soil_moisture | fields: ts, depth, lon, qc\nTask: Get value from dew_point where reading exceeds the total depth from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004311", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lat, qc, ts, lon\n Sensor: rainfall | fields: qc, unit, lat, level\nTask: Fetch depth from snow_depth where value is greater than the maximum of depth in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004312", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, lon, value, ts\n Sensor: pressure | fields: unit, lon, type, value\nTask: Get lon from sunlight where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004313", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, type, lat, unit\n Sensor: sunlight | fields: type, unit, level, ts\nTask: Get value from air_quality where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004314", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: level, lon, qc, ts\n Sensor: snow_depth | fields: lon, reading, value, qc\nTask: Get lat from evaporation where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004315", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: depth, type, lat, value\n Sensor: sunlight | fields: value, ts, lat, unit\nTask: Fetch level 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=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004316", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: unit, lat, qc, level\n Sensor: uv_index | fields: lat, depth, lon, reading\nTask: Fetch level from lightning that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004317", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, type, value, ts\n Sensor: visibility | fields: type, qc, value, unit\nTask: Retrieve level from turbidity that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004318", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, depth, ts, value\n Sensor: dew_point | fields: unit, depth, ts, 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=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004319", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, ts, level, unit\n Sensor: snow_depth | fields: unit, reading, lon, ts\nTask: Fetch value from humidity where depth exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004320", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: reading, level, depth, lat\n Sensor: pressure | fields: type, ts, lat, qc\nTask: Get value from frost where type appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004321", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lat, lon, qc, value\n Sensor: rainfall | fields: qc, ts, type, level\nTask: Retrieve lat from pressure whose unit is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004322", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, lat, depth, lon\n Sensor: temperature | fields: lat, type, level, unit\nTask: Retrieve lat from turbidity whose qc is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "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_fixed_v1_val_004323", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, value, reading, lat\n Sensor: wind_speed | fields: unit, lat, value, reading\nTask: Fetch reading from humidity where value is greater than the average of depth in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004324", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, ts, lon, value\n Sensor: pressure | fields: unit, type, level, ts\nTask: Retrieve lat from temperature whose depth is found in pressure records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004325", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lon, depth, reading, ts\n Sensor: air_quality | fields: lat, qc, reading, ts\nTask: Fetch lon from uv_index where depth is greater than the minimum of depth in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004326", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, unit, qc, level\n Sensor: lightning | fields: lat, level, lon, depth\nTask: Get level from visibility where depth exceeds the count of depth from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004327", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: ts, type, unit, value\n Sensor: drought_index | fields: value, lon, reading, depth\nTask: Fetch value from lightning where unit exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004328", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, type, lat, reading\n Sensor: lightning | fields: unit, reading, type, ts\nTask: Fetch reading from turbidity where value is greater than the maximum of depth in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004329", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, ts, depth, level\n Sensor: drought_index | fields: unit, level, lat, depth\nTask: Get depth from temperature where unit appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004330", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, reading, unit, lon\n Sensor: temperature | fields: depth, ts, level, unit\nTask: Get reading from uv_index where qc appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004331", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lat, level, reading, qc\n Sensor: wind_speed | fields: unit, value, level, depth\nTask: Get level from frost where reading exceeds the maximum value from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004332", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: reading, type, level, lon\n Sensor: snow_depth | fields: reading, ts, unit, value\nTask: Fetch reading from cloud_cover that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004333", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lon, value, type, qc\n Sensor: frost | fields: lat, value, type, reading\nTask: Get reading from sunlight where ts appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004334", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, value, qc, unit\n Sensor: humidity | fields: lat, value, qc, unit\nTask: Retrieve level from dew_point whose unit is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004335", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: unit, qc, value, type\n Sensor: snow_depth | fields: lon, level, unit, reading\nTask: Retrieve value from cloud_cover whose depth is found in snow_depth records where ts 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(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004336", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, ts, unit, lat\n Sensor: cloud_cover | fields: value, type, ts, lat\nTask: Get lon from pressure where type appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004337", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, qc, depth, value\n Sensor: soil_moisture | fields: qc, reading, unit, lat\nTask: Fetch level from rainfall where unit exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004338", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: type, unit, qc, ts\n Sensor: pressure | fields: reading, value, unit, type\nTask: Get value from turbidity where reading exceeds the count of value from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004339", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, lat, ts, lon\n Sensor: evaporation | fields: depth, lat, lon, unit\nTask: Get depth from rainfall where depth exceeds the total depth from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004340", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, type, reading, depth\n Sensor: frost | fields: qc, unit, level, value\nTask: Fetch lon from visibility where type exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004341", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, qc, unit, ts\n Sensor: wind_speed | fields: depth, ts, lat, unit\nTask: Fetch reading from soil_moisture where qc exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004342", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: qc, lon, type, level\n Sensor: wind_speed | fields: unit, type, qc, level\nTask: Retrieve value from lightning whose unit is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004343", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: reading, unit, lat, lon\n Sensor: air_quality | fields: reading, qc, unit, type\nTask: Fetch reading from turbidity where value is greater than the average of reading in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004344", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, level, qc, lat\n Sensor: wind_speed | fields: lat, type, lon, value\nTask: Get value from pressure where unit appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004345", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: depth, ts, level, value\n Sensor: wind_speed | fields: depth, value, ts, level\nTask: Fetch depth from pressure where depth is greater than the maximum of depth in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004346", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: depth, value, reading, lon\n Sensor: temperature | fields: value, depth, lon, lat\nTask: Retrieve reading from air_quality with depth above the MIN(depth) of temperature 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(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004347", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: level, value, qc, lon\n Sensor: frost | fields: ts, qc, lon, lat\nTask: Fetch reading from drought_index that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004348", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: type, unit, lon, depth\n Sensor: humidity | fields: type, value, reading, depth\nTask: Fetch depth from soil_moisture where type exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004349", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lon, ts, reading, qc\n Sensor: cloud_cover | fields: qc, level, lon, depth\nTask: Get value from sunlight where value exceeds the maximum value from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004350", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lon, level, type, reading\n Sensor: drought_index | fields: reading, qc, lon, ts\nTask: Fetch lon from pressure where ts exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004351", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: level, lat, value, type\n Sensor: temperature | fields: value, depth, reading, type\nTask: Get lat from visibility where reading exceeds the maximum reading from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004352", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, lat, reading, depth\n Sensor: cloud_cover | fields: qc, unit, value, reading\nTask: Retrieve lon from temperature whose qc is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004353", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, lat, level, ts\n Sensor: frost | fields: level, qc, type, reading\nTask: Retrieve value from turbidity whose depth is found in frost 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(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004354", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lon, type, ts, unit\n Sensor: air_quality | fields: depth, lon, ts, value\nTask: Get level from uv_index where value exceeds the maximum reading from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004355", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, unit, value, type\n Sensor: snow_depth | fields: depth, lat, level, unit\nTask: Fetch value from humidity that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004356", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: ts, unit, depth, qc\n Sensor: evaporation | fields: qc, lat, lon, type\nTask: Fetch level from temperature that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004357", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: level, reading, value, qc\n Sensor: frost | fields: level, reading, qc, lon\nTask: Get level from sunlight where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004358", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lat, level, value, depth\n Sensor: drought_index | fields: value, type, ts, qc\nTask: Get level from soil_moisture where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004359", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: ts, level, depth, lat\n Sensor: uv_index | fields: qc, depth, level, value\nTask: Retrieve depth from temperature that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004360", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: level, ts, lat, unit\n Sensor: sunlight | fields: ts, reading, level, unit\nTask: Fetch level from snow_depth where reading is greater than the average of depth in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004361", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: type, unit, lat, level\n Sensor: lightning | fields: depth, reading, level, ts\nTask: Get depth from wind_speed where type appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004362", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: type, level, depth, lat\n Sensor: sunlight | fields: unit, qc, ts, level\nTask: Get lat from humidity where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004363", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: level, value, lat, ts\n Sensor: sunlight | fields: depth, value, ts, type\nTask: Retrieve reading from frost with reading above the SUM(value) of sunlight readings sharing 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(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "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_fixed_v1_val_004364", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, level, reading, value\n Sensor: visibility | fields: ts, value, qc, depth\nTask: Retrieve level from sunlight whose type is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004365", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, reading, depth, type\n Sensor: sunlight | fields: lon, type, qc, ts\nTask: Get lat from lightning where depth exceeds the total value from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "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_fixed_v1_val_004366", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: reading, unit, lat, type\n Sensor: snow_depth | fields: value, level, ts, qc\nTask: Fetch level from dew_point where depth is greater than the maximum of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004367", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: qc, lat, value, unit\n Sensor: frost | fields: reading, unit, lat, level\nTask: Fetch lon from wind_speed where value is greater than the minimum of value in frost for matching ts.\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(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004368", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, unit, depth, ts\n Sensor: sunlight | fields: qc, type, lon, level\nTask: Retrieve reading from snow_depth with value above the MIN(depth) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004369", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, unit, level, lat\n Sensor: wind_speed | fields: level, value, depth, unit\nTask: Retrieve depth 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=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004370", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, lon, reading, unit\n Sensor: humidity | fields: lon, ts, level, qc\nTask: Fetch reading from cloud_cover where value is greater than the minimum of value in humidity for matching unit.\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(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004371", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: reading, unit, ts, type\n Sensor: visibility | fields: ts, lat, value, reading\nTask: Fetch value 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=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004372", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: unit, value, level, depth\n Sensor: frost | fields: value, level, depth, ts\nTask: Retrieve value from pressure whose qc is found in frost records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\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": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004373", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, depth, qc, type\n Sensor: humidity | fields: depth, lon, reading, ts\nTask: Get lon from rainfall where type appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004374", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: unit, reading, qc, lon\n Sensor: air_quality | fields: type, depth, ts, value\nTask: Fetch lon from wind_speed where depth exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004375", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: unit, depth, ts, reading\n Sensor: frost | fields: ts, depth, qc, type\nTask: Get level from cloud_cover where reading exceeds the count of reading from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004376", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, type, reading, value\n Sensor: uv_index | fields: depth, unit, level, lon\nTask: Get level from humidity where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004377", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, qc, lat, type\n Sensor: evaporation | fields: ts, value, lon, level\nTask: Retrieve depth from frost with depth above the AVG(value) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004378", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: value, ts, qc, depth\n Sensor: evaporation | fields: depth, qc, type, value\nTask: Get depth from humidity where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\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": "stn", "inner_alias": "evp", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004379", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, lon, type, depth\n Sensor: dew_point | fields: qc, type, reading, lon\nTask: Retrieve lat from rainfall with value above the MIN(depth) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004380", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: type, lon, lat, value\n Sensor: air_quality | fields: qc, reading, value, lon\nTask: Fetch lat from pressure that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004381", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: ts, value, unit, reading\n Sensor: humidity | fields: lat, unit, reading, value\nTask: Get lat from pressure where depth appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004382", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: value, ts, unit, depth\n Sensor: wind_speed | fields: depth, lat, ts, type\nTask: Retrieve lon from frost that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004383", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lon, ts, depth, reading\n Sensor: cloud_cover | fields: unit, lon, type, reading\nTask: Get lat from lightning where reading exceeds the total depth from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004384", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, reading, level, unit\n Sensor: pressure | fields: lon, level, depth, ts\nTask: Fetch level from visibility where ts exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004385", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: qc, level, lat, unit\n Sensor: sunlight | fields: depth, reading, level, lon\nTask: Retrieve lat from lightning with depth above the COUNT(depth) 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(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004386", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lon, type, lat, reading\n Sensor: uv_index | fields: type, lat, depth, ts\nTask: Fetch depth from soil_moisture where type exists in uv_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004387", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: unit, type, ts, level\n Sensor: cloud_cover | fields: qc, lon, ts, lat\nTask: Get value from sunlight where reading exceeds the average depth from cloud_cover for 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(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "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_fixed_v1_val_004388", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, lat, type, ts\n Sensor: wind_speed | fields: value, lat, depth, reading\nTask: Retrieve lon from pressure whose unit is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004389", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, qc, type, value\n Sensor: wind_speed | fields: ts, depth, reading, lat\nTask: Fetch reading from rainfall where type exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004390", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: unit, type, level, reading\n Sensor: turbidity | fields: lat, reading, type, level\nTask: Get reading from temperature where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004391", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, lat, ts, lon\n Sensor: uv_index | fields: value, qc, level, reading\nTask: Retrieve level from frost whose qc is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004392", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: type, qc, depth, value\n Sensor: uv_index | fields: depth, reading, qc, unit\nTask: Get lat from rainfall where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004393", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, ts, level, type\n Sensor: drought_index | fields: value, level, unit, depth\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=\"stn\"),\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": "stn", "inner_alias": "drt", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004394", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: level, depth, lat, qc\n Sensor: visibility | fields: reading, ts, qc, lon\nTask: Fetch depth from dew_point where reading is greater than the maximum of reading in visibility for matching depth.\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(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004395", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lon, value, type, depth\n Sensor: rainfall | fields: type, qc, lon, ts\nTask: Fetch lat from air_quality that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004396", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: reading, type, level, lon\n Sensor: frost | fields: depth, value, unit, type\nTask: Retrieve depth from uv_index with value above the COUNT(depth) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004397", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: level, ts, value, unit\n Sensor: lightning | fields: unit, level, type, depth\nTask: Retrieve lon from frost with depth above the AVG(reading) of lightning readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004398", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: qc, type, unit, depth\n Sensor: frost | fields: qc, ts, reading, depth\nTask: Get depth from wind_speed where depth exceeds the average reading from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004399", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lat, value, reading, depth\n Sensor: drought_index | fields: lat, reading, value, qc\nTask: Fetch level from humidity that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004400", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: value, ts, depth, reading\n Sensor: dew_point | fields: depth, reading, level, value\nTask: Get reading from turbidity where unit appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004401", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lon, depth, type, qc\n Sensor: evaporation | fields: lat, lon, reading, unit\nTask: Get value from frost where value exceeds the maximum value from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004402", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: reading, unit, ts, lat\n Sensor: pressure | fields: lat, unit, value, lon\nTask: Get lon from cloud_cover where value exceeds the total depth from pressure for the same depth.\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(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004403", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, level, ts, value\n Sensor: cloud_cover | fields: qc, type, unit, ts\nTask: Get lon from soil_moisture where value exceeds the average reading from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004404", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: level, lat, type, ts\n Sensor: air_quality | fields: level, reading, lon, unit\nTask: Fetch lon from pressure where depth exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004405", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, type, lat, unit\n Sensor: dew_point | fields: lon, qc, level, value\nTask: Get lon from uv_index where value exceeds the minimum reading from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004406", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, qc, level, type\n Sensor: rainfall | fields: type, level, lat, lon\nTask: Get reading from snow_depth where ts appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004407", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lat, type, reading, qc\n Sensor: air_quality | fields: unit, type, value, depth\nTask: Get lon from pressure where value exceeds the minimum reading from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004408", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lat, ts, lon, depth\n Sensor: air_quality | fields: type, level, lat, lon\nTask: Get lon from frost where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004409", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, value, lon, unit\n Sensor: humidity | fields: lat, lon, ts, depth\nTask: Fetch lon from evaporation where unit exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004410", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: value, depth, lat, ts\n Sensor: temperature | fields: depth, value, type, lon\nTask: Get level from soil_moisture where unit appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004411", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, unit, type, value\n Sensor: evaporation | fields: depth, unit, lon, reading\nTask: Get lat from visibility where depth appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004412", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: reading, lon, lat, type\n Sensor: humidity | fields: qc, value, ts, lat\nTask: Retrieve reading from frost that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004413", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, reading, lon, level\n Sensor: lightning | fields: type, lon, lat, ts\nTask: Get depth from soil_moisture where qc appears in lightning readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004414", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: ts, reading, value, lat\n Sensor: evaporation | fields: type, ts, unit, lon\nTask: Fetch depth from dew_point where reading is greater than the maximum of reading in evaporation for matching depth.\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(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004415", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: reading, unit, value, depth\n Sensor: sunlight | fields: ts, reading, qc, unit\nTask: Get lat 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=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004416", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: ts, reading, lat, depth\n Sensor: lightning | fields: value, level, lat, depth\nTask: Get reading from temperature where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004417", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, reading, value, level\n Sensor: evaporation | fields: qc, reading, level, depth\nTask: Get value from sunlight where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004418", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, unit, type, lat\n Sensor: sunlight | fields: value, qc, unit, type\nTask: Get depth from evaporation where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004419", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: level, depth, value, type\n Sensor: sunlight | fields: type, level, qc, lon\nTask: Get depth from drought_index where value exceeds the minimum reading from sunlight for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004420", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, value, type, reading\n Sensor: wind_speed | fields: reading, depth, type, value\nTask: Fetch lat from evaporation where ts exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\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": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004421", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, lat, type, value\n Sensor: dew_point | fields: type, qc, level, ts\nTask: Retrieve depth from drought_index with value above the SUM(depth) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004422", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, depth, reading, lat\n Sensor: uv_index | fields: value, level, qc, unit\nTask: Get lon from dew_point where ts appears in uv_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(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004423", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: reading, type, unit, value\n Sensor: cloud_cover | fields: unit, qc, lon, value\nTask: Retrieve lat from turbidity with depth above the MIN(reading) of cloud_cover readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004424", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, level, ts, value\n Sensor: evaporation | fields: level, reading, ts, lon\nTask: Fetch value from sunlight where ts exists in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004425", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: depth, level, qc, value\n Sensor: air_quality | fields: qc, depth, value, level\nTask: Retrieve value from snow_depth with value above the COUNT(depth) 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(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004426", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: qc, ts, lat, unit\n Sensor: evaporation | fields: unit, lon, depth, type\nTask: Fetch lon from wind_speed that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004427", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, lat, lon, ts\n Sensor: dew_point | fields: ts, qc, type, unit\nTask: Get reading from air_quality where type appears in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004428", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, type, value, lat\n Sensor: uv_index | fields: unit, depth, lon, level\nTask: Fetch value from cloud_cover where reading is greater than the minimum of value in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004429", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: value, qc, lat, level\n Sensor: cloud_cover | fields: level, type, value, lat\nTask: Get depth from frost where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004430", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: qc, depth, level, value\n Sensor: sunlight | fields: lat, depth, unit, level\nTask: Get value from soil_moisture where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004431", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lat, reading, depth, lon\n Sensor: visibility | fields: qc, unit, reading, lat\nTask: Get level from frost where depth exceeds the maximum depth from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004432", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, depth, reading, level\n Sensor: snow_depth | fields: lat, value, lon, reading\nTask: Get lon from uv_index where reading exceeds the maximum depth from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004433", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lon, qc, level, value\n Sensor: wind_speed | fields: ts, value, lon, type\nTask: Get lat from snow_depth where unit appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004434", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, unit, depth, lat\n Sensor: sunlight | fields: lat, depth, value, qc\nTask: Fetch level from dew_point where reading is greater than the maximum of depth in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004435", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: reading, level, lon, value\n Sensor: evaporation | fields: type, reading, unit, qc\nTask: Get lat from dew_point where reading exceeds the maximum depth from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004436", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: unit, level, reading, qc\n Sensor: dew_point | fields: level, qc, depth, unit\nTask: Retrieve lon from soil_moisture with depth above the MAX(depth) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004437", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: unit, depth, lat, type\n Sensor: evaporation | fields: lon, type, unit, reading\nTask: Get level from visibility where qc appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004438", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, qc, ts, reading\n Sensor: sunlight | fields: type, qc, reading, lon\nTask: Get lon from temperature where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004439", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: value, depth, type, reading\n Sensor: snow_depth | fields: value, lon, level, qc\nTask: Get level from humidity where type appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "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_fixed_v1_val_004440", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: qc, reading, level, depth\n Sensor: humidity | fields: lat, depth, lon, level\nTask: Get value from lightning where depth exceeds the average depth from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004441", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: lat, value, reading, qc\n Sensor: visibility | fields: ts, unit, lon, reading\nTask: Retrieve lat from frost with reading above the COUNT(reading) of visibility readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004442", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: ts, unit, value, depth\n Sensor: air_quality | fields: qc, lat, depth, level\nTask: Retrieve reading from uv_index with reading above the AVG(depth) of air_quality readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004443", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: qc, lon, unit, depth\n Sensor: air_quality | fields: reading, qc, type, lon\nTask: Fetch depth from sunlight where depth exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004444", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: depth, lat, lon, ts\n Sensor: cloud_cover | fields: level, type, reading, unit\nTask: Get depth from evaporation where depth appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004445", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, value, depth, lon\n Sensor: temperature | fields: depth, reading, ts, lon\nTask: Retrieve lat from uv_index whose unit is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004446", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: depth, reading, ts, type\n Sensor: rainfall | fields: lon, value, ts, qc\nTask: Fetch depth from snow_depth where ts exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004447", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lon, qc, type, value\n Sensor: rainfall | fields: value, qc, lat, reading\nTask: Retrieve reading from pressure with value above the MIN(reading) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004448", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, reading, lat, type\n Sensor: rainfall | fields: depth, lon, lat, type\nTask: Get lat from humidity where a corresponding entry exists in rainfall with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004449", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lat, type, qc, depth\n Sensor: temperature | fields: value, qc, lat, type\nTask: Fetch value from turbidity that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004450", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: value, level, unit, lon\n Sensor: soil_moisture | fields: lat, ts, reading, lon\nTask: Fetch reading from evaporation that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004451", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, type, qc, depth\n Sensor: rainfall | fields: type, unit, depth, value\nTask: Fetch level from pressure where type exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004452", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, type, unit, lon\n Sensor: humidity | fields: level, lon, type, lat\nTask: Retrieve value from air_quality with depth above the COUNT(depth) of humidity 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(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004453", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, ts, qc, reading\n Sensor: cloud_cover | fields: lat, depth, type, unit\nTask: Retrieve level from sunlight that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004454", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: value, ts, qc, type\n Sensor: sunlight | fields: value, reading, level, unit\nTask: Fetch lat from drought_index where reading is greater than the average of reading in sunlight for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004455", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: unit, qc, ts, reading\n Sensor: soil_moisture | fields: level, type, reading, qc\nTask: Get lat from snow_depth where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004456", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, level, lat, unit\n Sensor: dew_point | fields: lon, depth, ts, value\nTask: Retrieve lat from frost that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004457", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, reading, type, unit\n Sensor: air_quality | fields: ts, lon, unit, lat\nTask: Fetch reading from uv_index that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004458", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, qc, value, reading\n Sensor: humidity | fields: depth, type, level, lat\nTask: Fetch depth from visibility where depth is greater than the total of depth in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004459", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, value, lon, ts\n Sensor: sunlight | fields: ts, reading, lon, depth\nTask: Get reading from dew_point where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004460", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, qc, value, reading\n Sensor: uv_index | fields: lon, type, lat, ts\nTask: Get depth from sunlight where qc appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "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_fixed_v1_val_004461", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, reading, ts, depth\n Sensor: temperature | fields: reading, unit, type, qc\nTask: Retrieve value 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=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004462", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: reading, lat, type, value\n Sensor: evaporation | fields: ts, lat, type, unit\nTask: Get value from rainfall where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004463", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lon, unit, value, reading\n Sensor: cloud_cover | fields: lat, unit, type, lon\nTask: Retrieve lat from uv_index whose qc is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004464", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, ts, value, depth\n Sensor: rainfall | fields: value, lon, reading, type\nTask: Get depth from air_quality where qc appears in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004465", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lat, lon, value, type\n Sensor: drought_index | fields: depth, lon, qc, type\nTask: Retrieve value from pressure whose ts is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004466", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: type, value, lat, depth\n Sensor: sunlight | fields: depth, level, ts, reading\nTask: Get lon from drought_index where reading exceeds the average depth from sunlight for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004467", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, reading, unit, lat\n Sensor: humidity | fields: ts, lat, level, qc\nTask: Get depth from soil_moisture where qc appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004468", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: depth, qc, unit, reading\n Sensor: visibility | fields: lat, type, ts, lon\nTask: Retrieve lat from sunlight with depth above the SUM(depth) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004469", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: value, level, lat, depth\n Sensor: dew_point | fields: lat, qc, reading, level\nTask: Get lat from evaporation where value exceeds the maximum value from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004470", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, lon, qc, value\n Sensor: dew_point | fields: type, qc, value, depth\nTask: Fetch reading from humidity where depth is greater than the count of of reading in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004471", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, type, lon, level\n Sensor: cloud_cover | fields: lat, reading, value, type\nTask: Fetch lat from frost where unit exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004472", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: qc, reading, depth, unit\n Sensor: frost | fields: lon, reading, lat, unit\nTask: Retrieve level from dew_point whose type is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004473", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, type, level, unit\n Sensor: pressure | fields: type, qc, depth, level\nTask: Fetch depth from visibility where value is greater than the count of of depth in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004474", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: unit, depth, reading, ts\n Sensor: frost | fields: ts, lat, type, value\nTask: Get lat from snow_depth where ts appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004475", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: type, unit, value, reading\n Sensor: humidity | fields: type, value, ts, qc\nTask: Get lat from rainfall where reading exceeds the total depth from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004476", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, lat, depth, value\n Sensor: soil_moisture | fields: ts, level, lon, qc\nTask: Get level from turbidity where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004477", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, ts, unit, qc\n Sensor: air_quality | fields: type, level, qc, lat\nTask: Retrieve depth 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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004478", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: qc, depth, level, lat\n Sensor: uv_index | fields: qc, value, lon, depth\nTask: Get value from lightning where depth appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004479", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lon, level, value, depth\n Sensor: turbidity | fields: qc, depth, lat, unit\nTask: Fetch value from visibility where qc exists in turbidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004480", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: level, value, depth, ts\n Sensor: snow_depth | fields: ts, type, lon, depth\nTask: Get depth from sunlight where ts appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004481", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, ts, value, lat\n Sensor: temperature | fields: qc, depth, lon, reading\nTask: Retrieve depth from lightning whose type is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004482", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: reading, qc, ts, value\n Sensor: dew_point | fields: value, reading, qc, unit\nTask: Retrieve value 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=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004483", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: value, lat, level, unit\n Sensor: cloud_cover | fields: unit, value, type, qc\nTask: Fetch lon from evaporation that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004484", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: qc, ts, lon, reading\n Sensor: rainfall | fields: qc, unit, lat, type\nTask: Get reading from soil_moisture where qc appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004485", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: qc, reading, lat, value\n Sensor: visibility | fields: lat, type, reading, value\nTask: Retrieve lon from evaporation that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004486", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: value, unit, lon, depth\n Sensor: air_quality | fields: type, lat, unit, level\nTask: Retrieve depth from sunlight with reading above the MAX(depth) of air_quality 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\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004487", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, reading, depth, type\n Sensor: drought_index | fields: qc, depth, lon, unit\nTask: Fetch level from rainfall where depth is greater than the maximum of depth in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004488", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, qc, reading, type\n Sensor: cloud_cover | fields: reading, ts, lat, depth\nTask: Retrieve reading from lightning whose depth is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004489", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: level, lat, type, depth\n Sensor: lightning | fields: reading, type, value, lat\nTask: Fetch lon from frost where reading is greater than the average of reading in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004490", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: type, level, unit, lon\n Sensor: sunlight | fields: unit, qc, depth, level\nTask: Fetch lat from visibility where depth is greater than the average of value in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004491", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, type, lon, value\n Sensor: lightning | fields: type, value, reading, qc\nTask: Fetch lat from air_quality where unit exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "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_fixed_v1_val_004492", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: qc, depth, reading, type\n Sensor: rainfall | fields: ts, type, lon, reading\nTask: Retrieve lat from lightning whose qc is found in rainfall records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004493", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: ts, reading, qc, type\n Sensor: air_quality | fields: level, ts, lon, unit\nTask: Get lon from lightning where depth exceeds the minimum depth from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004494", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: depth, lon, lat, value\n Sensor: lightning | fields: value, type, unit, ts\nTask: Get value from turbidity where reading exceeds the maximum value from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004495", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, type, unit, depth\n Sensor: dew_point | fields: lat, ts, qc, value\nTask: Fetch depth from humidity where qc exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004496", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, qc, reading, lat\n Sensor: temperature | fields: qc, lat, type, level\nTask: Get depth from turbidity where unit appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004497", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lat, value, qc, unit\n Sensor: dew_point | fields: type, ts, level, unit\nTask: Get reading from pressure where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004498", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, lon, level, value\n Sensor: cloud_cover | fields: reading, ts, type, lon\nTask: Get lon from dew_point where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004499", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lon, level, depth, qc\n Sensor: humidity | fields: lon, unit, level, depth\nTask: Fetch lat 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=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004500", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: depth, reading, ts, level\n Sensor: dew_point | fields: level, value, ts, unit\nTask: Get value from frost where depth appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004501", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, reading, lat, lon\n Sensor: snow_depth | fields: type, level, lat, lon\nTask: Fetch lon 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=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004502", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: depth, qc, reading, ts\n Sensor: turbidity | fields: reading, level, ts, type\nTask: Get reading from cloud_cover where a corresponding entry exists in turbidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004503", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, depth, lon, ts\n Sensor: wind_speed | fields: qc, depth, lat, ts\nTask: Retrieve lon from dew_point that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004504", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: depth, unit, value, reading\n Sensor: sunlight | fields: qc, unit, reading, level\nTask: Retrieve reading from pressure that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004505", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, type, ts, unit\n Sensor: wind_speed | fields: level, lon, value, reading\nTask: Retrieve reading from turbidity with value above the AVG(reading) of wind_speed readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004506", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: ts, qc, level, unit\n Sensor: pressure | fields: unit, type, reading, ts\nTask: Get lon from temperature where depth exceeds the count of reading from pressure for the same depth.\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=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "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_fixed_v1_val_004507", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: unit, value, type, depth\n Sensor: soil_moisture | fields: type, reading, depth, qc\nTask: Retrieve lat 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=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004508", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: type, lat, depth, qc\n Sensor: pressure | fields: level, type, value, lon\nTask: Fetch value from evaporation where unit 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=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004509", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: level, qc, lon, unit\n Sensor: air_quality | fields: value, ts, type, qc\nTask: Get value from frost where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004510", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, ts, qc, depth\n Sensor: visibility | fields: depth, qc, type, ts\nTask: Fetch reading from pressure where reading is greater than the average of value in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004511", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, reading, unit, lon\n Sensor: pressure | fields: reading, depth, type, lon\nTask: Retrieve level from frost that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004512", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: depth, ts, lat, qc\n Sensor: soil_moisture | fields: lat, lon, depth, qc\nTask: Get level from drought_index where type appears in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004513", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, unit, level, qc\n Sensor: uv_index | fields: depth, ts, type, level\nTask: Retrieve lon from rainfall whose type is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004514", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, ts, type, lon\n Sensor: wind_speed | fields: lon, value, level, ts\nTask: Retrieve reading from dew_point that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004515", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: unit, reading, lon, lat\n Sensor: snow_depth | fields: depth, unit, type, level\nTask: Retrieve lon from drought_index whose unit is found in snow_depth records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004516", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, lat, level, reading\n Sensor: dew_point | fields: level, reading, lon, unit\nTask: Retrieve depth from sunlight whose type is found in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004517", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, depth, unit, value\n Sensor: soil_moisture | fields: lon, reading, depth, ts\nTask: Get lat from cloud_cover where depth appears in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004518", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, reading, depth, ts\n Sensor: sunlight | fields: lon, level, qc, depth\nTask: Fetch depth from evaporation where qc exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004519", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, lon, reading, type\n Sensor: temperature | fields: level, ts, qc, type\nTask: Get value from wind_speed where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004520", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: type, unit, qc, value\n Sensor: pressure | fields: ts, type, unit, lon\nTask: Retrieve lon from lightning whose unit is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004521", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, unit, lon, depth\n Sensor: wind_speed | fields: ts, reading, lon, lat\nTask: Fetch reading from drought_index that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004522", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: depth, unit, qc, ts\n Sensor: visibility | fields: ts, value, reading, level\nTask: Retrieve depth from wind_speed whose qc is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004523", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: value, unit, ts, qc\n Sensor: temperature | fields: unit, qc, depth, ts\nTask: Fetch depth from snow_depth that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004524", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: value, level, qc, depth\n Sensor: sunlight | fields: lat, unit, ts, level\nTask: Get lat from humidity where unit appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004525", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, ts, level, qc\n Sensor: cloud_cover | fields: level, lon, value, depth\nTask: Retrieve value from soil_moisture with reading above the COUNT(reading) of cloud_cover readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004526", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: ts, type, lat, reading\n Sensor: air_quality | fields: lon, type, ts, qc\nTask: Fetch reading 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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004527", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, depth, level, unit\n Sensor: uv_index | fields: ts, lat, type, reading\nTask: Retrieve lat from rainfall whose type is found in uv_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004528", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, level, reading, lat\n Sensor: wind_speed | fields: reading, lat, level, type\nTask: Get reading from air_quality where depth exceeds the total reading from wind_speed 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\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004529", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: ts, qc, level, unit\n Sensor: lightning | fields: unit, lon, qc, level\nTask: Retrieve depth from pressure that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004530", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, lon, level, reading\n Sensor: visibility | fields: value, level, reading, ts\nTask: Get level from evaporation where type appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004531", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, unit, type, lat\n Sensor: evaporation | fields: type, unit, value, reading\nTask: Retrieve level from temperature whose ts is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004532", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lon, level, value, depth\n Sensor: temperature | fields: type, value, qc, level\nTask: Fetch depth from lightning that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004533", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, ts, type, lat\n Sensor: drought_index | fields: type, level, qc, lat\nTask: Fetch level from snow_depth where type exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004534", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, ts, qc, level\n Sensor: humidity | fields: value, level, qc, lat\nTask: Get lon from air_quality where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004535", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: qc, depth, type, level\n Sensor: humidity | fields: value, lon, type, reading\nTask: Get level from cloud_cover where depth exceeds the average value from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004536", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: value, qc, type, reading\n Sensor: humidity | fields: reading, level, unit, lat\nTask: Retrieve level 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=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004537", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: depth, type, ts, reading\n Sensor: air_quality | fields: unit, level, qc, lon\nTask: Get lat from rainfall where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004538", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lon, reading, lat, ts\n Sensor: wind_speed | fields: unit, depth, type, qc\nTask: Retrieve reading from sunlight that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, reading, level, value\n Sensor: evaporation | fields: reading, lat, level, depth\nTask: Fetch level from frost where depth exists in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004540", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, ts, depth, reading\n Sensor: rainfall | fields: type, reading, ts, level\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=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004541", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: type, qc, reading, ts\n Sensor: lightning | fields: lon, unit, reading, level\nTask: Retrieve value from frost with value above the COUNT(reading) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004542", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lon, depth, unit, level\n Sensor: cloud_cover | fields: ts, reading, level, unit\nTask: Fetch lat from uv_index where ts exists in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004543", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lat, level, ts, reading\n Sensor: dew_point | fields: value, unit, type, level\nTask: Fetch lat from evaporation that have at least one corresponding dew_point measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004544", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, type, ts, reading\n Sensor: frost | fields: qc, reading, type, depth\nTask: Retrieve level from cloud_cover whose depth is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004545", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: depth, lat, ts, unit\n Sensor: air_quality | fields: type, ts, level, reading\nTask: Fetch lat from humidity where value is greater than the average of value in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004546", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: qc, unit, depth, level\n Sensor: humidity | fields: level, ts, unit, lat\nTask: Retrieve lat from air_quality with value above the SUM(reading) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004547", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: ts, type, reading, unit\n Sensor: soil_moisture | fields: ts, qc, depth, level\nTask: Retrieve reading 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=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004548", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: qc, level, type, ts\n Sensor: rainfall | fields: lat, depth, level, unit\nTask: Fetch value from humidity that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004549", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: reading, level, value, depth\n Sensor: cloud_cover | fields: ts, type, lat, reading\nTask: Get lat from dew_point where depth exceeds the minimum depth from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004550", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: qc, level, value, ts\n Sensor: wind_speed | fields: value, depth, unit, qc\nTask: Fetch lat from sunlight where value is greater than the average of value in wind_speed for matching 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(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004551", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, qc, lat, unit\n Sensor: sunlight | fields: lat, lon, level, depth\nTask: Fetch reading from humidity that have at least one corresponding sunlight measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004552", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lon, value, depth, level\n Sensor: frost | fields: lon, qc, lat, ts\nTask: Fetch lon from soil_moisture where depth is greater than the maximum of reading in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004553", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, level, lat, unit\n Sensor: cloud_cover | fields: depth, qc, level, reading\nTask: Get reading from lightning where value exceeds the minimum depth from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004554", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: value, type, qc, lon\n Sensor: cloud_cover | fields: type, lat, reading, level\nTask: Fetch lon from dew_point where depth exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004555", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lat, level, qc, type\n Sensor: turbidity | fields: ts, type, value, qc\nTask: Retrieve level from snow_depth whose type is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004556", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, qc, level, ts\n Sensor: cloud_cover | fields: type, qc, lat, depth\nTask: Fetch depth from temperature that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004557", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: value, reading, lon, depth\n Sensor: sunlight | fields: reading, ts, type, lat\nTask: Retrieve lon from drought_index whose qc is found in sunlight records where depth 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(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004558", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: depth, qc, lat, level\n Sensor: wind_speed | fields: level, ts, reading, type\nTask: Get level from temperature where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004559", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, type, reading, ts\n Sensor: turbidity | fields: level, depth, lon, value\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=\"gst\"),\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": "gst", "inner_alias": "ftu", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004560", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: unit, lat, reading, ts\n Sensor: drought_index | fields: lon, type, qc, ts\nTask: Get lon from air_quality where value exceeds the total reading from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004561", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, reading, qc, value\n Sensor: evaporation | fields: ts, type, lat, qc\nTask: Fetch depth from drought_index that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004562", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: reading, level, type, qc\n Sensor: air_quality | fields: lon, value, level, unit\nTask: Retrieve level from snow_depth whose type is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004563", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: unit, lat, qc, reading\n Sensor: lightning | fields: ts, depth, qc, value\nTask: Retrieve lat from cloud_cover with reading above the AVG(value) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004564", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, reading, level, depth\n Sensor: uv_index | fields: type, reading, qc, ts\nTask: Get depth from rainfall where unit appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "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_fixed_v1_val_004565", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, unit, level, ts\n Sensor: sunlight | fields: value, depth, lon, level\nTask: Get value from visibility where type appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "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_fixed_v1_val_004566", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: unit, ts, qc, lat\n Sensor: lightning | fields: ts, level, lon, reading\nTask: Retrieve reading from rainfall whose qc 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=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004567", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: type, depth, lon, ts\n Sensor: dew_point | fields: type, lon, value, level\nTask: Retrieve lon 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=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004568", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: value, level, reading, unit\n Sensor: rainfall | fields: lon, depth, unit, reading\nTask: Get lat from pressure where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004569", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: value, depth, qc, type\n Sensor: lightning | fields: lat, value, lon, qc\nTask: Fetch level from pressure that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004570", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: depth, unit, value, type\n Sensor: sunlight | fields: ts, value, depth, lon\nTask: Retrieve depth from pressure whose qc is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004571", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: type, level, unit, value\n Sensor: evaporation | fields: type, qc, ts, lon\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=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004572", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: ts, depth, reading, unit\n Sensor: wind_speed | fields: ts, value, depth, level\nTask: Retrieve lon from visibility with value above the MIN(value) of wind_speed readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004573", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: depth, qc, level, reading\n Sensor: cloud_cover | fields: depth, qc, level, type\nTask: Retrieve depth from humidity whose type is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004574", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, type, depth, reading\n Sensor: air_quality | fields: lat, depth, unit, ts\nTask: Retrieve depth from humidity with value above the SUM(value) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004575", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lon, depth, lat, level\n Sensor: wind_speed | fields: reading, type, ts, value\nTask: Fetch level from air_quality where depth is greater than the minimum of depth in wind_speed for matching type.\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(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004576", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lon, unit, value, reading\n Sensor: frost | fields: qc, reading, level, lon\nTask: Fetch level from turbidity where depth exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004577", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, level, value, ts\n Sensor: soil_moisture | fields: qc, lat, level, value\nTask: Fetch value from lightning where qc exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "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_fixed_v1_val_004578", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, depth, type, reading\n Sensor: soil_moisture | fields: type, lon, depth, lat\nTask: Fetch value from drought_index where unit exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004579", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: qc, ts, lon, reading\n Sensor: soil_moisture | fields: unit, lon, type, qc\nTask: Get depth from frost where depth appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004580", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: depth, value, type, unit\n Sensor: frost | fields: value, depth, qc, type\nTask: Retrieve level from rainfall with value above the MAX(value) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004581", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: level, depth, lat, qc\n Sensor: frost | fields: depth, unit, reading, lat\nTask: Retrieve lat from sunlight whose unit is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004582", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: ts, qc, depth, lon\n Sensor: rainfall | fields: qc, type, reading, value\nTask: Fetch level from cloud_cover where qc exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004583", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: type, unit, lon, depth\n Sensor: dew_point | fields: value, ts, unit, level\nTask: Get level from rainfall where depth exceeds the count of reading from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004584", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, type, reading, unit\n Sensor: drought_index | fields: type, reading, qc, level\nTask: Retrieve level from rainfall whose qc is found in drought_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004585", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: type, unit, reading, value\n Sensor: lightning | fields: qc, level, type, value\nTask: Get value from cloud_cover where ts appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004586", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: level, depth, ts, value\n Sensor: lightning | fields: qc, unit, depth, lon\nTask: Fetch lon 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=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004587", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lat, qc, level, ts\n Sensor: dew_point | fields: reading, lat, value, unit\nTask: Get lon from humidity where type appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004588", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: value, type, lat, unit\n Sensor: lightning | fields: value, reading, depth, type\nTask: Get reading from cloud_cover where qc appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004589", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: value, unit, level, lat\n Sensor: uv_index | fields: ts, reading, level, type\nTask: Fetch lon from evaporation where qc exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004590", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: type, unit, value, qc\n Sensor: lightning | fields: reading, depth, level, lat\nTask: Retrieve level from turbidity whose ts is found in lightning records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\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", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004591", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: type, lon, unit, depth\n Sensor: dew_point | fields: unit, ts, lon, reading\nTask: Get value from rainfall where value exceeds the minimum depth from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004592", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, lat, value, qc\n Sensor: air_quality | fields: unit, lat, value, level\nTask: Fetch value from rainfall where value is greater than the minimum of depth in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004593", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, reading, lat, ts\n Sensor: drought_index | fields: lat, ts, lon, unit\nTask: Retrieve level from dew_point whose ts is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\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": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004594", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lat, value, unit, type\n Sensor: snow_depth | fields: lon, unit, lat, qc\nTask: Fetch level from temperature where qc exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004595", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, depth, level, qc\n Sensor: evaporation | fields: reading, lon, lat, ts\nTask: Fetch level from drought_index that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004596", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, value, lat, depth\n Sensor: lightning | fields: reading, ts, depth, lat\nTask: Fetch level from sunlight that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "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_fixed_v1_val_004597", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: reading, level, lat, qc\n Sensor: turbidity | fields: unit, lon, ts, type\nTask: Get value from sunlight where unit appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004598", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: unit, lat, level, type\n Sensor: turbidity | fields: type, lat, ts, reading\nTask: Retrieve depth from drought_index whose depth is found in turbidity records where unit 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(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004599", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, level, ts, unit\n Sensor: air_quality | fields: qc, ts, lon, depth\nTask: Retrieve reading from drought_index whose unit is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\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": "drought_index", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004600", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: value, level, reading, type\n Sensor: air_quality | fields: qc, depth, ts, level\nTask: Get lat from frost where value exceeds the count of reading from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004601", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: type, lat, unit, qc\n Sensor: evaporation | fields: value, level, ts, qc\nTask: Retrieve lat from lightning with value above the AVG(value) of evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004602", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, level, reading, lon\n Sensor: wind_speed | fields: value, level, lon, unit\nTask: Fetch lat from evaporation that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "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_fixed_v1_val_004603", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, qc, value, unit\n Sensor: wind_speed | fields: level, reading, qc, value\nTask: Retrieve depth from lightning with reading above the MAX(depth) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004604", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lat, qc, type, unit\n Sensor: visibility | fields: value, ts, type, unit\nTask: Retrieve lon from snow_depth with value above the SUM(value) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004605", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lat, qc, level, ts\n Sensor: snow_depth | fields: lon, qc, value, reading\nTask: Get level from rainfall where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004606", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, lon, type, reading\n Sensor: evaporation | fields: level, reading, value, depth\nTask: Retrieve depth from lightning that have at least one matching reading in evaporation sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004607", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: value, depth, reading, type\n Sensor: dew_point | fields: depth, type, value, unit\nTask: Fetch depth from air_quality where value is greater than the total of reading in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "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_fixed_v1_val_004608", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: level, type, unit, depth\n Sensor: lightning | fields: unit, reading, lon, lat\nTask: Fetch depth from frost where depth exists in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004609", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: value, ts, unit, type\n Sensor: air_quality | fields: qc, depth, unit, level\nTask: Get level from rainfall where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004610", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, qc, level, reading\n Sensor: sunlight | fields: reading, type, depth, ts\nTask: Retrieve lon from turbidity with depth above the AVG(value) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004611", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: unit, ts, reading, value\n Sensor: sunlight | fields: value, lat, depth, qc\nTask: Retrieve lat from temperature with value above the COUNT(depth) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004612", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, lat, ts, level\n Sensor: air_quality | fields: level, lat, unit, type\nTask: Fetch reading from sunlight where depth exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "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_fixed_v1_val_004613", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, level, depth, ts\n Sensor: uv_index | fields: reading, lat, lon, value\nTask: Fetch level from frost where depth is greater than the average of reading in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004614", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, ts, type, level\n Sensor: dew_point | fields: unit, ts, reading, type\nTask: Retrieve level from rainfall with depth above the MAX(reading) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004615", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: unit, reading, value, level\n Sensor: air_quality | fields: reading, depth, lon, type\nTask: Fetch lon from visibility where depth exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004616", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: reading, lon, ts, lat\n Sensor: drought_index | fields: qc, type, level, depth\nTask: Get level from air_quality where unit appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004617", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | 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=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "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_fixed_v1_val_004618", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, qc, level, lon\n Sensor: lightning | fields: qc, depth, ts, level\nTask: Retrieve level from dew_point whose ts is found in lightning records where depth 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(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004619", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, depth, value, unit\n Sensor: humidity | fields: value, level, depth, lat\nTask: Get level from wind_speed where reading exceeds the total depth from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004620", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: qc, reading, level, ts\n Sensor: turbidity | fields: unit, depth, reading, lat\nTask: Fetch depth from frost where value is greater than the total of depth in turbidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004621", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, unit, ts, level\n Sensor: temperature | fields: reading, ts, unit, value\nTask: Get level from wind_speed where value exceeds the maximum reading from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004622", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lon, value, type, level\n Sensor: humidity | fields: level, reading, lat, lon\nTask: Get depth from rainfall where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004623", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: depth, ts, lon, value\n Sensor: pressure | fields: level, depth, lat, qc\nTask: Retrieve value from soil_moisture whose qc is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004624", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, level, ts, lat\n Sensor: visibility | fields: reading, type, ts, qc\nTask: Retrieve lon from air_quality with depth above the AVG(reading) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004625", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: qc, lat, level, unit\n Sensor: wind_speed | fields: ts, depth, qc, unit\nTask: Retrieve value from evaporation whose depth is found in wind_speed records where qc 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=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004626", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: unit, value, qc, type\n Sensor: sunlight | fields: reading, lon, type, unit\nTask: Get lon from turbidity where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004627", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, value, level, reading\n Sensor: evaporation | fields: ts, qc, reading, lon\nTask: Fetch lat from temperature where unit exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004628", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, level, type, depth\n Sensor: drought_index | fields: lat, unit, qc, depth\nTask: Get depth from dew_point where ts appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\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": "dew_point", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004629", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: reading, value, depth, level\n Sensor: snow_depth | fields: ts, lat, qc, level\nTask: Get level from dew_point where depth exceeds the average reading from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\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": "prt", "inner_alias": "snw", "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_fixed_v1_val_004630", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: qc, type, ts, lat\n Sensor: rainfall | fields: lon, depth, reading, level\nTask: Get lon from humidity where ts appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "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_fixed_v1_val_004631", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, depth, reading, qc\n Sensor: pressure | fields: unit, lat, depth, qc\nTask: Get depth from uv_index where reading exceeds the average depth from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "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_fixed_v1_val_004632", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: reading, level, lat, value\n Sensor: lightning | fields: type, qc, ts, lon\nTask: Retrieve level from humidity with reading above the MAX(reading) of lightning 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\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004633", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, qc, type, unit\n Sensor: temperature | fields: ts, unit, value, level\nTask: Get value from uv_index where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004634", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lat, lon, reading, unit\n Sensor: sunlight | fields: lat, value, type, level\nTask: Get lon from temperature where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004635", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, depth, level, type\n Sensor: drought_index | fields: value, reading, unit, depth\nTask: Fetch lon from sunlight where depth exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "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_fixed_v1_val_004636", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: level, type, ts, lon\n Sensor: soil_moisture | fields: level, depth, lat, lon\nTask: Retrieve reading 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=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004637", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: level, lon, unit, type\n Sensor: wind_speed | fields: type, lat, unit, level\nTask: Retrieve lat from uv_index whose unit is found in wind_speed records where depth 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(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004638", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: qc, type, depth, reading\n Sensor: pressure | fields: lat, unit, lon, value\nTask: Get lat from drought_index where a corresponding entry exists in pressure with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004639", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, type, unit, depth\n Sensor: humidity | fields: unit, reading, lon, value\nTask: Fetch reading from pressure where value is greater than the total of depth in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004640", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, depth, level, value\n Sensor: visibility | fields: lat, unit, ts, type\nTask: Get depth from rainfall where reading exceeds the minimum value from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004641", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, lon, qc, value\n Sensor: wind_speed | fields: value, qc, type, ts\nTask: Fetch lat from dew_point where value is greater than the maximum of reading in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004642", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, level, qc, lon\n Sensor: drought_index | fields: lon, depth, reading, unit\nTask: Fetch lat from pressure where value is greater than the maximum of value in drought_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "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_fixed_v1_val_004643", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, value, lat, ts\n Sensor: rainfall | fields: ts, level, value, reading\nTask: Get reading from drought_index where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004644", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lon, depth, level, ts\n Sensor: snow_depth | fields: type, lat, depth, lon\nTask: Retrieve depth from cloud_cover with depth above the AVG(value) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004645", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: level, unit, value, lon\n Sensor: air_quality | fields: depth, type, lat, value\nTask: Fetch reading from turbidity where qc exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004646", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, ts, type, qc\n Sensor: frost | fields: ts, level, depth, unit\nTask: Retrieve depth from visibility that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004647", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, level, type, lat\n Sensor: snow_depth | fields: lat, qc, reading, lon\nTask: Fetch lat from frost where value is greater than the count of of value in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004648", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lat, type, reading, ts\n Sensor: drought_index | fields: reading, ts, value, qc\nTask: Get reading from dew_point where depth appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004649", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: depth, qc, unit, lon\n Sensor: soil_moisture | fields: reading, depth, qc, ts\nTask: Fetch lon from cloud_cover where qc exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004650", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, unit, reading, ts\n Sensor: cloud_cover | fields: lat, lon, reading, level\nTask: Retrieve value from sunlight whose qc is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004651", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: level, reading, qc, ts\n Sensor: cloud_cover | fields: lon, value, type, reading\nTask: Get reading from temperature where reading exceeds the average value from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004652", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: depth, qc, reading, level\n Sensor: uv_index | fields: ts, qc, lat, type\nTask: Get level from lightning where value exceeds the minimum reading from uv_index for 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(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "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_fixed_v1_val_004653", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, depth, lat, lon\n Sensor: uv_index | fields: unit, ts, reading, type\nTask: Get level from dew_point where ts appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004654", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: type, value, unit, ts\n Sensor: visibility | fields: qc, lat, depth, unit\nTask: Fetch lat from soil_moisture where reading is greater than the count of of reading in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004655", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: ts, level, depth, qc\n Sensor: lightning | fields: value, ts, lat, reading\nTask: Fetch value from cloud_cover that have at least one corresponding lightning measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004656", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, level, qc, lat\n Sensor: snow_depth | fields: ts, lat, depth, value\nTask: Retrieve lon from lightning with depth above the MIN(value) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004657", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: qc, value, unit, level\n Sensor: temperature | fields: qc, unit, lon, lat\nTask: Retrieve reading from evaporation that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004658", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: qc, value, unit, ts\n Sensor: frost | fields: value, qc, level, 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=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004659", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lon, type, ts, depth\n Sensor: visibility | fields: level, lat, reading, type\nTask: Retrieve reading from air_quality with reading above the AVG(reading) of visibility 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(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004660", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: level, depth, lat, lon\n Sensor: air_quality | fields: value, depth, lon, ts\nTask: Retrieve lon from humidity that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004661", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: qc, lon, value, unit\n Sensor: soil_moisture | fields: type, depth, lat, qc\nTask: Retrieve lat from rainfall whose type is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004662", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: ts, type, reading, lon\n Sensor: frost | fields: ts, type, depth, lon\nTask: Get lat from pressure where qc appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004663", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, depth, level, lon\n Sensor: rainfall | fields: lat, qc, ts, reading\nTask: Get lon from soil_moisture where qc appears in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004664", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lat, unit, lon, value\n Sensor: rainfall | fields: depth, lat, unit, qc\nTask: Get lon from cloud_cover where depth appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004665", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lon, value, unit, ts\n Sensor: rainfall | fields: level, value, qc, reading\nTask: Retrieve level from dew_point whose depth is found in rainfall records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004666", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: level, reading, lat, type\n Sensor: uv_index | fields: ts, unit, lat, value\nTask: Get level from wind_speed where qc appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004667", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: level, lat, type, unit\n Sensor: humidity | fields: reading, lon, type, lat\nTask: Get lon from wind_speed where depth appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004668", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: qc, reading, value, ts\n Sensor: dew_point | fields: unit, lat, type, ts\nTask: Get lon from snow_depth where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004669", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: value, qc, reading, lat\n Sensor: frost | fields: lat, type, ts, depth\nTask: Fetch lon from air_quality where ts exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004670", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, value, ts, qc\n Sensor: cloud_cover | fields: level, lon, lat, unit\nTask: Retrieve depth from air_quality that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004671", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: type, unit, qc, reading\n Sensor: wind_speed | fields: level, unit, lon, depth\nTask: Fetch reading from drought_index where type exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004672", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: qc, unit, ts, value\n Sensor: sunlight | fields: reading, type, value, lon\nTask: Get lat from frost where depth exceeds the maximum reading from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004673", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lon, reading, depth, lat\n Sensor: temperature | fields: unit, level, qc, lat\nTask: Retrieve depth from pressure with depth above the AVG(reading) of temperature readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004674", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, level, depth, lon\n Sensor: visibility | fields: qc, lat, level, depth\nTask: Fetch depth from humidity that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004675", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: unit, qc, depth, lon\n Sensor: wind_speed | fields: lat, depth, lon, reading\nTask: Fetch depth from humidity that have at least one corresponding wind_speed measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004676", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: type, level, reading, qc\n Sensor: uv_index | fields: type, ts, reading, unit\nTask: Get lon from dew_point where unit appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004677", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, lon, qc, depth\n Sensor: turbidity | fields: lat, qc, level, unit\nTask: Retrieve reading from snow_depth with depth above the MAX(value) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004678", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, lon, type, level\n Sensor: wind_speed | fields: type, lat, ts, value\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=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004679", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: qc, lat, lon, reading\n Sensor: lightning | fields: lon, reading, ts, depth\nTask: Get value from snow_depth where depth exceeds the total depth from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004680", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lat, depth, ts, lon\n Sensor: turbidity | fields: depth, value, reading, lat\nTask: Get lon from humidity where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004681", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: reading, qc, unit, depth\n Sensor: sunlight | fields: qc, reading, ts, value\nTask: Get value from humidity where type appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004682", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lon, value, ts, lat\n Sensor: cloud_cover | fields: depth, unit, qc, lon\nTask: Fetch level from rainfall that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004683", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: unit, type, lon, reading\n Sensor: temperature | fields: lat, ts, qc, level\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=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004684", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: qc, reading, lat, lon\n Sensor: frost | fields: value, unit, type, lat\nTask: Get lon from wind_speed where depth appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004685", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, reading, lat, depth\n Sensor: frost | fields: depth, lat, qc, level\nTask: Get lon from soil_moisture where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004686", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: qc, value, level, lat\n Sensor: dew_point | fields: lon, ts, reading, lat\nTask: Fetch value from evaporation where depth is greater than the count of of depth in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004687", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: value, lon, depth, level\n Sensor: sunlight | fields: depth, level, reading, lon\nTask: Fetch lon from lightning where value is greater than the total of depth in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004688", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, reading, value, qc\n Sensor: pressure | fields: depth, value, level, reading\nTask: Retrieve lat from visibility whose ts is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004689", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, lat, type, lon\n Sensor: rainfall | fields: level, qc, lon, lat\nTask: Fetch depth from sunlight that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004690", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: reading, level, lat, depth\n Sensor: lightning | fields: lat, level, qc, value\nTask: Get reading from pressure where depth appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004691", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: unit, level, ts, value\n Sensor: lightning | fields: value, type, ts, lat\nTask: Get value from turbidity where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004692", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: level, qc, ts, unit\n Sensor: uv_index | fields: ts, unit, level, type\nTask: Fetch value from snow_depth where value is greater than the total of reading in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004693", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: ts, lat, depth, lon\n Sensor: lightning | fields: level, depth, type, reading\nTask: Fetch lon from humidity that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004694", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, unit, lon, level\n Sensor: snow_depth | fields: depth, type, unit, lon\nTask: Retrieve reading from evaporation whose type is found in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004695", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, value, type, lat\n Sensor: pressure | fields: value, level, lon, unit\nTask: Retrieve level from rainfall with depth above the SUM(depth) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004696", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, reading, value, lon\n Sensor: sunlight | fields: depth, type, lon, reading\nTask: Retrieve value from air_quality with reading above the MIN(value) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004697", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, unit, lat, reading\n Sensor: turbidity | fields: qc, lat, unit, depth\nTask: Fetch reading from visibility where qc exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004698", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, ts, level, lat\n Sensor: drought_index | fields: level, value, type, unit\nTask: Retrieve depth from sunlight with value above the MIN(value) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "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_fixed_v1_val_004699", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: depth, unit, type, qc\n Sensor: sunlight | fields: type, reading, level, depth\nTask: Get value from snow_depth where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004700", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: reading, level, unit, qc\n Sensor: humidity | fields: reading, value, lon, unit\nTask: Fetch lon from dew_point where reading is greater than the count of of reading in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004701", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: qc, lon, level, ts\n Sensor: cloud_cover | fields: value, lon, ts, depth\nTask: Retrieve level from sunlight that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004702", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: value, qc, type, lat\n Sensor: air_quality | fields: value, reading, unit, qc\nTask: Retrieve depth from soil_moisture with reading above the COUNT(value) of air_quality readings sharing the same ts.\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(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004703", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lat, ts, level, lon\n Sensor: evaporation | fields: ts, depth, lon, unit\nTask: Get depth from rainfall where value exceeds the total reading from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004704", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: level, qc, value, unit\n Sensor: uv_index | fields: depth, qc, level, value\nTask: Fetch reading from visibility that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004705", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: reading, lon, level, qc\n Sensor: temperature | fields: value, unit, reading, level\nTask: Get depth from visibility where a corresponding entry exists in temperature with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004706", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: level, type, lon, qc\n Sensor: temperature | fields: depth, lon, qc, value\nTask: Fetch value from turbidity that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004707", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, reading, unit, type\n Sensor: uv_index | fields: reading, qc, value, lon\nTask: Get value from evaporation where qc appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004708", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, level, lat, qc\n Sensor: humidity | fields: level, reading, type, qc\nTask: Get level from turbidity where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004709", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lon, lat, unit, level\n Sensor: humidity | fields: reading, qc, lon, unit\nTask: Retrieve value from dew_point with depth above the AVG(value) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004710", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: depth, qc, type, reading\n Sensor: pressure | fields: ts, lat, depth, reading\nTask: Retrieve depth from frost with reading above the AVG(depth) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004711", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: type, qc, lon, lat\n Sensor: humidity | fields: value, lon, lat, qc\nTask: Get lon from visibility where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004712", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, qc, unit, depth\n Sensor: uv_index | fields: depth, value, type, lon\nTask: Fetch reading from drought_index that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004713", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: depth, lon, ts, value\n Sensor: rainfall | fields: value, level, lon, type\nTask: Retrieve value 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=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004714", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: qc, value, level, unit\n Sensor: pressure | fields: lat, depth, reading, qc\nTask: Get lat from humidity where ts appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "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_fixed_v1_val_004715", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, unit, value, type\n Sensor: dew_point | fields: ts, value, qc, reading\nTask: Retrieve reading from snow_depth with depth above the AVG(depth) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004716", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, lon, level, type\n Sensor: temperature | fields: unit, lat, value, type\nTask: Get level from turbidity where value exceeds the total value from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004717", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, depth, unit, level\n Sensor: soil_moisture | fields: ts, qc, reading, lat\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=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "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_fixed_v1_val_004718", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, level, qc, ts\n Sensor: lightning | fields: value, ts, level, type\nTask: Fetch lat from evaporation where depth is greater than the maximum of value in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004719", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: type, unit, level, reading\n Sensor: sunlight | fields: value, ts, lon, unit\nTask: Get reading from frost where reading exceeds the minimum reading from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004720", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: unit, value, type, lat\n Sensor: temperature | fields: qc, level, reading, lat\nTask: Fetch reading from drought_index where value is greater than the total of value in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004721", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lon, type, value, lat\n Sensor: humidity | fields: value, unit, lon, reading\nTask: Get reading from snow_depth where depth exceeds the count of reading from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004722", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: type, qc, level, value\n Sensor: evaporation | fields: qc, depth, reading, lat\nTask: Retrieve level 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=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004723", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: unit, value, ts, reading\n Sensor: wind_speed | fields: level, reading, qc, lat\nTask: Retrieve depth 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=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004724", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, depth, type, level\n Sensor: lightning | fields: value, lat, ts, level\nTask: Fetch lon from turbidity that have at least one corresponding lightning measurement for 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=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004725", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, ts, value, qc\n Sensor: rainfall | fields: value, reading, type, lat\nTask: Retrieve reading from temperature with reading above the MAX(reading) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004726", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lat, level, lon, ts\n Sensor: pressure | fields: type, reading, ts, qc\nTask: Fetch reading from evaporation that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004727", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: type, reading, lat, qc\n Sensor: turbidity | fields: qc, lon, reading, type\nTask: Retrieve lat from uv_index with value above the MIN(reading) of turbidity readings sharing the same 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(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "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_fixed_v1_val_004728", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, level, value, lat\n Sensor: humidity | fields: unit, level, ts, depth\nTask: Get depth from uv_index where depth exceeds the maximum value from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004729", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, unit, lat, level\n Sensor: dew_point | fields: ts, unit, reading, type\nTask: Get depth from air_quality where depth exceeds the minimum reading from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004730", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, ts, unit, reading\n Sensor: soil_moisture | fields: type, depth, lon, unit\nTask: Fetch lat from visibility where qc exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004731", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: unit, qc, depth, level\n Sensor: air_quality | fields: unit, value, reading, level\nTask: Fetch lon from sunlight where value is greater than the total of depth in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004732", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: type, level, value, depth\n Sensor: sunlight | fields: type, value, unit, qc\nTask: Get lon from air_quality where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004733", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: qc, reading, unit, type\n Sensor: lightning | fields: unit, value, lat, depth\nTask: Fetch reading from soil_moisture where depth exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004734", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lon, lat, unit, qc\n Sensor: air_quality | fields: unit, type, 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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004735", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: reading, ts, depth, qc\n Sensor: temperature | fields: lon, type, value, depth\nTask: Fetch value from soil_moisture where unit exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004736", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lon, ts, type, qc\n Sensor: sunlight | fields: reading, qc, unit, ts\nTask: Fetch lon from visibility where unit exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004737", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: depth, lon, ts, qc\n Sensor: rainfall | fields: qc, lon, ts, lat\nTask: Fetch value from turbidity where depth is greater than the average of reading in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "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_fixed_v1_val_004738", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: reading, type, qc, depth\n Sensor: frost | fields: value, qc, reading, level\nTask: Get level from pressure where type appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004739", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: type, value, ts, level\n Sensor: visibility | fields: qc, lon, unit, type\nTask: Retrieve lat from dew_point that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004740", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, ts, lat, depth\n Sensor: dew_point | fields: qc, reading, lon, depth\nTask: Fetch level from uv_index that have at least one corresponding dew_point measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004741", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lat, level, qc, reading\n Sensor: lightning | fields: level, lat, lon, value\nTask: Retrieve level from turbidity with reading 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=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004742", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, ts, lon, unit\n Sensor: cloud_cover | fields: unit, type, depth, level\nTask: Get level from soil_moisture where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004743", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: level, value, reading, depth\n Sensor: wind_speed | fields: level, unit, depth, ts\nTask: Get value from pressure where type appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004744", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: qc, reading, unit, type\n Sensor: soil_moisture | fields: depth, value, reading, lat\nTask: Get lon from uv_index where depth appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004745", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, depth, level, ts\n Sensor: turbidity | fields: type, value, level, depth\nTask: Fetch value from air_quality where depth exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004746", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: qc, type, depth, ts\n Sensor: frost | fields: value, ts, reading, type\nTask: Get value from drought_index where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004747", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: type, ts, level, lon\n Sensor: frost | fields: lat, ts, qc, depth\nTask: Retrieve lat from dew_point that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004748", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: ts, lat, reading, qc\n Sensor: wind_speed | fields: depth, reading, value, qc\nTask: Get value from turbidity where depth exceeds the maximum reading from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004749", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lat, ts, qc, unit\n Sensor: snow_depth | fields: lon, ts, value, depth\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=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004750", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: qc, reading, type, lon\n Sensor: lightning | fields: value, lat, unit, level\nTask: Get lon from turbidity where qc appears in lightning readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004751", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: qc, depth, value, type\n Sensor: pressure | fields: reading, unit, type, lon\nTask: Get value from evaporation where value exceeds the average depth from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004752", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: qc, depth, ts, level\n Sensor: snow_depth | fields: lon, ts, value, lat\nTask: Get level from wind_speed where value exceeds the minimum value from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004753", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: ts, depth, unit, reading\n Sensor: temperature | fields: lon, depth, ts, type\nTask: Get level from lightning where reading exceeds the minimum reading from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004754", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, qc, reading, type\n Sensor: drought_index | fields: qc, type, lat, value\nTask: Retrieve lon 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=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004755", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: unit, lat, reading, ts\n Sensor: dew_point | fields: reading, ts, level, value\nTask: Retrieve depth from evaporation that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004756", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lon, ts, qc, unit\n Sensor: drought_index | fields: value, qc, lat, unit\nTask: Fetch reading from visibility where qc exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004757", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, reading, value, depth\n Sensor: pressure | fields: unit, level, qc, ts\nTask: Get reading from wind_speed where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004758", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: level, qc, lon, lat\n Sensor: lightning | fields: depth, lat, qc, level\nTask: Retrieve reading from turbidity that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004759", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, unit, reading, level\n Sensor: wind_speed | fields: unit, reading, lat, lon\nTask: Retrieve lat from uv_index whose type is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "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_fixed_v1_val_004760", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, reading, qc, depth\n Sensor: cloud_cover | fields: qc, lon, depth, ts\nTask: Fetch lon from air_quality that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "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_fixed_v1_val_004761", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: qc, depth, lon, lat\n Sensor: wind_speed | fields: unit, level, type, lat\nTask: Fetch lon from humidity where value is greater than the average of value in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004762", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: level, type, lon, ts\n Sensor: pressure | fields: lon, level, reading, unit\nTask: Get value from dew_point where qc appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004763", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: depth, qc, level, ts\n Sensor: air_quality | fields: lat, type, level, reading\nTask: Retrieve value from pressure with depth above the AVG(depth) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004764", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: ts, value, unit, level\n Sensor: evaporation | fields: qc, depth, type, unit\nTask: Fetch level from visibility where ts exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004765", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: type, reading, level, qc\n Sensor: pressure | fields: reading, qc, depth, value\nTask: Retrieve level from visibility that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004766", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: qc, level, type, lat\n Sensor: cloud_cover | fields: type, value, qc, depth\nTask: Retrieve lat from wind_speed whose type is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004767", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: depth, reading, ts, qc\n Sensor: uv_index | fields: qc, reading, type, lon\nTask: Fetch lon from visibility that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\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": "thr", "inner_alias": "flx", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004768", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: depth, lon, type, lat\n Sensor: air_quality | fields: value, unit, lon, lat\nTask: Fetch depth from visibility where depth is greater than the maximum of reading in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004769", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, unit, reading, lat\n Sensor: lightning | fields: qc, reading, lon, type\nTask: Get lon from air_quality where reading exceeds the average value from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "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_fixed_v1_val_004770", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: type, value, depth, level\n Sensor: lightning | fields: unit, depth, level, qc\nTask: Get value from humidity where depth appears in lightning readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004771", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: ts, type, depth, unit\n Sensor: air_quality | fields: unit, level, ts, reading\nTask: Retrieve level from visibility with value above the AVG(value) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004772", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: value, lat, ts, depth\n Sensor: temperature | fields: lon, qc, reading, ts\nTask: Fetch value from lightning where type exists in temperature sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004773", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: level, unit, lon, qc\n Sensor: air_quality | fields: lon, depth, reading, value\nTask: Retrieve lat from lightning with value above the SUM(reading) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004774", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, depth, lat, level\n Sensor: dew_point | fields: lon, reading, lat, qc\nTask: Fetch depth from snow_depth where value is greater than the average of value in dew_point for matching type.\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(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004775", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: value, ts, lat, depth\n Sensor: temperature | fields: ts, depth, reading, qc\nTask: Retrieve level from evaporation with reading above the COUNT(value) of temperature readings sharing the same 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=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004776", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, qc, depth, lon\n Sensor: soil_moisture | fields: lat, value, depth, level\nTask: Retrieve depth from wind_speed that have at least one matching reading in soil_moisture sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004777", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, reading, value, qc\n Sensor: soil_moisture | fields: lon, unit, ts, type\nTask: Retrieve value from wind_speed that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004778", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: ts, level, qc, reading\n Sensor: turbidity | fields: qc, reading, type, unit\nTask: Get level from frost where value exceeds the maximum reading from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004779", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, ts, value, type\n Sensor: rainfall | fields: reading, qc, ts, unit\nTask: Get value from lightning where reading exceeds the maximum value from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004780", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, lat, value, reading\n Sensor: frost | fields: lon, qc, ts, depth\nTask: Retrieve depth from humidity that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004781", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, lon, depth, type\n Sensor: visibility | fields: lon, depth, value, level\nTask: Get lat from humidity where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004782", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, lon, ts, qc\n Sensor: dew_point | fields: value, ts, qc, type\nTask: Retrieve lat from rainfall whose depth is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004783", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, ts, type, lon\n Sensor: evaporation | fields: lon, ts, level, depth\nTask: Fetch depth from uv_index that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "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_fixed_v1_val_004784", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: ts, value, unit, lat\n Sensor: humidity | fields: level, value, reading, lon\nTask: Retrieve lat from turbidity with value above the MIN(reading) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004785", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: unit, qc, depth, value\n Sensor: air_quality | fields: type, level, ts, value\nTask: Get value from turbidity where ts appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004786", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, depth, lat, qc\n Sensor: uv_index | fields: value, reading, lon, qc\nTask: Get lon from pressure where depth appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004787", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: ts, type, depth, level\n Sensor: evaporation | fields: depth, level, type, lat\nTask: Get lon from sunlight where unit appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004788", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, unit, ts, value\n Sensor: turbidity | fields: lat, value, reading, ts\nTask: Retrieve value from wind_speed with depth above the COUNT(value) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004789", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, lon, depth, value\n Sensor: rainfall | fields: level, reading, qc, value\nTask: Get lat from drought_index where unit appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004790", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, type, unit, level\n Sensor: temperature | fields: type, level, depth, unit\nTask: Fetch reading from uv_index where depth is greater than the total of depth in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004791", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lat, type, value, unit\n Sensor: evaporation | fields: depth, value, lat, lon\nTask: Retrieve lat from turbidity with depth above the SUM(depth) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004792", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, lat, reading, depth\n Sensor: turbidity | fields: type, lat, value, lon\nTask: Fetch lon from temperature where reading is greater than the count of of value in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004793", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, lon, reading, type\n Sensor: pressure | fields: ts, level, reading, type\nTask: Fetch level from dew_point where reading is greater than the minimum of reading in pressure for matching qc.\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(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004794", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: ts, level, depth, lon\n Sensor: air_quality | fields: type, qc, depth, reading\nTask: Fetch level from frost where qc exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004795", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: ts, reading, value, level\n Sensor: visibility | fields: lon, lat, unit, type\nTask: Get lon from snow_depth where depth exceeds the count of reading from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004796", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, value, reading, depth\n Sensor: air_quality | fields: unit, type, value, lon\nTask: Fetch depth from lightning that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004797", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: ts, value, level, reading\n Sensor: drought_index | fields: type, reading, lat, level\nTask: Retrieve depth from air_quality whose type is found in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004798", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, unit, level, type\n Sensor: drought_index | fields: value, reading, depth, lat\nTask: Retrieve lat from sunlight whose unit is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004799", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, depth, qc, level\n Sensor: sunlight | fields: qc, lon, level, ts\nTask: Retrieve value from drought_index that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004800", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: qc, lon, unit, ts\n Sensor: cloud_cover | fields: ts, lon, lat, level\nTask: Retrieve value from air_quality that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004801", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: depth, lat, reading, value\n Sensor: pressure | fields: depth, lon, value, level\nTask: Get lon from drought_index where ts appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004802", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: depth, lat, unit, qc\n Sensor: visibility | fields: level, reading, ts, unit\nTask: Retrieve lat from rainfall whose type is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004803", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lon, level, qc, type\n Sensor: cloud_cover | fields: ts, reading, value, lon\nTask: Get value from snow_depth where a corresponding entry exists in cloud_cover with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004804", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, qc, level, value\n Sensor: cloud_cover | fields: ts, lon, qc, type\nTask: Get lon from pressure where depth appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004805", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: value, qc, level, ts\n Sensor: humidity | fields: lat, type, qc, unit\nTask: Get lon from soil_moisture where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004806", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, depth, level, qc\n Sensor: snow_depth | fields: qc, ts, unit, lat\nTask: Fetch value from rainfall where unit exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004807", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, type, unit, reading\n Sensor: drought_index | fields: depth, level, lon, value\nTask: Retrieve lat from dew_point that have at least one matching reading in drought_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004808", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: unit, level, reading, lon\n Sensor: uv_index | fields: unit, value, depth, level\nTask: Get lat from visibility where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004809", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: type, unit, lon, depth\n Sensor: dew_point | fields: value, reading, lat, qc\nTask: Get lat from humidity where ts appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004810", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: unit, lat, ts, reading\n Sensor: drought_index | fields: qc, ts, type, lon\nTask: Fetch depth from temperature that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004811", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, qc, value, ts\n Sensor: turbidity | fields: ts, qc, value, level\nTask: Get level from visibility where qc appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "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_fixed_v1_val_004812", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lat, depth, qc, unit\n Sensor: snow_depth | fields: qc, level, ts, unit\nTask: Retrieve lon from rainfall whose type is found in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004813", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, level, lat, value\n Sensor: humidity | fields: lat, ts, depth, level\nTask: Retrieve reading from cloud_cover with value above the AVG(reading) of humidity 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(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "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_fixed_v1_val_004814", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: qc, lat, value, ts\n Sensor: air_quality | fields: type, qc, lon, reading\nTask: Retrieve value from sunlight with depth above the COUNT(reading) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004815", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, qc, depth, value\n Sensor: rainfall | fields: qc, lat, ts, level\nTask: Get value from temperature where depth appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004816", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, value, level, reading\n Sensor: drought_index | fields: reading, type, ts, depth\nTask: Get lat from uv_index where unit 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=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004817", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: ts, lat, depth, type\n Sensor: uv_index | fields: reading, unit, lat, ts\nTask: Fetch depth from rainfall where depth is greater than the average of depth in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004818", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, qc, ts, reading\n Sensor: snow_depth | fields: lat, qc, depth, value\nTask: Fetch level from drought_index where ts exists in snow_depth sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "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_fixed_v1_val_004819", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: value, ts, unit, qc\n Sensor: air_quality | fields: value, type, reading, depth\nTask: Get level from visibility where value exceeds the minimum depth from air_quality for the same depth.\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=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004820", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, value, ts, type\n Sensor: evaporation | fields: value, reading, type, level\nTask: Retrieve level from air_quality that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004821", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lat, reading, type, ts\n Sensor: rainfall | fields: type, reading, lon, level\nTask: Retrieve reading from uv_index that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004822", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, type, reading, qc\n Sensor: sunlight | fields: lon, type, qc, depth\nTask: Get level from cloud_cover where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004823", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, level, reading, value\n Sensor: cloud_cover | fields: value, depth, unit, type\nTask: Retrieve reading from pressure whose type is found in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004824", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: type, level, lat, reading\n Sensor: humidity | fields: type, lat, reading, ts\nTask: Fetch level from rainfall where unit exists in humidity sensor data for the same depth.\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=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004825", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lon, type, unit, level\n Sensor: turbidity | fields: lon, reading, ts, lat\nTask: Get lon from soil_moisture where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004826", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, lat, ts, lon\n Sensor: air_quality | fields: lat, lon, type, depth\nTask: Fetch reading from drought_index where depth is greater than the count of of value in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004827", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lat, ts, level, reading\n Sensor: uv_index | fields: level, reading, depth, qc\nTask: Fetch reading from drought_index where value is greater than the count of of reading in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004828", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: depth, ts, reading, lon\n Sensor: air_quality | fields: lon, qc, level, type\nTask: Retrieve lat 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=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004829", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, qc, lat, type\n Sensor: pressure | fields: ts, value, type, lon\nTask: Fetch level from evaporation that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004830", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: qc, value, level, unit\n Sensor: pressure | fields: lon, lat, type, qc\nTask: Get reading from wind_speed where depth exceeds the minimum value from pressure for the same depth.\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(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "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_fixed_v1_val_004831", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, depth, type, value\n Sensor: turbidity | fields: type, value, lon, qc\nTask: Get depth from lightning where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004832", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, depth, qc, ts\n Sensor: pressure | fields: level, lon, lat, ts\nTask: Get level from temperature where reading exceeds the maximum reading from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004833", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, unit, type, lon\n Sensor: snow_depth | fields: qc, level, value, lon\nTask: Get lat from uv_index where value exceeds the count of reading from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004834", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: reading, depth, value, unit\n Sensor: sunlight | fields: ts, lon, lat, unit\nTask: Fetch level from visibility where type exists in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004835", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lon, level, unit, type\n Sensor: dew_point | fields: lon, qc, type, reading\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=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004836", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: value, lat, unit, qc\n Sensor: turbidity | fields: type, lon, reading, lat\nTask: Get depth from uv_index where reading exceeds the count of reading from turbidity for the same unit.\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(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004837", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, qc, ts, type\n Sensor: wind_speed | fields: qc, level, reading, lon\nTask: Retrieve reading from turbidity that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004838", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: level, value, qc, type\n Sensor: soil_moisture | fields: ts, type, lon, qc\nTask: Get lat from dew_point where unit appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\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": "dew_point", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004839", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lat, value, unit, lon\n Sensor: sunlight | fields: ts, depth, value, qc\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=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004840", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, lat, type, ts\n Sensor: air_quality | fields: value, unit, level, reading\nTask: Get reading from evaporation where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004841", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, unit, value, lat\n Sensor: pressure | fields: reading, unit, type, depth\nTask: Retrieve lat from frost with depth above the MIN(value) of pressure readings sharing the same 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(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "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_fixed_v1_val_004842", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lat, ts, unit, qc\n Sensor: soil_moisture | fields: lat, lon, depth, unit\nTask: Fetch lat from wind_speed where value is greater than the maximum of value in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004843", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, value, reading, unit\n Sensor: turbidity | fields: lon, reading, ts, type\nTask: Retrieve depth from visibility that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004844", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lat, reading, lon, depth\n Sensor: air_quality | fields: depth, ts, lat, qc\nTask: Fetch lon from sunlight that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004845", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, lat, level, depth\n Sensor: evaporation | fields: reading, ts, qc, lat\nTask: Retrieve reading from sunlight with depth above the MIN(reading) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004846", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, unit, lat, depth\n Sensor: soil_moisture | fields: lon, qc, reading, value\nTask: Retrieve level from evaporation whose type is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004847", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, reading, depth, qc\n Sensor: uv_index | fields: value, reading, type, unit\nTask: Retrieve value from snow_depth with depth above the SUM(reading) of uv_index readings sharing the same qc.\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(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004848", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, reading, depth, qc\n Sensor: dew_point | fields: qc, level, unit, value\nTask: Get reading from air_quality where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004849", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, lon, depth, qc\n Sensor: turbidity | fields: reading, unit, depth, value\nTask: Retrieve lon from rainfall that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004850", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, level, reading, ts\n Sensor: air_quality | fields: depth, ts, value, qc\nTask: Fetch level from uv_index where depth is greater than the average of value in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004851", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: reading, ts, value, lon\n Sensor: evaporation | fields: unit, depth, qc, value\nTask: Retrieve depth from sunlight with depth above the SUM(reading) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004852", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, type, lon, unit\n Sensor: rainfall | fields: lon, unit, lat, ts\nTask: Fetch value from frost where reading is greater than the minimum of depth in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004853", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: depth, unit, qc, reading\n Sensor: snow_depth | fields: ts, qc, unit, level\nTask: Get lon from visibility where reading exceeds the minimum depth from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "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_fixed_v1_val_004854", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: reading, ts, type, unit\n Sensor: air_quality | fields: unit, lat, level, lon\nTask: Fetch value 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=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004855", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, level, unit, reading\n Sensor: air_quality | fields: lon, qc, value, type\nTask: Fetch reading from sunlight that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004856", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: level, type, ts, lat\n Sensor: dew_point | fields: lat, depth, level, reading\nTask: Retrieve lat from evaporation whose unit is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004857", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: value, qc, depth, level\n Sensor: air_quality | fields: qc, lon, lat, reading\nTask: Get level from drought_index where reading exceeds the total reading from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004858", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: value, ts, lon, reading\n Sensor: wind_speed | fields: unit, ts, qc, depth\nTask: Fetch lat from drought_index where value is greater than the maximum of reading in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004859", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, value, lat, qc\n Sensor: wind_speed | fields: reading, lat, lon, level\nTask: Retrieve value from soil_moisture whose depth is found in wind_speed records where unit 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(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "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_fixed_v1_val_004860", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, lon, lat, reading\n Sensor: snow_depth | fields: type, qc, reading, ts\nTask: Get lat from drought_index where value exceeds the maximum value from snow_depth for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004861", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, ts, type, unit\n Sensor: humidity | fields: ts, value, depth, lat\nTask: Fetch lat from wind_speed where ts exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004862", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: qc, reading, unit, lat\n Sensor: temperature | fields: reading, ts, qc, lat\nTask: Fetch reading from dew_point where reading is greater than the total of value in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004863", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lon, ts, lat, qc\n Sensor: turbidity | fields: depth, ts, qc, lon\nTask: Retrieve lat from lightning that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004864", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, depth, value, lat\n Sensor: evaporation | fields: depth, ts, level, reading\nTask: Fetch level from drought_index where depth exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004865", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: ts, reading, level, lon\n Sensor: dew_point | fields: type, lat, depth, lon\nTask: Get depth 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=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004866", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: type, reading, level, lat\n Sensor: drought_index | fields: unit, lat, reading, value\nTask: Get value from lightning where a corresponding entry exists in drought_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004867", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lon, lat, qc, depth\n Sensor: uv_index | fields: depth, lat, qc, value\nTask: Retrieve depth from sunlight with depth above the MAX(depth) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\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": "mst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004868", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: unit, reading, value, lat\n Sensor: frost | fields: unit, lon, type, value\nTask: Get level from humidity where depth appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004869", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lat, ts, level, qc\n Sensor: frost | fields: reading, level, value, unit\nTask: Fetch lon from lightning that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004870", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, unit, qc, value\n Sensor: drought_index | fields: type, qc, unit, ts\nTask: Retrieve reading from humidity with value above the MIN(depth) of drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004871", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: value, reading, qc, unit\n Sensor: snow_depth | fields: value, type, lat, level\nTask: Fetch depth from uv_index that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004872", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: unit, lat, reading, depth\n Sensor: snow_depth | fields: unit, level, lon, value\nTask: Retrieve lon from soil_moisture with value above the MIN(depth) of snow_depth readings sharing the same type.\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(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004873", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, type, depth, lon\n Sensor: evaporation | fields: lon, reading, ts, depth\nTask: Get lon from visibility where depth exceeds the maximum value from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004874", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, lat, level, value\n Sensor: wind_speed | fields: qc, unit, reading, depth\nTask: Get reading from evaporation where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004875", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lon, reading, lat, level\n Sensor: turbidity | fields: lat, unit, reading, qc\nTask: Fetch depth 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=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004876", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, value, depth, level\n Sensor: humidity | fields: level, reading, value, ts\nTask: Get lon from drought_index where qc appears in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004877", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, lat, ts, reading\n Sensor: pressure | fields: qc, lon, ts, type\nTask: Retrieve lon 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=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004878", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: reading, depth, value, lat\n Sensor: rainfall | fields: reading, depth, level, qc\nTask: Fetch level from uv_index where reading is greater than the average of reading in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004879", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: level, qc, depth, type\n Sensor: rainfall | fields: reading, unit, type, level\nTask: Retrieve value from dew_point with depth above the AVG(value) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004880", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: unit, level, ts, type\n Sensor: soil_moisture | fields: depth, level, lon, unit\nTask: Fetch reading from cloud_cover where reading is greater than the minimum of reading in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004881", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: reading, unit, depth, qc\n Sensor: uv_index | fields: unit, lat, lon, type\nTask: Fetch value from dew_point where value is greater than the total of reading in uv_index for matching ts.\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(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "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_fixed_v1_val_004882", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: ts, type, lat, level\n Sensor: frost | fields: depth, lat, reading, level\nTask: Fetch lat from temperature where ts exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004883", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, reading, level, value\n Sensor: rainfall | fields: qc, depth, value, lat\nTask: Fetch lon from humidity where depth is greater than the minimum of value in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004884", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, type, lat, reading\n Sensor: lightning | fields: lon, unit, value, depth\nTask: Fetch reading from snow_depth that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004885", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, level, unit, qc\n Sensor: snow_depth | fields: qc, ts, reading, unit\nTask: Retrieve value from dew_point that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004886", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: qc, depth, reading, ts\n Sensor: air_quality | fields: lon, lat, type, unit\nTask: Retrieve level 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=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004887", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: reading, value, level, lon\n Sensor: dew_point | fields: qc, ts, level, reading\nTask: Fetch value from cloud_cover where qc exists in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004888", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, value, level, reading\n Sensor: soil_moisture | fields: depth, reading, level, lat\nTask: Retrieve depth from evaporation whose ts is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004889", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, lat, reading, value\n Sensor: cloud_cover | fields: ts, unit, qc, type\nTask: Retrieve lon from air_quality that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004890", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: qc, value, unit, reading\n Sensor: temperature | fields: lon, reading, level, depth\nTask: Get reading from uv_index where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004891", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, lon, qc, ts\n Sensor: humidity | fields: unit, ts, lat, type\nTask: Retrieve reading from soil_moisture with depth above the AVG(reading) of humidity readings sharing the same 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(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004892", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, unit, qc, reading\n Sensor: snow_depth | fields: type, unit, ts, value\nTask: Fetch reading from sunlight where reading is greater than the average of depth in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004893", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: ts, level, unit, type\n Sensor: uv_index | fields: unit, lon, depth, level\nTask: Retrieve level from sunlight whose qc is found in uv_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004894", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: unit, type, ts, lon\n Sensor: pressure | fields: reading, unit, type, ts\nTask: Get depth from air_quality where a corresponding entry exists in pressure with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004895", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: level, reading, lat, lon\n Sensor: pressure | fields: depth, lat, ts, level\nTask: Fetch lon from wind_speed where value is greater than the count of of value in pressure for matching type.\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=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004896", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, unit, qc, ts\n Sensor: air_quality | fields: ts, qc, value, level\nTask: Fetch level from uv_index where depth is greater than the average of value in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004897", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: type, ts, lat, lon\n Sensor: turbidity | fields: level, unit, ts, reading\nTask: Fetch level from humidity that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004898", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, type, ts, lat\n Sensor: wind_speed | fields: lat, reading, type, depth\nTask: Retrieve value from rainfall with depth above the SUM(reading) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004899", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, value, type, depth\n Sensor: wind_speed | fields: ts, lat, unit, reading\nTask: Fetch lat from air_quality where depth is greater than the total of depth in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004900", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: type, depth, lon, qc\n Sensor: pressure | fields: reading, ts, level, unit\nTask: Retrieve depth from turbidity whose depth is found in pressure records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004901", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, level, lon, type\n Sensor: snow_depth | fields: lon, unit, value, ts\nTask: Get lat from air_quality where depth exceeds the maximum depth from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004902", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lon, type, reading, unit\n Sensor: rainfall | fields: lat, unit, lon, qc\nTask: Get value from lightning where type appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004903", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, unit, lat, level\n Sensor: evaporation | fields: value, lat, reading, lon\nTask: Fetch lat 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=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004904", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: type, value, level, qc\n Sensor: air_quality | fields: value, unit, qc, lat\nTask: Get lon from lightning where type appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004905", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: qc, level, unit, value\n Sensor: cloud_cover | fields: lat, type, depth, qc\nTask: Get value from soil_moisture where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004906", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: unit, qc, lon, level\n Sensor: drought_index | fields: value, unit, reading, level\nTask: Get depth from soil_moisture where qc appears in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004907", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, value, reading, level\n Sensor: evaporation | fields: ts, depth, value, type\nTask: Retrieve lon from sunlight that have at least one matching reading in evaporation sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004908", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, ts, reading, lon\n Sensor: pressure | fields: ts, qc, lat, level\nTask: Get reading from sunlight where depth exceeds the minimum depth from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004909", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, lat, lon, depth\n Sensor: wind_speed | fields: value, level, lat, reading\nTask: Get lat from sunlight where unit appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004910", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, qc, level, value\n Sensor: frost | fields: lon, reading, lat, qc\nTask: Fetch lon from sunlight that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004911", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lon, ts, value, unit\n Sensor: cloud_cover | fields: depth, lon, lat, level\nTask: Fetch value from drought_index where qc exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004912", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, lon, unit, reading\n Sensor: temperature | fields: ts, level, lon, type\nTask: Retrieve lat from dew_point that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004913", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, qc, reading, value\n Sensor: rainfall | fields: ts, lat, reading, type\nTask: Fetch reading from snow_depth that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004914", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: level, lon, value, unit\n Sensor: temperature | fields: unit, ts, lon, type\nTask: Fetch value from soil_moisture where reading is greater than the maximum of depth in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004915", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lon, type, value, qc\n Sensor: lightning | fields: level, type, value, unit\nTask: Get reading from rainfall where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004916", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, ts, value, level\n Sensor: humidity | fields: value, unit, depth, lon\nTask: Fetch level from turbidity where value is greater than the average of depth in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004917", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, value, lon, ts\n Sensor: dew_point | fields: level, unit, qc, lat\nTask: Retrieve lon from sunlight that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004918", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, value, lat, ts\n Sensor: drought_index | fields: unit, value, lat, qc\nTask: Get lon from visibility where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004919", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, ts, lon, qc\n Sensor: sunlight | fields: level, qc, reading, ts\nTask: Fetch reading from temperature where depth exists in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004920", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, depth, unit, level\n Sensor: humidity | fields: qc, lon, type, depth\nTask: Retrieve depth from pressure with reading above the MIN(depth) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004921", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, type, depth, lon\n Sensor: pressure | fields: qc, type, depth, reading\nTask: Get reading from evaporation where reading exceeds the maximum depth from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004922", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: depth, level, type, ts\n Sensor: lightning | fields: lat, value, type, lon\nTask: Fetch lon from uv_index where ts exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004923", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: level, value, qc, lon\n Sensor: visibility | fields: type, ts, qc, lat\nTask: Get lat from humidity where reading exceeds the maximum reading from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004924", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, reading, qc, lat\n Sensor: turbidity | fields: type, lat, level, qc\nTask: Retrieve reading from evaporation that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004925", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: value, reading, lon, level\n Sensor: temperature | fields: type, unit, ts, depth\nTask: Get lat from snow_depth where unit appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004926", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: depth, type, qc, ts\n Sensor: sunlight | fields: type, ts, reading, unit\nTask: Fetch level from humidity that have at least one corresponding sunlight measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004927", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: level, ts, lon, unit\n Sensor: humidity | fields: lon, ts, depth, unit\nTask: Get value from air_quality where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004928", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, level, depth, type\n Sensor: rainfall | fields: unit, value, lat, depth\nTask: Get depth from frost where ts appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004929", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, lon, depth, reading\n Sensor: drought_index | fields: reading, level, lat, type\nTask: Retrieve value 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=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004930", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, type, reading, value\n Sensor: turbidity | fields: type, level, lat, lon\nTask: Retrieve depth from drought_index with value above the COUNT(value) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004931", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: ts, lon, qc, unit\n Sensor: visibility | fields: lon, type, unit, lat\nTask: Fetch lon 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=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004932", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: value, type, lat, reading\n Sensor: humidity | fields: value, lat, unit, type\nTask: Fetch depth from frost where qc exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004933", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, qc, level, depth\n Sensor: drought_index | fields: unit, depth, ts, qc\nTask: Get reading from wind_speed where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004934", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lon, unit, ts, reading\n Sensor: turbidity | fields: type, ts, lon, qc\nTask: Retrieve value from evaporation that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004935", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: qc, level, unit, depth\n Sensor: rainfall | fields: value, lon, reading, ts\nTask: Fetch depth from uv_index that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004936", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: type, reading, qc, unit\n Sensor: wind_speed | fields: value, lon, depth, reading\nTask: Get value from soil_moisture where ts appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004937", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lon, unit, qc, ts\n Sensor: cloud_cover | fields: lat, unit, ts, lon\nTask: Get value from dew_point where qc appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\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": "mst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004938", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: level, qc, reading, lat\n Sensor: air_quality | fields: lat, unit, level, type\nTask: Get level from uv_index where reading exceeds the average depth from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004939", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, qc, value, lon\n Sensor: wind_speed | fields: lat, depth, qc, level\nTask: Retrieve lon from evaporation with depth above the SUM(value) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004940", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: depth, reading, lat, level\n Sensor: temperature | fields: reading, unit, type, value\nTask: Retrieve value from dew_point with depth above the MIN(value) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\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", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004941", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: ts, qc, lat, type\n Sensor: soil_moisture | fields: type, lat, value, unit\nTask: Retrieve lon from dew_point with value above the COUNT(reading) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004942", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: qc, depth, unit, ts\n Sensor: wind_speed | fields: value, unit, lon, qc\nTask: Fetch value from cloud_cover where ts exists in wind_speed sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "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_fixed_v1_val_004943", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: reading, lat, ts, level\n Sensor: temperature | fields: unit, lon, value, level\nTask: Fetch reading from drought_index where value is greater than the maximum of reading in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004944", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: unit, level, lat, reading\n Sensor: wind_speed | fields: level, reading, qc, type\nTask: Fetch lat from sunlight where type exists in wind_speed sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004945", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: qc, depth, reading, level\n Sensor: frost | fields: lat, level, type, qc\nTask: Fetch lat from humidity that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004946", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: type, level, lon, value\n Sensor: sunlight | fields: value, type, ts, qc\nTask: Retrieve value from rainfall that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004947", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, type, ts, lat\n Sensor: dew_point | fields: lon, ts, type, unit\nTask: Get reading from cloud_cover where reading exceeds the count of depth from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\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": "gst", "inner_alias": "cnd", "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_fixed_v1_val_004948", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: qc, unit, lat, value\n Sensor: dew_point | fields: ts, level, value, lon\nTask: Get lon from drought_index where ts appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004949", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: unit, lat, qc, lon\n Sensor: air_quality | fields: ts, lon, type, depth\nTask: Retrieve depth from temperature whose qc is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004950", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, depth, value, lon\n Sensor: soil_moisture | fields: reading, type, depth, lon\nTask: Retrieve depth from lightning whose qc is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004951", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: qc, value, lon, ts\n Sensor: uv_index | fields: qc, reading, depth, ts\nTask: Fetch reading from lightning where depth is greater than the count of of value in uv_index 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(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004952", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: reading, lat, ts, type\n Sensor: evaporation | fields: level, depth, unit, lon\nTask: Get lat from rainfall where value exceeds the maximum reading from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "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_fixed_v1_val_004953", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, qc, lon, lat\n Sensor: lightning | fields: reading, level, depth, unit\nTask: Get value from uv_index where reading exceeds the count of reading from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004954", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: depth, ts, lon, unit\n Sensor: soil_moisture | fields: reading, ts, lon, type\nTask: Fetch lon from rainfall where depth exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004955", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, reading, unit, ts\n Sensor: visibility | fields: type, depth, qc, lat\nTask: Fetch reading from snow_depth where unit exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "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_fixed_v1_val_004956", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, ts, value, type\n Sensor: sunlight | fields: reading, depth, level, lat\nTask: Get level from dew_point where depth appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004957", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, reading, unit, level\n Sensor: evaporation | fields: level, lon, qc, ts\nTask: Retrieve lon from humidity that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004958", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: unit, lat, type, ts\n Sensor: frost | fields: level, value, qc, type\nTask: Fetch value from pressure where unit exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004959", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: ts, unit, lon, reading\n Sensor: drought_index | fields: value, ts, lat, level\nTask: Get lon from soil_moisture where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004960", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, type, ts, qc\n Sensor: frost | fields: type, ts, reading, level\nTask: Get lon from dew_point where depth exceeds the count of reading from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004961", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, unit, level, reading\n Sensor: air_quality | fields: depth, level, unit, type\nTask: Fetch depth from sunlight where value is greater than the minimum of value in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004962", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: type, level, lat, value\n Sensor: turbidity | fields: depth, reading, unit, lat\nTask: Get reading from snow_depth where reading exceeds the minimum depth from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "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_fixed_v1_val_004963", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, unit, level, type\n Sensor: snow_depth | fields: reading, depth, qc, value\nTask: Get lon from air_quality where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004964", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lat, unit, ts, reading\n Sensor: humidity | fields: unit, type, level, qc\nTask: Fetch depth from turbidity where qc exists in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004965", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: ts, level, lat, depth\n Sensor: cloud_cover | fields: ts, level, depth, type\nTask: Retrieve value from lightning that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004966", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, unit, level, ts\n Sensor: evaporation | fields: ts, qc, lon, lat\nTask: Retrieve lon from dew_point whose qc is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004967", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, depth, lon, lat\n Sensor: visibility | fields: depth, reading, lon, qc\nTask: Get value from turbidity where qc appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004968", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: qc, reading, unit, ts\n Sensor: wind_speed | fields: depth, qc, ts, reading\nTask: Get depth from pressure where depth exceeds the count of reading from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004969", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: type, level, reading, lat\n Sensor: evaporation | fields: lat, depth, qc, unit\nTask: Retrieve reading from wind_speed whose unit is found in evaporation records where unit 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(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004970", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: qc, unit, reading, level\n Sensor: visibility | fields: level, lat, unit, ts\nTask: Fetch value from pressure where depth is greater than the maximum of value in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004971", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: unit, reading, lat, lon\n Sensor: humidity | fields: depth, qc, lat, type\nTask: Get value 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=\"hgr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004972", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: type, lat, value, qc\n Sensor: frost | fields: reading, qc, unit, lat\nTask: Fetch lat from wind_speed where reading is greater than the minimum of reading in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004973", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, depth, lat, ts\n Sensor: drought_index | fields: reading, lat, unit, depth\nTask: Retrieve value from evaporation with depth above the SUM(depth) 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(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004974", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: reading, type, lon, ts\n Sensor: temperature | fields: unit, depth, lon, reading\nTask: Fetch depth from soil_moisture where qc exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "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_fixed_v1_val_004975", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: depth, lon, qc, lat\n Sensor: drought_index | fields: unit, lat, type, qc\nTask: Fetch lon from humidity that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004976", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: level, unit, type, lon\n Sensor: evaporation | fields: lon, depth, reading, type\nTask: Retrieve value from humidity that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004977", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, lon, reading, level\n Sensor: visibility | fields: lat, value, lon, unit\nTask: Get value from humidity where depth appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004978", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: value, depth, lon, type\n Sensor: frost | fields: type, value, reading, qc\nTask: Get lon from dew_point where ts appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004979", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lon, reading, depth, value\n Sensor: temperature | fields: lat, level, lon, unit\nTask: Retrieve level from uv_index that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004980", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lat, lon, level, qc\n Sensor: lightning | fields: depth, type, lat, reading\nTask: Retrieve reading from drought_index that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "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_fixed_v1_val_004981", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: unit, lat, ts, depth\n Sensor: humidity | fields: type, unit, reading, lon\nTask: Fetch lon from sunlight where qc exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004982", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: unit, lon, level, ts\n Sensor: humidity | fields: lon, reading, lat, ts\nTask: Fetch reading from uv_index where reading is greater than the maximum of reading in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004983", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lon, value, reading, depth\n Sensor: air_quality | fields: unit, level, value, type\nTask: Retrieve level from wind_speed whose unit is found in air_quality records where ts 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(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004984", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: value, qc, ts, reading\n Sensor: rainfall | fields: unit, lat, value, type\nTask: Get depth from visibility where ts appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004985", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, type, value, qc\n Sensor: wind_speed | fields: lat, level, ts, unit\nTask: Fetch lat from humidity that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004986", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: value, type, lat, ts\n Sensor: evaporation | fields: lat, unit, depth, qc\nTask: Retrieve lat from soil_moisture that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004987", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: qc, depth, level, reading\n Sensor: snow_depth | fields: level, reading, qc, lon\nTask: Get lon from visibility where depth exceeds the maximum reading from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004988", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: qc, lat, reading, value\n Sensor: uv_index | fields: depth, unit, type, reading\nTask: Retrieve lat from humidity whose ts is found in uv_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\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": "humidity", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004989", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: qc, level, value, depth\n Sensor: soil_moisture | fields: lat, level, value, reading\nTask: Fetch lon from dew_point where ts exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004990", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: qc, value, level, ts\n Sensor: evaporation | fields: lon, lat, qc, value\nTask: Retrieve value from humidity with reading above the SUM(value) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "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_fixed_v1_val_004991", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: ts, reading, qc, type\n Sensor: visibility | fields: level, depth, lon, lat\nTask: Retrieve value from air_quality whose ts is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004992", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: depth, type, lon, level\n Sensor: visibility | fields: type, ts, lat, level\nTask: Retrieve level from rainfall whose type is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004993", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: type, lon, unit, level\n Sensor: cloud_cover | fields: ts, lat, depth, unit\nTask: Get lon from sunlight where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "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_fixed_v1_val_004994", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: reading, unit, qc, level\n Sensor: cloud_cover | fields: type, qc, depth, reading\nTask: Retrieve depth from visibility with reading above the AVG(depth) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004995", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: depth, value, qc, ts\n Sensor: humidity | fields: reading, level, ts, lon\nTask: Get lat from uv_index where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004996", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, level, type, ts\n Sensor: temperature | fields: type, reading, level, ts\nTask: Fetch reading from humidity where type exists in temperature 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(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_004997", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, value, qc, level\n Sensor: evaporation | fields: level, depth, lon, ts\nTask: Retrieve lat from soil_moisture that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_004998", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, unit, level, ts\n Sensor: dew_point | fields: level, lon, type, depth\nTask: Fetch lon from uv_index where qc exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "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_fixed_v1_val_004999", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, depth, reading, ts\n Sensor: drought_index | fields: lat, unit, ts, depth\nTask: Get lon from sunlight where qc appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005000", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: level, lat, value, depth\n Sensor: drought_index | fields: reading, unit, lat, qc\nTask: Retrieve lon from frost with value above the AVG(reading) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005001", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, unit, qc, lon\n Sensor: snow_depth | fields: lon, value, level, unit\nTask: Retrieve value from drought_index with reading above the AVG(depth) of snow_depth readings sharing the same qc.\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(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005002", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: type, depth, level, value\n Sensor: dew_point | fields: qc, value, lat, depth\nTask: Fetch lat from visibility where reading is greater than the count of of depth in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005003", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, lat, ts, value\n Sensor: air_quality | fields: value, depth, level, type\nTask: Get level 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=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005004", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lat, qc, ts, lon\n Sensor: lightning | fields: depth, unit, level, reading\nTask: Fetch depth from sunlight where depth is greater than the maximum of value in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005005", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, value, ts, lon\n Sensor: visibility | fields: value, qc, depth, lon\nTask: Retrieve lat from soil_moisture whose qc is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005006", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, ts, qc, value\n Sensor: rainfall | fields: lat, qc, lon, ts\nTask: Get reading from drought_index where ts appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005007", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lat, level, unit, reading\n Sensor: sunlight | fields: type, lat, level, lon\nTask: Retrieve value from turbidity with value above the MAX(reading) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005008", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: reading, depth, lat, type\n Sensor: visibility | fields: ts, unit, lon, qc\nTask: Get level from pressure where ts appears in visibility readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005009", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, ts, level, lon\n Sensor: frost | fields: unit, depth, level, ts\nTask: Get reading from snow_depth where unit appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005010", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: value, type, lon, reading\n Sensor: temperature | fields: type, ts, lon, lat\nTask: Fetch level from wind_speed where ts exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "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_fixed_v1_val_005011", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, value, lat, level\n Sensor: cloud_cover | fields: qc, lat, level, unit\nTask: Get level from rainfall where value exceeds the count of reading from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005012", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: unit, lat, ts, reading\n Sensor: dew_point | fields: type, level, qc, depth\nTask: Get value from temperature where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005013", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, level, value, lon\n Sensor: cloud_cover | fields: depth, lat, value, lon\nTask: Retrieve lat from dew_point that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005014", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: ts, depth, type, unit\n Sensor: rainfall | fields: reading, unit, type, qc\nTask: Get reading from wind_speed where ts appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005015", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, lon, type, unit\n Sensor: evaporation | fields: lon, qc, ts, lat\nTask: Get level from sunlight where reading exceeds the count of reading from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005016", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, value, lon, level\n Sensor: temperature | fields: level, reading, depth, ts\nTask: Retrieve depth from uv_index whose depth is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005017", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: qc, lat, reading, value\n Sensor: visibility | fields: type, lon, qc, level\nTask: Fetch reading from evaporation that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005018", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, qc, lat, type\n Sensor: cloud_cover | fields: value, qc, level, unit\nTask: Retrieve lat from turbidity with depth above the SUM(value) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005019", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: unit, value, level, reading\n Sensor: snow_depth | fields: value, reading, level, lon\nTask: Get level 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=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005020", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lat, reading, lon, depth\n Sensor: frost | fields: qc, lat, type, depth\nTask: Fetch lat from cloud_cover that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005021", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: unit, type, lat, qc\n Sensor: temperature | fields: level, depth, qc, type\nTask: Fetch reading from visibility where depth exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005022", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: depth, type, qc, unit\n Sensor: temperature | fields: ts, value, qc, reading\nTask: Fetch lat from sunlight where value is greater than the minimum of value in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005023", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: value, reading, lat, lon\n Sensor: humidity | fields: level, lat, value, unit\nTask: Fetch reading from frost where reading is greater than the average of depth in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005024", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, reading, unit, level\n Sensor: lightning | fields: reading, lon, ts, unit\nTask: Get lat from frost where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005025", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: unit, qc, type, lon\n Sensor: soil_moisture | fields: type, reading, qc, unit\nTask: Retrieve reading from humidity whose qc 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=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005026", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: value, lat, ts, level\n Sensor: cloud_cover | fields: lat, value, type, level\nTask: Fetch depth from visibility where value is greater than the average of depth in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005027", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, depth, type, lat\n Sensor: snow_depth | fields: ts, lat, level, unit\nTask: Fetch lon from air_quality where reading is greater than the total of depth in snow_depth for matching unit.\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(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005028", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, value, lon, type\n Sensor: soil_moisture | fields: reading, type, lat, qc\nTask: Retrieve lat from snow_depth with depth above the COUNT(value) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "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_fixed_v1_val_005029", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, ts, type, value\n Sensor: cloud_cover | fields: level, type, reading, ts\nTask: Get level from rainfall where a corresponding entry exists in cloud_cover with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\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": "stn", "inner_alias": "nbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005030", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: ts, value, depth, unit\n Sensor: snow_depth | fields: ts, depth, lat, type\nTask: Fetch level from humidity where unit exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005031", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, level, lat, ts\n Sensor: visibility | fields: lon, level, depth, type\nTask: Fetch lon from air_quality that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005032", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, value, depth, lon\n Sensor: rainfall | fields: level, qc, lat, ts\nTask: Get reading from drought_index where ts appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005033", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: depth, lon, unit, lat\n Sensor: visibility | fields: reading, type, qc, depth\nTask: Retrieve reading from turbidity that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005034", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, type, value, qc\n Sensor: temperature | fields: depth, value, qc, type\nTask: Retrieve lon from visibility with value above the SUM(reading) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005035", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, type, depth, level\n Sensor: rainfall | fields: reading, depth, lon, value\nTask: Get depth from soil_moisture where type appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005036", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, qc, ts, lon\n Sensor: evaporation | fields: qc, ts, unit, lon\nTask: Retrieve value from soil_moisture with reading above the MIN(value) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "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_fixed_v1_val_005037", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, ts, unit, lon\n Sensor: uv_index | fields: reading, ts, qc, level\nTask: Fetch level from wind_speed that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005038", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: reading, qc, level, unit\n Sensor: sunlight | fields: level, reading, ts, value\nTask: Get value from frost where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005039", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: reading, lat, level, type\n Sensor: frost | fields: ts, reading, unit, lat\nTask: Fetch lon from sunlight where qc exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "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_fixed_v1_val_005040", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: value, lat, reading, unit\n Sensor: uv_index | fields: lat, value, type, reading\nTask: Fetch reading from soil_moisture where value is greater than the total of value in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005041", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, depth, lat, value\n Sensor: turbidity | fields: type, depth, level, ts\nTask: Fetch depth from temperature where type exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005042", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: qc, reading, lon, unit\n Sensor: wind_speed | fields: depth, lat, ts, qc\nTask: Fetch lat from frost that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005043", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: depth, value, lon, unit\n Sensor: frost | fields: lat, depth, lon, unit\nTask: Get level from uv_index where depth appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005044", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, unit, depth, lon\n Sensor: wind_speed | fields: qc, type, depth, level\nTask: Get depth from lightning where ts appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005045", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: type, unit, lon, reading\n Sensor: sunlight | fields: value, level, ts, lat\nTask: Fetch level from uv_index where unit exists in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005046", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, reading, unit, lon\n Sensor: wind_speed | fields: ts, qc, lat, reading\nTask: Retrieve level from drought_index with depth above the COUNT(value) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005047", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: unit, value, type, depth\n Sensor: cloud_cover | fields: level, ts, reading, lon\nTask: Retrieve lat from uv_index that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005048", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, lat, lon, ts\n Sensor: frost | fields: qc, depth, ts, unit\nTask: Fetch value from humidity where value is greater than the total of reading in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005049", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, depth, reading, ts\n Sensor: frost | fields: reading, type, ts, value\nTask: Fetch value from humidity where type exists in frost 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(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005050", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: qc, level, depth, value\n Sensor: temperature | fields: lon, value, lat, depth\nTask: Get lat from uv_index where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005051", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, ts, type, qc\n Sensor: turbidity | fields: lon, type, level, value\nTask: Retrieve level from dew_point whose ts is found in turbidity records where type 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(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005052", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: reading, level, qc, lon\n Sensor: wind_speed | fields: depth, value, unit, level\nTask: Retrieve lon from uv_index with reading above the MAX(depth) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005053", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, unit, depth, value\n Sensor: frost | fields: ts, qc, value, unit\nTask: Fetch lon from visibility that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005054", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, unit, level, lat\n Sensor: frost | fields: lon, value, qc, depth\nTask: Fetch level from temperature where value is greater than the total of depth in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005055", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, lon, type, depth\n Sensor: turbidity | fields: qc, lon, value, reading\nTask: Fetch level from air_quality where value is greater than the count of of reading in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005056", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: depth, reading, lon, value\n Sensor: lightning | fields: type, depth, ts, qc\nTask: Get value from rainfall where type appears in lightning readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005057", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: depth, lat, ts, type\n Sensor: frost | fields: value, reading, type, depth\nTask: Get depth from evaporation where reading exceeds the total value from frost for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005058", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: unit, type, qc, depth\n Sensor: snow_depth | fields: qc, lon, type, depth\nTask: Retrieve lon from rainfall that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005059", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: type, qc, lon, ts\n Sensor: evaporation | fields: lat, qc, value, lon\nTask: Fetch lon from visibility where depth exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005060", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, qc, reading, depth\n Sensor: lightning | fields: lon, ts, reading, qc\nTask: Get level from rainfall where qc appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005061", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lon, ts, lat, qc\n Sensor: cloud_cover | fields: value, depth, lon, qc\nTask: Retrieve lat from drought_index whose qc is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005062", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: qc, type, reading, level\n Sensor: uv_index | fields: depth, lon, lat, unit\nTask: Retrieve value from frost whose unit is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005063", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lon, depth, unit, reading\n Sensor: sunlight | fields: value, depth, reading, type\nTask: Fetch level from humidity where reading is greater than the average of reading in sunlight for matching 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(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005064", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, unit, value, depth\n Sensor: humidity | fields: level, qc, reading, unit\nTask: Fetch depth from snow_depth where depth is greater than the minimum of depth in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005065", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: depth, value, ts, lat\n Sensor: cloud_cover | fields: type, lat, reading, lon\nTask: Retrieve lon from wind_speed whose qc is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005066", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, unit, qc, ts\n Sensor: wind_speed | fields: qc, lon, reading, value\nTask: Fetch value from rainfall where reading is greater than the maximum of value in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005067", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: qc, unit, depth, lon\n Sensor: dew_point | fields: unit, type, lat, qc\nTask: Get reading from sunlight where reading exceeds the total value from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005068", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: qc, type, lon, unit\n Sensor: pressure | fields: reading, qc, depth, value\nTask: Fetch value from rainfall where unit exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "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_fixed_v1_val_005069", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lat, level, reading, depth\n Sensor: cloud_cover | fields: lon, reading, depth, unit\nTask: Get lat from frost where reading exceeds the total depth from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005070", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, depth, qc, lat\n Sensor: rainfall | fields: depth, reading, lon, unit\nTask: Retrieve reading from wind_speed whose qc is found in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005071", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, depth, qc, type\n Sensor: rainfall | fields: level, value, ts, qc\nTask: Retrieve lon from humidity whose type is found in rainfall records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005072", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, qc, level, ts\n Sensor: temperature | fields: lon, depth, type, unit\nTask: Fetch lat from soil_moisture that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005073", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, lat, depth, type\n Sensor: pressure | fields: qc, level, type, depth\nTask: Fetch level from soil_moisture that have at least one corresponding pressure measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005074", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, level, ts, type\n Sensor: drought_index | fields: ts, unit, reading, lon\nTask: Get value from rainfall where reading exceeds the maximum value from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005075", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: type, lat, value, ts\n Sensor: air_quality | fields: unit, lon, reading, ts\nTask: Retrieve lon from turbidity with reading above the SUM(depth) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005076", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: level, unit, type, value\n Sensor: snow_depth | fields: type, value, reading, level\nTask: Fetch depth from drought_index where reading is greater than the total of depth in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005077", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: depth, ts, qc, unit\n Sensor: visibility | fields: reading, ts, type, lon\nTask: Retrieve depth from humidity that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005078", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: depth, lat, lon, level\n Sensor: lightning | fields: depth, qc, level, reading\nTask: Retrieve lat from turbidity whose unit is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005079", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lat, level, value, unit\n Sensor: snow_depth | fields: ts, unit, depth, lat\nTask: Get value from sunlight where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005080", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: depth, level, unit, value\n Sensor: lightning | fields: reading, lon, unit, ts\nTask: Get level from frost where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005081", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lat, lon, ts, type\n Sensor: visibility | fields: level, depth, type, reading\nTask: Retrieve reading from rainfall with depth above the MAX(depth) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005082", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: qc, lat, level, depth\n Sensor: dew_point | fields: value, type, reading, level\nTask: Fetch level from cloud_cover that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005083", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, lon, unit, qc\n Sensor: humidity | fields: depth, unit, type, ts\nTask: Retrieve reading from evaporation whose qc is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005084", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, lon, type, reading\n Sensor: lightning | fields: qc, value, level, unit\nTask: Get level from cloud_cover where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005085", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: ts, unit, lon, reading\n Sensor: temperature | fields: unit, lon, level, lat\nTask: Retrieve reading from evaporation that have at least one matching reading in temperature sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005086", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lat, qc, reading, value\n Sensor: temperature | fields: unit, lat, value, reading\nTask: Fetch depth from sunlight where unit exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005087", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: reading, type, lon, value\n Sensor: cloud_cover | fields: lon, lat, depth, ts\nTask: Retrieve depth from visibility whose ts is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005088", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lat, value, qc, type\n Sensor: soil_moisture | fields: unit, lon, type, depth\nTask: Get depth from visibility where depth appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\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": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005089", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: unit, reading, type, level\n Sensor: soil_moisture | fields: depth, reading, lon, level\nTask: Retrieve depth from humidity that have at least one matching reading in soil_moisture sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005090", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: unit, lat, reading, value\n Sensor: temperature | fields: type, lon, ts, depth\nTask: Get reading from wind_speed where unit appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005091", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, lon, type, lat\n Sensor: temperature | fields: lon, level, value, lat\nTask: Get lat from cloud_cover where a corresponding entry exists in temperature with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005092", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: unit, type, depth, lat\n Sensor: frost | fields: lat, value, depth, level\nTask: Fetch depth from lightning where unit exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005093", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: level, type, lon, value\n Sensor: turbidity | fields: ts, lat, level, reading\nTask: Retrieve level from snow_depth that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005094", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, lat, qc, level\n Sensor: visibility | fields: qc, lon, ts, depth\nTask: Get lon from evaporation where depth exceeds the total depth from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005095", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, type, qc, depth\n Sensor: sunlight | fields: ts, lat, lon, type\nTask: Fetch lat from turbidity that have at least one corresponding sunlight measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005096", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, depth, lat, value\n Sensor: pressure | fields: ts, type, lat, unit\nTask: Fetch depth from cloud_cover that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005097", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lat, type, unit, value\n Sensor: turbidity | fields: unit, ts, qc, reading\nTask: Retrieve depth from evaporation whose unit is found in turbidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005098", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, lon, ts, reading\n Sensor: turbidity | fields: lat, unit, lon, depth\nTask: Retrieve reading from dew_point whose unit is found in turbidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005099", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, reading, unit, lat\n Sensor: humidity | fields: type, unit, level, qc\nTask: Fetch lat from rainfall that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005100", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, type, lat, level\n Sensor: lightning | fields: ts, qc, type, level\nTask: Fetch lon from drought_index where depth is greater than the total of value in lightning for matching qc.\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(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005101", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: reading, value, lon, ts\n Sensor: cloud_cover | fields: level, lon, value, depth\nTask: Get depth from soil_moisture where reading exceeds the minimum depth from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005102", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, qc, level, reading\n Sensor: rainfall | fields: lat, depth, type, reading\nTask: Fetch value from lightning that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005103", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, depth, value, ts\n Sensor: evaporation | fields: ts, lat, type, level\nTask: Fetch reading from temperature that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005104", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: level, ts, lat, type\n Sensor: drought_index | fields: lon, reading, depth, qc\nTask: Get level from wind_speed where type appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005105", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: ts, level, qc, type\n Sensor: drought_index | fields: ts, qc, depth, unit\nTask: Retrieve lat from sunlight that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005106", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lat, ts, depth, unit\n Sensor: dew_point | fields: ts, reading, level, qc\nTask: Retrieve value from humidity that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005107", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: ts, value, lon, level\n Sensor: uv_index | fields: level, depth, unit, type\nTask: Fetch depth from visibility that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005108", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: qc, lat, level, depth\n Sensor: rainfall | fields: lat, qc, value, reading\nTask: Fetch lat from cloud_cover where reading is greater than the average of depth in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005109", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, qc, level, ts\n Sensor: humidity | fields: qc, ts, reading, value\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=\"hgr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005110", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: unit, value, qc, reading\n Sensor: soil_moisture | fields: type, reading, lat, unit\nTask: Retrieve depth from dew_point whose type is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005111", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, lon, type, lat\n Sensor: soil_moisture | fields: qc, depth, unit, lat\nTask: Get lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005112", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, ts, reading, type\n Sensor: temperature | fields: depth, ts, value, qc\nTask: Get lat from turbidity where depth exceeds the average value from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005113", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: unit, reading, lat, value\n Sensor: turbidity | fields: level, reading, unit, value\nTask: Retrieve value from cloud_cover with value above the MIN(value) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005114", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, depth, ts, lat\n Sensor: frost | fields: reading, unit, level, type\nTask: Fetch lon from turbidity where reading is greater than the average of value in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "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_fixed_v1_val_005115", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lat, reading, ts, depth\n Sensor: air_quality | fields: depth, level, ts, unit\nTask: Get reading from uv_index where reading exceeds the average reading from air_quality for the same type.\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(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005116", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: type, qc, unit, level\n Sensor: drought_index | fields: value, depth, qc, reading\nTask: Retrieve lat from evaporation that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "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_fixed_v1_val_005117", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, ts, reading, qc\n Sensor: snow_depth | fields: qc, value, unit, lat\nTask: Get lat from rainfall where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005118", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, lon, unit, value\n Sensor: soil_moisture | fields: unit, level, depth, qc\nTask: Retrieve value from temperature that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005119", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: unit, level, lat, lon\n Sensor: rainfall | fields: level, depth, qc, unit\nTask: Get lat from drought_index where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005120", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, ts, reading, qc\n Sensor: rainfall | fields: qc, type, ts, lon\nTask: Fetch value from evaporation where depth exists in rainfall sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005121", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: ts, lat, unit, qc\n Sensor: snow_depth | fields: type, depth, level, unit\nTask: Retrieve reading from dew_point with value above the AVG(value) of snow_depth 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(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005122", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: reading, lat, type, level\n Sensor: wind_speed | fields: type, qc, unit, lon\nTask: Get depth from soil_moisture where reading exceeds the minimum depth from wind_speed for the same type.\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(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005123", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, lat, reading, unit\n Sensor: wind_speed | fields: type, ts, unit, lat\nTask: Get reading from dew_point where reading exceeds the maximum depth from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005124", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, level, qc, type\n Sensor: pressure | fields: depth, reading, type, value\nTask: Fetch depth from humidity where reading is greater than the maximum of reading in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "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_fixed_v1_val_005125", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, value, lat, lon\n Sensor: evaporation | fields: level, qc, depth, unit\nTask: Retrieve level from uv_index that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005126", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, lat, depth, type\n Sensor: visibility | fields: ts, depth, lat, type\nTask: Get value from uv_index where ts appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005127", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: unit, lon, value, level\n Sensor: cloud_cover | fields: type, ts, qc, depth\nTask: Fetch lon from wind_speed where depth is greater than the average of reading in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005128", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: ts, depth, unit, value\n Sensor: evaporation | fields: ts, lat, level, unit\nTask: Fetch depth from lightning where ts exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005129", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, level, value, qc\n Sensor: visibility | fields: lat, unit, type, value\nTask: Get lon from rainfall where depth exceeds the average depth from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005130", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, depth, type, lon\n Sensor: dew_point | fields: value, level, lon, reading\nTask: Fetch level from uv_index where qc exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005131", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: reading, ts, qc, depth\n Sensor: drought_index | fields: depth, qc, level, unit\nTask: Fetch lat from snow_depth where unit exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005132", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: unit, lon, lat, value\n Sensor: visibility | fields: ts, level, lat, lon\nTask: Get lon from air_quality where type appears in visibility readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005133", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: type, lon, lat, ts\n Sensor: rainfall | fields: unit, depth, ts, lon\nTask: Retrieve level from drought_index whose unit 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=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005134", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: unit, qc, ts, value\n Sensor: evaporation | fields: lat, depth, type, lon\nTask: Retrieve reading from wind_speed whose type is found in evaporation records where depth 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(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005135", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: level, lat, qc, value\n Sensor: evaporation | fields: lon, value, qc, type\nTask: Get lon from soil_moisture where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005136", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, lat, unit, value\n Sensor: temperature | fields: value, type, ts, lon\nTask: Fetch reading from turbidity that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005137", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, lon, type, unit\n Sensor: frost | fields: lat, value, reading, qc\nTask: Retrieve level from cloud_cover with depth above the MIN(value) of frost 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(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005138", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: ts, value, lat, unit\n Sensor: wind_speed | fields: lon, depth, reading, lat\nTask: Fetch lat from evaporation that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005139", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, qc, type, unit\n Sensor: soil_moisture | fields: reading, value, lon, qc\nTask: Retrieve lon from snow_depth that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005140", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, depth, level, unit\n Sensor: pressure | fields: unit, level, ts, type\nTask: Retrieve level from dew_point whose type is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005141", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, value, level, ts\n Sensor: humidity | fields: lat, type, reading, depth\nTask: Retrieve reading from rainfall with reading above the MAX(reading) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005142", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, reading, lat, depth\n Sensor: temperature | fields: value, qc, unit, lat\nTask: Fetch reading from uv_index where depth exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005143", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: ts, type, depth, value\n Sensor: sunlight | fields: lon, qc, reading, type\nTask: Get reading from temperature where depth exceeds the count of depth from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "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_fixed_v1_val_005144", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lon, ts, reading, unit\n Sensor: wind_speed | fields: level, value, lon, lat\nTask: Fetch lon 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=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005145", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: value, unit, depth, level\n Sensor: frost | fields: type, reading, lon, ts\nTask: Get depth from sunlight where unit appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005146", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: type, qc, lon, value\n Sensor: visibility | fields: level, value, reading, type\nTask: Fetch depth from soil_moisture where depth is greater than the average of value in visibility for matching depth.\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(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005147", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: reading, depth, unit, type\n Sensor: humidity | fields: depth, unit, type, lon\nTask: Fetch level from rainfall where depth exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005148", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, depth, ts, type\n Sensor: soil_moisture | fields: level, unit, value, type\nTask: Fetch value from uv_index where type exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005149", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, unit, reading, qc\n Sensor: turbidity | fields: lat, depth, unit, lon\nTask: Retrieve lat from pressure that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005150", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lat, depth, qc, lon\n Sensor: dew_point | fields: lat, value, ts, reading\nTask: Get lon from frost where a corresponding entry exists in dew_point with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005151", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, qc, lon, level\n Sensor: humidity | fields: value, lat, unit, level\nTask: Fetch level from pressure where qc exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005152", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: reading, depth, type, qc\n Sensor: frost | fields: value, unit, level, type\nTask: Fetch reading from humidity that have at least one corresponding frost measurement for 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=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005153", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lat, unit, lon, depth\n Sensor: evaporation | fields: qc, unit, ts, level\nTask: Get depth from drought_index where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005154", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, reading, ts, value\n Sensor: snow_depth | fields: value, qc, depth, lat\nTask: Retrieve depth from turbidity with reading above the SUM(depth) of snow_depth readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "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_fixed_v1_val_005155", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lon, unit, depth, level\n Sensor: soil_moisture | fields: lat, ts, value, level\nTask: Fetch value from drought_index where unit exists in soil_moisture sensor data for the same ts.\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=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005156", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lon, depth, value, qc\n Sensor: lightning | fields: level, depth, qc, unit\nTask: Fetch lat from cloud_cover where depth is greater than the total of depth in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005157", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, reading, lat, type\n Sensor: visibility | fields: qc, lon, ts, lat\nTask: Get lon from temperature where unit appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005158", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: ts, reading, unit, level\n Sensor: pressure | fields: value, unit, depth, reading\nTask: Retrieve value from visibility whose ts is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005159", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, level, depth, type\n Sensor: snow_depth | fields: qc, lat, lon, ts\nTask: Fetch depth from wind_speed where depth is greater than the total of value in snow_depth for matching depth.\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(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005160", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lon, type, level, lat\n Sensor: rainfall | fields: value, depth, qc, level\nTask: Get value from drought_index where reading exceeds the minimum reading 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\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005161", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: level, reading, value, type\n Sensor: pressure | fields: ts, lon, type, lat\nTask: Get lat from uv_index where value exceeds the count of depth from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005162", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: level, reading, value, qc\n Sensor: rainfall | fields: unit, depth, lon, level\nTask: Retrieve lon from drought_index whose qc is found in rainfall records where ts 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=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005163", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, lon, type, qc\n Sensor: dew_point | fields: type, unit, value, ts\nTask: Fetch reading from rainfall where unit exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005164", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: unit, lat, reading, level\n Sensor: pressure | fields: lat, qc, reading, ts\nTask: Get value from humidity where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005165", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: depth, ts, type, value\n Sensor: uv_index | fields: lat, lon, qc, reading\nTask: Retrieve lat 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=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005166", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: unit, depth, qc, lat\n Sensor: evaporation | fields: depth, lat, level, lon\nTask: Fetch reading from rainfall where ts exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005167", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, qc, reading, lat\n Sensor: lightning | fields: value, depth, level, reading\nTask: Fetch reading from cloud_cover where value is greater than the count of of value in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005168", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: unit, value, type, ts\n Sensor: evaporation | fields: reading, unit, ts, lat\nTask: Fetch depth from drought_index where ts exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005169", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: qc, unit, level, depth\n Sensor: temperature | fields: depth, lat, value, level\nTask: Get lon from soil_moisture where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005170", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, type, ts, depth\n Sensor: dew_point | fields: depth, level, type, qc\nTask: Fetch reading from turbidity that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005171", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lat, unit, qc, level\n Sensor: cloud_cover | fields: ts, reading, unit, level\nTask: Retrieve depth from rainfall that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005172", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: unit, value, reading, ts\n Sensor: dew_point | fields: ts, lon, type, qc\nTask: Fetch reading from visibility where qc exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005173", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: depth, lon, value, ts\n Sensor: humidity | fields: depth, reading, lon, unit\nTask: Get lat from frost where qc appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005174", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, depth, ts, reading\n Sensor: evaporation | fields: lon, type, qc, ts\nTask: Fetch lon from pressure that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005175", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lon, value, qc, depth\n Sensor: frost | fields: type, lat, qc, value\nTask: Retrieve lon from dew_point with reading above the COUNT(reading) of frost 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(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "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_fixed_v1_val_005176", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: type, lon, value, level\n Sensor: dew_point | fields: lat, qc, depth, type\nTask: Fetch reading from humidity where qc exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005177", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: value, reading, unit, lon\n Sensor: humidity | fields: ts, value, lat, type\nTask: Get lat from temperature where qc appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005178", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: value, type, qc, level\n Sensor: turbidity | fields: reading, lat, qc, ts\nTask: Fetch reading from humidity where ts 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=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005179", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lat, lon, depth, ts\n Sensor: dew_point | fields: unit, level, reading, depth\nTask: Get value from lightning where type appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005180", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: value, lon, depth, ts\n Sensor: soil_moisture | fields: type, reading, depth, value\nTask: Fetch reading from cloud_cover that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005181", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, lat, value, qc\n Sensor: cloud_cover | fields: ts, value, reading, qc\nTask: Fetch reading from snow_depth where qc exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005182", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, level, qc, ts\n Sensor: evaporation | fields: lon, lat, qc, unit\nTask: Get reading from sunlight where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005183", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, depth, level, qc\n Sensor: drought_index | fields: value, lon, reading, qc\nTask: Get depth from temperature where qc appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005184", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: value, qc, level, unit\n Sensor: wind_speed | fields: lon, value, reading, type\nTask: Get lon from lightning where depth exceeds the average depth from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005185", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: ts, level, qc, lon\n Sensor: uv_index | fields: qc, ts, level, depth\nTask: Fetch depth from evaporation where depth exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005186", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, reading, level, lat\n Sensor: sunlight | fields: type, level, reading, qc\nTask: Fetch depth from frost where ts exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005187", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: reading, qc, value, unit\n Sensor: evaporation | fields: type, level, lon, ts\nTask: Fetch lat from snow_depth where depth is greater than the total of value in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005188", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: depth, type, unit, qc\n Sensor: uv_index | fields: unit, ts, level, value\nTask: Get reading from pressure where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005189", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, type, reading, level\n Sensor: humidity | fields: depth, ts, level, reading\nTask: Get depth from air_quality where depth appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005190", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, lon, value, reading\n Sensor: rainfall | fields: depth, lat, value, level\nTask: Retrieve level from visibility whose ts is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005191", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, lon, reading, depth\n Sensor: uv_index | fields: value, type, lat, reading\nTask: Fetch value from pressure where depth exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005192", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: depth, type, lat, lon\n Sensor: uv_index | fields: level, depth, unit, qc\nTask: Retrieve level from visibility whose type is found in uv_index 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(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "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_fixed_v1_val_005193", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: unit, level, qc, type\n Sensor: sunlight | fields: reading, lat, lon, value\nTask: Get depth from evaporation where depth exceeds the maximum depth from sunlight for the same 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(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005194", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, reading, ts, level\n Sensor: drought_index | fields: depth, reading, ts, type\nTask: Retrieve level from visibility with depth above the COUNT(value) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005195", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, ts, type, qc\n Sensor: pressure | fields: ts, lon, depth, value\nTask: Get level from soil_moisture where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005196", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: value, lon, lat, depth\n Sensor: sunlight | fields: reading, depth, value, type\nTask: Retrieve lat from humidity with depth above the MIN(depth) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005197", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: unit, lat, ts, level\n Sensor: humidity | fields: depth, unit, level, reading\nTask: Get depth from wind_speed where type appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005198", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lon, level, type, reading\n Sensor: wind_speed | fields: depth, unit, reading, value\nTask: Retrieve lat from humidity whose type is found in wind_speed records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005199", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, ts, level, qc\n Sensor: humidity | fields: reading, qc, depth, value\nTask: Get depth from pressure where depth exceeds the minimum depth from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "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_fixed_v1_val_005200", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, lat, ts, value\n Sensor: frost | fields: unit, lon, ts, lat\nTask: Retrieve reading from snow_depth with depth above the MIN(value) of frost 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\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005201", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lon, type, lat, reading\n Sensor: soil_moisture | fields: lat, level, reading, lon\nTask: Retrieve value from frost with depth above the COUNT(depth) of soil_moisture 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\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005202", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, type, lat, reading\n Sensor: cloud_cover | fields: type, lon, depth, unit\nTask: Fetch value from visibility that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005203", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, unit, reading, qc\n Sensor: visibility | fields: type, unit, reading, depth\nTask: Get level from turbidity where depth exceeds the average reading from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005204", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: unit, qc, lat, type\n Sensor: rainfall | fields: value, level, lat, 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=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005205", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: type, ts, value, level\n Sensor: snow_depth | fields: qc, lat, unit, value\nTask: Get lat from frost where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005206", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: type, reading, lon, qc\n Sensor: cloud_cover | fields: qc, type, lat, unit\nTask: Fetch reading from soil_moisture that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005207", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: value, reading, lat, type\n Sensor: uv_index | fields: reading, unit, depth, qc\nTask: Get level from rainfall where qc appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005208", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: reading, lon, type, qc\n Sensor: snow_depth | fields: value, lat, unit, ts\nTask: Fetch value from dew_point where value is greater than the average of value in snow_depth for matching depth.\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(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005209", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, unit, qc, lat\n Sensor: visibility | fields: reading, lat, qc, value\nTask: Fetch lat from humidity where value is greater than the count of of depth in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005210", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: ts, value, level, type\n Sensor: pressure | fields: unit, qc, depth, level\nTask: Get lon from rainfall where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005211", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lat, type, level, qc\n Sensor: turbidity | fields: level, reading, type, lon\nTask: Fetch reading from rainfall where depth is greater than the count of of value in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005212", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: depth, type, lon, reading\n Sensor: snow_depth | fields: qc, lon, type, ts\nTask: Get depth from lightning where ts appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005213", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: depth, lon, reading, value\n Sensor: pressure | fields: lon, ts, type, unit\nTask: Retrieve level from cloud_cover with value above the SUM(reading) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005214", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, qc, lon, value\n Sensor: evaporation | fields: lat, type, lon, qc\nTask: Retrieve lat from drought_index that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005215", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: unit, reading, level, value\n Sensor: air_quality | fields: type, reading, unit, lat\nTask: Get reading from temperature where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005216", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, ts, depth, value\n Sensor: turbidity | fields: reading, level, type, ts\nTask: Retrieve lat from sunlight that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lat", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005217", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: reading, ts, qc, lon\n Sensor: frost | fields: qc, depth, lat, value\nTask: Retrieve reading from cloud_cover with reading above the COUNT(value) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005218", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: ts, value, reading, type\n Sensor: uv_index | fields: qc, ts, depth, reading\nTask: Get lat from snow_depth where depth appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\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": "snow_depth", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005219", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, level, unit, ts\n Sensor: humidity | fields: unit, lon, lat, type\nTask: Get value 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=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005220", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, lat, lon, unit\n Sensor: lightning | fields: depth, lon, reading, type\nTask: Retrieve level from snow_depth with value above the MIN(reading) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005221", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: depth, lon, reading, level\n Sensor: snow_depth | fields: depth, type, reading, unit\nTask: Retrieve value from humidity that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005222", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: level, type, qc, reading\n Sensor: cloud_cover | fields: lat, qc, value, level\nTask: Get value from pressure where unit appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005223", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: unit, depth, qc, type\n Sensor: wind_speed | fields: type, ts, value, lon\nTask: Get depth from drought_index where reading exceeds the average depth from wind_speed for the same unit.\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(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005224", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, qc, depth, unit\n Sensor: drought_index | fields: type, lon, qc, reading\nTask: Retrieve depth from rainfall whose type is found in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005225", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: ts, unit, qc, level\n Sensor: evaporation | fields: depth, reading, lon, unit\nTask: Fetch reading from soil_moisture where unit exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005226", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: unit, ts, lon, type\n Sensor: sunlight | fields: lat, unit, lon, ts\nTask: Get lat from humidity where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005227", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, reading, lat, lon\n Sensor: drought_index | fields: unit, ts, level, lat\nTask: Retrieve level from turbidity with value above the MIN(depth) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005228", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: reading, unit, ts, type\n Sensor: lightning | fields: lon, lat, level, ts\nTask: Retrieve lon from air_quality whose unit is found in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005229", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: level, lon, ts, unit\n Sensor: evaporation | fields: reading, level, type, value\nTask: Get level from humidity where reading exceeds the minimum depth from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005230", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, unit, ts, lat\n Sensor: lightning | fields: value, unit, ts, lon\nTask: Fetch level from dew_point that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005231", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lon, reading, lat, type\n Sensor: dew_point | fields: level, qc, unit, lat\nTask: Retrieve level from rainfall that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005232", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: level, qc, lon, value\n Sensor: temperature | fields: level, lon, depth, qc\nTask: Retrieve level from snow_depth that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005233", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lon, lat, type, value\n Sensor: air_quality | fields: unit, depth, reading, value\nTask: Get lon from uv_index where ts appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005234", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: type, lon, reading, level\n Sensor: turbidity | fields: depth, ts, level, unit\nTask: Fetch value from air_quality where reading is greater than the minimum of depth in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005235", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: depth, lon, value, qc\n Sensor: uv_index | fields: lon, depth, reading, 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=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005236", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, reading, lon, unit\n Sensor: dew_point | fields: value, depth, lon, level\nTask: Get level from cloud_cover where depth exceeds the average depth from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005237", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: reading, ts, type, depth\n Sensor: lightning | fields: unit, level, lat, lon\nTask: Retrieve level 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=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005238", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, lat, level, unit\n Sensor: turbidity | fields: lat, reading, value, ts\nTask: Fetch value from drought_index where reading is greater than the total of reading in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005239", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: type, lon, level, qc\n Sensor: soil_moisture | fields: depth, ts, qc, value\nTask: Fetch level from air_quality where reading is greater than the total of depth in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "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_fixed_v1_val_005240", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: ts, lat, depth, type\n Sensor: snow_depth | fields: lon, depth, lat, ts\nTask: Fetch lat from frost where depth is greater than the maximum of value 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(\"MAX\", \"value\",\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": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005241", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: level, depth, qc, lon\n Sensor: uv_index | fields: depth, type, qc, unit\nTask: Fetch lat from air_quality where value is greater than the total of value in uv_index for matching 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(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005242", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, depth, type, value\n Sensor: turbidity | fields: qc, value, ts, unit\nTask: Get level from evaporation where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005243", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, value, level, type\n Sensor: frost | fields: value, unit, qc, depth\nTask: Retrieve lon from turbidity with reading above the COUNT(reading) of frost readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005244", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, level, ts, value\n Sensor: sunlight | fields: lat, reading, unit, ts\nTask: Retrieve lat from snow_depth with value above the AVG(depth) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005245", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lat, ts, reading, level\n Sensor: snow_depth | fields: value, lat, unit, depth\nTask: Retrieve lat from sunlight with reading above the MIN(value) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005246", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: ts, level, reading, type\n Sensor: lightning | fields: unit, ts, lat, depth\nTask: Retrieve depth from humidity with value above the SUM(reading) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005247", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: qc, value, lat, ts\n Sensor: frost | fields: lat, unit, depth, value\nTask: Get level from turbidity where depth exceeds the maximum depth from frost for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005248", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: type, depth, lat, value\n Sensor: wind_speed | fields: ts, unit, value, depth\nTask: Get depth from cloud_cover where value exceeds the minimum reading from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005249", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: unit, depth, lat, lon\n Sensor: temperature | fields: ts, unit, lon, reading\nTask: Fetch lon from visibility where ts exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005250", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: type, value, depth, lat\n Sensor: turbidity | fields: unit, lat, depth, type\nTask: Get value from lightning where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005251", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: type, depth, value, reading\n Sensor: rainfall | fields: level, ts, type, depth\nTask: Fetch level from soil_moisture where ts exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005252", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lon, type, reading, level\n Sensor: visibility | fields: lon, unit, type, depth\nTask: Fetch level from lightning that have at least one corresponding visibility measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005253", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: depth, qc, unit, value\n Sensor: visibility | fields: value, ts, lon, unit\nTask: Retrieve lon from sunlight that have at least one matching reading in visibility sharing 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_fixed_v1_val_005254", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, qc, lat, depth\n Sensor: rainfall | fields: ts, lat, level, depth\nTask: Get lon from lightning where qc appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005255", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: value, level, lon, qc\n Sensor: dew_point | fields: value, lat, qc, depth\nTask: Get reading from humidity where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005256", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: reading, qc, type, depth\n Sensor: rainfall | fields: value, type, level, lat\nTask: Fetch level from evaporation where unit exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "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_fixed_v1_val_005257", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, type, ts, lat\n Sensor: rainfall | fields: lat, unit, ts, depth\nTask: Get depth from temperature where depth exceeds the total value from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005258", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: type, ts, value, level\n Sensor: drought_index | fields: ts, lon, qc, level\nTask: Fetch value from rainfall where reading is greater than the maximum of reading in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005259", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: type, lon, depth, value\n Sensor: turbidity | fields: qc, value, reading, depth\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=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005260", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: qc, reading, type, depth\n Sensor: lightning | fields: level, type, lon, ts\nTask: Get level from wind_speed where depth appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005261", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: unit, qc, level, lon\n Sensor: turbidity | fields: qc, ts, value, lon\nTask: Retrieve reading from rainfall with depth above the AVG(depth) of turbidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005262", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, reading, level, unit\n Sensor: temperature | fields: level, lon, unit, type\nTask: Retrieve lon from uv_index with depth above the MIN(depth) of temperature readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005263", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: ts, qc, lat, unit\n Sensor: humidity | fields: unit, reading, ts, depth\nTask: Retrieve reading from wind_speed that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005264", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, qc, level, unit\n Sensor: evaporation | fields: qc, depth, level, ts\nTask: Retrieve lat from snow_depth whose unit is found in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005265", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: depth, lat, level, unit\n Sensor: turbidity | fields: qc, value, type, lon\nTask: Fetch lat from wind_speed where value is greater than the count of of value in turbidity for matching qc.\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(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005266", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, reading, type, value\n Sensor: snow_depth | fields: lon, unit, lat, type\nTask: Fetch lon from frost where depth is greater than the average of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005267", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: unit, value, lon, level\n Sensor: air_quality | fields: value, reading, lon, level\nTask: Get reading from dew_point where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005268", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lat, level, lon, qc\n Sensor: humidity | fields: level, depth, type, lon\nTask: Retrieve value from evaporation that have at least one matching reading in humidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005269", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: value, ts, depth, type\n Sensor: cloud_cover | fields: ts, unit, reading, depth\nTask: Fetch value from wind_speed where value is greater than the maximum of value in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "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_fixed_v1_val_005270", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, lat, ts, lon\n Sensor: pressure | fields: lon, type, value, reading\nTask: Get lon from snow_depth where depth appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005271", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lon, value, ts, unit\n Sensor: soil_moisture | fields: qc, lat, value, reading\nTask: Fetch level from snow_depth where value is greater than the maximum of depth in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005272", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: ts, type, reading, depth\n Sensor: uv_index | fields: lon, type, value, level\nTask: Retrieve depth from pressure whose ts is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005273", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: qc, type, lat, depth\n Sensor: lightning | fields: lat, ts, value, depth\nTask: Get reading from uv_index where ts appears in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005274", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | 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=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\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": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005275", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: ts, type, qc, lat\n Sensor: visibility | fields: unit, reading, depth, ts\nTask: Get depth from soil_moisture where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005276", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: reading, ts, value, lon\n Sensor: snow_depth | fields: type, lat, reading, level\nTask: Fetch value from cloud_cover where depth exists in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005277", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, qc, type, unit\n Sensor: snow_depth | fields: type, reading, level, qc\nTask: Retrieve lon from wind_speed that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005278", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, reading, lat, lon\n Sensor: visibility | fields: level, unit, depth, type\nTask: Retrieve depth from drought_index with value above the SUM(depth) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005279", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: reading, type, level, qc\n Sensor: temperature | fields: lat, ts, qc, lon\nTask: Retrieve reading from visibility that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005280", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: ts, lon, lat, unit\n Sensor: turbidity | fields: ts, value, level, type\nTask: Retrieve reading from snow_depth that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005281", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: level, depth, lat, value\n Sensor: snow_depth | fields: ts, qc, depth, type\nTask: Fetch value from soil_moisture where qc exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005282", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: reading, ts, lat, value\n Sensor: dew_point | fields: lat, qc, value, reading\nTask: Fetch lon from visibility where qc exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005283", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, depth, unit, ts\n Sensor: uv_index | fields: lat, qc, depth, level\nTask: Get lat from sunlight where depth exceeds the minimum value from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005284", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: value, reading, level, lat\n Sensor: drought_index | fields: value, lon, depth, qc\nTask: Retrieve reading from frost with depth above the SUM(value) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005285", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, qc, ts, lat\n Sensor: temperature | fields: qc, unit, level, ts\nTask: Get value from lightning where depth appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005286", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, level, type, lat\n Sensor: humidity | fields: depth, lat, type, level\nTask: Get lat from sunlight where a corresponding entry exists in humidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "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_fixed_v1_val_005287", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: reading, unit, depth, type\n Sensor: uv_index | fields: qc, depth, level, reading\nTask: Get level from sunlight where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005288", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, qc, lon, lat\n Sensor: cloud_cover | fields: depth, reading, type, lon\nTask: Get lat 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=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005289", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, unit, ts, depth\n Sensor: humidity | fields: depth, type, unit, reading\nTask: Get reading from visibility where qc appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005290", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: qc, unit, level, value\n Sensor: visibility | fields: unit, value, qc, ts\nTask: Get reading from uv_index where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\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", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005291", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: qc, unit, type, reading\n Sensor: drought_index | fields: unit, qc, ts, lat\nTask: Fetch level from turbidity where unit exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005292", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, ts, level, type\n Sensor: lightning | fields: lat, value, reading, level\nTask: Retrieve lat from pressure that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005293", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, lon, type, qc\n Sensor: visibility | fields: value, lat, ts, unit\nTask: Get depth from air_quality where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005294", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lon, depth, ts, type\n Sensor: air_quality | fields: type, lat, lon, reading\nTask: Fetch level from visibility where qc exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005295", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: depth, level, reading, type\n Sensor: lightning | fields: unit, lon, depth, ts\nTask: Fetch value from sunlight that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005296", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: depth, qc, value, level\n Sensor: cloud_cover | fields: value, reading, depth, ts\nTask: Get level from air_quality where qc appears in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005297", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: reading, ts, lat, type\n Sensor: pressure | fields: reading, depth, lon, level\nTask: Get lat from visibility where type appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005298", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, value, ts, reading\n Sensor: soil_moisture | fields: qc, level, reading, unit\nTask: Get reading from uv_index where depth exceeds the minimum depth from soil_moisture for the same qc.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005299", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: qc, level, type, lon\n Sensor: sunlight | fields: reading, unit, lat, level\nTask: Fetch lat from snow_depth where depth exists in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005300", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, qc, lat, unit\n Sensor: visibility | fields: lon, ts, depth, reading\nTask: Get lat from humidity where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005301", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, lon, unit, reading\n Sensor: visibility | fields: ts, lat, unit, qc\nTask: Get reading from lightning where qc appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005302", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: level, unit, ts, qc\n Sensor: humidity | fields: type, ts, qc, lon\nTask: Retrieve lat from dew_point with reading above the MIN(value) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005303", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: ts, qc, type, reading\n Sensor: temperature | fields: level, lon, type, value\nTask: Retrieve lon from uv_index that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005304", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: lon, reading, value, lat\n Sensor: soil_moisture | fields: reading, depth, type, unit\nTask: Fetch lon from drought_index that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005305", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: type, lat, unit, reading\n Sensor: uv_index | fields: level, ts, reading, value\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=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005306", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, type, unit, qc\n Sensor: drought_index | fields: qc, depth, unit, lat\nTask: Fetch lon from visibility where unit exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005307", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: level, lat, ts, qc\n Sensor: dew_point | fields: depth, qc, level, lon\nTask: Get lon from temperature where reading exceeds the average value from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005308", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: ts, lon, unit, depth\n Sensor: dew_point | fields: lat, lon, value, level\nTask: Get value from temperature where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005309", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: unit, reading, lon, level\n Sensor: rainfall | fields: ts, lat, value, unit\nTask: Get value from snow_depth where depth exceeds the count of reading from rainfall for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005310", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: value, ts, unit, level\n Sensor: sunlight | fields: unit, level, qc, lon\nTask: Fetch lon from snow_depth that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005311", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, lon, lat, qc\n Sensor: cloud_cover | fields: type, depth, lat, value\nTask: Fetch lon from frost where qc exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005312", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: qc, reading, value, depth\n Sensor: soil_moisture | fields: reading, level, ts, qc\nTask: Retrieve depth from rainfall with value above the AVG(value) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005313", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: type, value, level, ts\n Sensor: dew_point | fields: value, qc, reading, level\nTask: Fetch level from visibility that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005314", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lat, unit, depth, lon\n Sensor: drought_index | fields: reading, depth, level, ts\nTask: Fetch lat from frost where depth is greater than the average of depth in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005315", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: ts, level, unit, qc\n Sensor: lightning | fields: lon, type, depth, unit\nTask: Fetch depth from soil_moisture where depth is greater than the maximum of reading in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005316", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: reading, value, ts, qc\n Sensor: sunlight | fields: depth, type, qc, lon\nTask: Retrieve level from turbidity that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005317", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: reading, type, lon, level\n Sensor: sunlight | fields: lon, depth, qc, type\nTask: Get lon from drought_index where reading exceeds the count of depth from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005318", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: ts, lat, level, type\n Sensor: visibility | fields: depth, unit, lon, type\nTask: Fetch depth 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=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005319", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: ts, lat, type, depth\n Sensor: pressure | fields: lat, unit, depth, value\nTask: Fetch level from uv_index where reading is greater than the average of value in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005320", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: unit, level, depth, reading\n Sensor: uv_index | fields: depth, unit, lat, value\nTask: Fetch depth from humidity where ts exists in uv_index 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(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005321", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: level, lat, value, lon\n Sensor: wind_speed | fields: lon, qc, type, value\nTask: Get depth from pressure where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005322", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: type, lat, unit, lon\n Sensor: frost | fields: level, lat, qc, type\nTask: Fetch level from turbidity where unit exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005323", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: qc, type, lat, unit\n Sensor: evaporation | fields: lon, level, unit, reading\nTask: Get lon from air_quality where depth exceeds the minimum value from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005324", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: qc, type, lon, value\n Sensor: temperature | fields: level, depth, ts, value\nTask: Fetch lat from frost that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005325", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: unit, lat, ts, depth\n Sensor: turbidity | fields: lon, qc, unit, level\nTask: Retrieve value from sunlight that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005326", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: type, lat, reading, ts\n Sensor: air_quality | fields: lon, value, level, unit\nTask: Retrieve level from humidity with value above the AVG(depth) of air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005327", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, type, reading, ts\n Sensor: temperature | fields: level, lat, unit, reading\nTask: Fetch lon from dew_point that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005328", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, depth, reading, value\n Sensor: humidity | fields: lat, lon, reading, qc\nTask: Fetch level from drought_index where ts exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005329", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, reading, lon, depth\n Sensor: soil_moisture | fields: ts, reading, level, lat\nTask: Fetch reading from frost that have at least one corresponding soil_moisture measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005330", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: type, level, value, lon\n Sensor: sunlight | fields: ts, qc, reading, level\nTask: Get depth from wind_speed where depth exceeds the count of depth from sunlight for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005331", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: type, level, qc, reading\n Sensor: uv_index | fields: type, lat, ts, value\nTask: Fetch value from lightning where value is greater than the minimum of reading in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005332", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, type, depth, lat\n Sensor: snow_depth | fields: level, depth, type, unit\nTask: Retrieve depth from lightning with value above the SUM(reading) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005333", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: type, reading, unit, lat\n Sensor: soil_moisture | fields: type, level, lat, value\nTask: Retrieve lon from visibility that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005334", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: reading, depth, unit, qc\n Sensor: visibility | fields: unit, level, depth, lat\nTask: Fetch level from air_quality that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005335", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: lat, ts, qc, unit\n Sensor: snow_depth | fields: lat, unit, qc, level\nTask: Retrieve value from air_quality with depth above the SUM(depth) of snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005336", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, reading, lat, unit\n Sensor: rainfall | fields: lat, value, level, depth\nTask: Get level from humidity where reading exceeds the maximum value from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005337", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: type, unit, ts, lon\n Sensor: frost | fields: ts, qc, lat, level\nTask: Retrieve reading from soil_moisture with reading above the MIN(reading) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005338", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, type, level, qc\n Sensor: soil_moisture | fields: unit, lon, lat, type\nTask: Retrieve level from temperature whose qc is found in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005339", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: reading, lon, unit, value\n Sensor: temperature | fields: ts, lon, value, reading\nTask: Retrieve reading from snow_depth whose qc is found in temperature records where qc 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(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005340", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lat, qc, level, value\n Sensor: soil_moisture | fields: type, lon, lat, qc\nTask: Fetch value from drought_index where value is greater than the average of reading in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005341", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: depth, lon, unit, ts\n Sensor: drought_index | fields: reading, unit, depth, qc\nTask: Retrieve level from soil_moisture with depth above the COUNT(value) of drought_index readings sharing the same ts.\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(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005342", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, lon, value, lat\n Sensor: soil_moisture | fields: qc, level, lon, unit\nTask: Retrieve lat from dew_point with reading above the AVG(depth) of soil_moisture readings sharing the same depth.\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=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005343", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: qc, lat, lon, unit\n Sensor: uv_index | fields: depth, reading, qc, value\nTask: Retrieve depth from air_quality with depth above the MAX(depth) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\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": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005344", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: value, unit, lat, lon\n Sensor: turbidity | fields: depth, lat, lon, type\nTask: Retrieve value from uv_index whose depth is found in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005345", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: ts, type, depth, lon\n Sensor: uv_index | fields: level, value, type, ts\nTask: Get level from snow_depth where qc appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005346", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, lat, ts, depth\n Sensor: turbidity | fields: lon, unit, lat, type\nTask: Retrieve lat from drought_index that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005347", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: unit, ts, lon, value\n Sensor: snow_depth | fields: qc, type, lon, lat\nTask: Fetch lon from pressure where depth is greater than the total of reading in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005348", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: reading, lon, value, level\n Sensor: evaporation | fields: value, level, lon, ts\nTask: Fetch lon from wind_speed where value is greater than the count of of value in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005349", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lon, unit, depth, reading\n Sensor: temperature | fields: level, unit, value, type\nTask: Retrieve level from dew_point whose ts is found in temperature records where unit 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=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005350", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, depth, unit, level\n Sensor: wind_speed | fields: value, unit, qc, ts\nTask: Get level from cloud_cover where depth exceeds the count of reading from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005351", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: qc, ts, lon, depth\n Sensor: temperature | fields: unit, ts, reading, lat\nTask: Fetch level from pressure that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005352", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, qc, type, level\n Sensor: drought_index | fields: level, type, unit, value\nTask: Retrieve reading from air_quality whose type 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=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005353", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: type, qc, lon, level\n Sensor: uv_index | fields: ts, reading, depth, unit\nTask: Retrieve lat from visibility whose ts 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=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005354", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, unit, level, value\n Sensor: cloud_cover | fields: type, lat, ts, lon\nTask: Retrieve lat from frost with depth above the SUM(depth) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005355", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, unit, level, depth\n Sensor: humidity | fields: type, level, lon, lat\nTask: Retrieve lat from wind_speed that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005356", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, lat, lon, value\n Sensor: snow_depth | fields: unit, ts, reading, depth\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=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005357", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: value, unit, lon, ts\n Sensor: rainfall | fields: ts, lat, depth, lon\nTask: Get lat from wind_speed where reading exceeds the count of reading from rainfall for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005358", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, level, lon, type\n Sensor: wind_speed | fields: unit, lat, value, reading\nTask: Fetch level from evaporation where value is greater than the minimum of depth in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005359", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, lon, qc, ts\n Sensor: cloud_cover | fields: reading, depth, type, lat\nTask: Get level from drought_index where reading exceeds the total depth from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005360", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lat, lon, depth, reading\n Sensor: lightning | fields: ts, lon, unit, reading\nTask: Retrieve lat from air_quality that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005361", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, level, reading, qc\n Sensor: pressure | fields: value, ts, depth, level\nTask: Get lat from wind_speed where depth appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005362", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lat, level, type, lon\n Sensor: rainfall | fields: value, ts, level, depth\nTask: Fetch lon from dew_point where reading is greater than the count of of depth in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005363", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: type, depth, qc, lon\n Sensor: frost | fields: unit, qc, value, ts\nTask: Retrieve value from visibility with reading above the MAX(value) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005364", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, ts, lat, unit\n Sensor: soil_moisture | fields: unit, qc, lon, lat\nTask: Retrieve level from rainfall with value above the MIN(depth) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "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_fixed_v1_val_005365", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lon, ts, depth, type\n Sensor: uv_index | fields: unit, qc, type, value\nTask: Get depth from temperature where type appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005366", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, lon, lat, ts\n Sensor: turbidity | fields: unit, lon, level, reading\nTask: Get lon from rainfall where unit appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005367", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, qc, level, lon\n Sensor: snow_depth | fields: lat, unit, ts, qc\nTask: Retrieve level from humidity that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005368", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, lat, level, type\n Sensor: snow_depth | fields: type, ts, depth, qc\nTask: Get lon from air_quality where value exceeds the count of depth from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005369", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, reading, value, qc\n Sensor: dew_point | fields: level, lat, ts, value\nTask: Fetch depth from air_quality where depth is greater than the minimum of reading in dew_point for matching unit.\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(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005370", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, depth, level, ts\n Sensor: sunlight | fields: ts, level, depth, unit\nTask: Fetch level from dew_point that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005371", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, unit, qc, lat\n Sensor: pressure | fields: reading, ts, type, level\nTask: Get reading from uv_index where unit appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005372", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: value, level, type, reading\n Sensor: cloud_cover | fields: lat, value, lon, qc\nTask: Fetch lat from humidity that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005373", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: lon, level, unit, reading\n Sensor: snow_depth | fields: unit, qc, ts, type\nTask: Retrieve lat from cloud_cover whose unit is found in snow_depth records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005374", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, value, type, depth\n Sensor: frost | fields: lon, lat, qc, unit\nTask: Fetch lon from soil_moisture where type exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005375", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, value, lon, depth\n Sensor: cloud_cover | fields: level, ts, unit, value\nTask: Get lat from temperature where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005376", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: qc, lat, reading, type\n Sensor: temperature | fields: type, ts, depth, lat\nTask: Get reading from pressure where depth appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005377", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: qc, level, ts, lon\n Sensor: evaporation | fields: ts, value, lon, unit\nTask: Get depth from pressure where depth exceeds the count of value from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "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_fixed_v1_val_005378", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: level, type, depth, reading\n Sensor: soil_moisture | fields: qc, lat, reading, value\nTask: Fetch value from lightning that have at least one corresponding soil_moisture measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005379", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, value, depth, qc\n Sensor: cloud_cover | fields: lon, depth, qc, lat\nTask: Retrieve lon from frost with value above the MIN(reading) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005380", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: lon, reading, value, ts\n Sensor: visibility | fields: level, lat, reading, qc\nTask: Fetch reading from frost that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005381", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: level, lon, value, ts\n Sensor: visibility | fields: unit, reading, type, level\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=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005382", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, reading, lon, type\n Sensor: evaporation | fields: value, ts, qc, lon\nTask: Fetch lat from snow_depth that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005383", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: ts, reading, type, qc\n Sensor: wind_speed | fields: lat, qc, level, lon\nTask: Get value from turbidity where ts appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005384", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: unit, value, level, depth\n Sensor: pressure | fields: unit, depth, lon, type\nTask: Fetch lon from lightning where reading is greater than the total of reading in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005385", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: ts, type, lat, qc\n Sensor: uv_index | fields: depth, ts, type, qc\nTask: Get depth from turbidity where depth exceeds the minimum value from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005386", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: qc, reading, unit, lat\n Sensor: snow_depth | fields: ts, type, depth, qc\nTask: Get level from visibility where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005387", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: type, qc, value, lat\n Sensor: lightning | fields: level, reading, depth, unit\nTask: Get lon from air_quality where value exceeds the maximum reading from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005388", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, lon, qc, level\n Sensor: humidity | fields: ts, lon, type, depth\nTask: Fetch reading from air_quality where unit exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005389", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: qc, lon, unit, type\n Sensor: pressure | fields: value, reading, lon, depth\nTask: Fetch value from rainfall where qc exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005390", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: qc, level, type, depth\n Sensor: pressure | fields: type, value, unit, lon\nTask: Get lon from frost where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\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": "stn", "inner_alias": "mbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005391", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, qc, lat, level\n Sensor: wind_speed | fields: level, reading, qc, lon\nTask: Fetch level from temperature that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005392", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: level, value, ts, lat\n Sensor: cloud_cover | fields: type, unit, level, depth\nTask: Fetch value from sunlight where value is greater than the minimum of depth in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005393", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: qc, value, level, lat\n Sensor: wind_speed | fields: unit, lon, value, ts\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=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005394", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: value, lat, qc, ts\n Sensor: drought_index | fields: lat, ts, level, qc\nTask: Fetch lat from soil_moisture where depth is greater than the total of reading in drought_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005395", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: depth, lon, type, value\n Sensor: cloud_cover | fields: depth, type, level, unit\nTask: Fetch depth from snow_depth where reading is greater than the minimum of value in cloud_cover for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005396", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: qc, level, lon, ts\n Sensor: drought_index | fields: level, ts, qc, lat\nTask: Fetch level from dew_point where unit exists in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005397", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, ts, lat, value\n Sensor: turbidity | fields: qc, reading, lon, value\nTask: Get reading from soil_moisture where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005398", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, qc, type, unit\n Sensor: drought_index | fields: lon, depth, reading, ts\nTask: Retrieve value from snow_depth that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005399", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, lat, value, qc\n Sensor: rainfall | fields: unit, reading, depth, level\nTask: Get value from turbidity where depth exceeds the average depth from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005400", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, value, depth, type\n Sensor: air_quality | fields: type, depth, ts, value\nTask: Fetch depth from pressure where depth is greater than the count of of depth in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005401", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: qc, level, type, ts\n Sensor: rainfall | fields: type, lat, ts, lon\nTask: Get reading from humidity where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005402", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, ts, lat, reading\n Sensor: snow_depth | fields: level, ts, reading, value\nTask: Get value from air_quality where unit appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005403", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, lon, qc, unit\n Sensor: frost | fields: qc, value, lat, level\nTask: Get reading from temperature where value exceeds the total depth from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005404", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: level, value, ts, unit\n Sensor: evaporation | fields: qc, unit, ts, level\nTask: Get reading from visibility where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005405", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, type, reading, level\n Sensor: drought_index | fields: value, unit, ts, type\nTask: Fetch value from cloud_cover that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005406", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lon, lat, level, type\n Sensor: uv_index | fields: value, lat, type, level\nTask: Retrieve reading from temperature whose type is found in uv_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "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_fixed_v1_val_005407", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, qc, depth, level\n Sensor: cloud_cover | fields: level, lat, depth, lon\nTask: Retrieve level from evaporation whose type is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005408", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lon, depth, qc, unit\n Sensor: frost | fields: unit, lon, ts, value\nTask: Get depth from pressure where value exceeds the average value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005409", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lat, value, depth, qc\n Sensor: snow_depth | fields: unit, reading, lon, lat\nTask: Fetch level from cloud_cover that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005410", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, depth, type, ts\n Sensor: humidity | fields: reading, qc, lat, lon\nTask: Get level from soil_moisture where depth exceeds the total value from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005411", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: type, lon, level, lat\n Sensor: temperature | fields: reading, type, ts, lat\nTask: Get value from air_quality where qc appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005412", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: reading, depth, level, type\n Sensor: lightning | fields: value, type, ts, qc\nTask: Get lon from temperature where qc appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005413", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, qc, lon, reading\n Sensor: rainfall | fields: type, unit, qc, depth\nTask: Fetch lat from snow_depth that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005414", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: depth, qc, value, type\n Sensor: frost | fields: value, lat, level, qc\nTask: Retrieve lon 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=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005415", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: unit, lat, lon, type\n Sensor: lightning | fields: type, unit, reading, lon\nTask: Retrieve reading from uv_index whose qc is found in lightning records where qc 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(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005416", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, level, reading, qc\n Sensor: lightning | fields: level, depth, lat, ts\nTask: Fetch depth from visibility where depth exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005417", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lat, value, qc, type\n Sensor: wind_speed | fields: unit, qc, lon, reading\nTask: Retrieve reading from drought_index with reading above the MIN(depth) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005418", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: ts, qc, depth, level\n Sensor: snow_depth | fields: unit, lon, type, level\nTask: Retrieve lon from uv_index whose depth is found in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005419", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: type, depth, lat, level\n Sensor: wind_speed | fields: ts, qc, reading, level\nTask: Fetch value from rainfall where qc exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005420", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: value, depth, ts, lat\n Sensor: lightning | fields: unit, type, reading, lon\nTask: Fetch lon from sunlight where unit exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005421", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: depth, value, level, ts\n Sensor: wind_speed | fields: value, reading, lon, depth\nTask: Retrieve lon 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=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\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": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005422", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, ts, unit, level\n Sensor: frost | fields: value, depth, qc, reading\nTask: Fetch depth from pressure where depth is greater than the count of of value in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005423", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, unit, value, reading\n Sensor: sunlight | fields: type, value, lon, unit\nTask: Get depth from snow_depth where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005424", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, type, lon, depth\n Sensor: soil_moisture | fields: lat, qc, type, lon\nTask: Retrieve value from humidity that have at least one matching reading in soil_moisture sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005425", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: ts, type, qc, level\n Sensor: rainfall | fields: qc, type, ts, lat\nTask: Get lon from frost where reading exceeds the maximum value from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005426", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lon, qc, ts, unit\n Sensor: soil_moisture | fields: reading, unit, level, ts\nTask: Retrieve lon from rainfall whose ts is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005427", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: unit, reading, depth, ts\n Sensor: sunlight | fields: ts, lon, value, type\nTask: Fetch level from temperature that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005428", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: type, qc, depth, ts\n Sensor: sunlight | fields: lon, qc, reading, type\nTask: Fetch depth from air_quality where unit exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005429", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, value, depth, ts\n Sensor: lightning | fields: lat, reading, unit, depth\nTask: Retrieve lat from snow_depth with value above the MIN(depth) of lightning readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005430", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: level, lon, depth, type\n Sensor: soil_moisture | fields: unit, level, qc, depth\nTask: Get depth from cloud_cover where value exceeds the count of value from soil_moisture 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\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005431", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lon, type, reading, lat\n Sensor: frost | fields: value, lon, depth, reading\nTask: Fetch lat from sunlight that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005432", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: qc, unit, ts, lon\n Sensor: pressure | fields: level, depth, type, ts\nTask: Fetch lon from drought_index where ts exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005433", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, reading, qc, ts\n Sensor: cloud_cover | fields: type, lat, unit, reading\nTask: Retrieve lon from lightning whose depth is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005434", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: type, depth, lon, unit\n Sensor: air_quality | fields: depth, lat, lon, qc\nTask: Get depth from turbidity where type appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "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_fixed_v1_val_005435", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, lon, qc, value\n Sensor: turbidity | fields: depth, lat, qc, lon\nTask: Get depth from air_quality where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005436", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lon, lat, ts, reading\n Sensor: temperature | fields: type, qc, lon, lat\nTask: Get depth from cloud_cover where depth appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005437", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: unit, reading, ts, level\n Sensor: drought_index | fields: lon, qc, level, lat\nTask: Fetch lon from temperature that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005438", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: reading, lon, lat, depth\n Sensor: dew_point | fields: ts, level, type, lat\nTask: Get lat from turbidity where depth appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005439", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: qc, lon, depth, unit\n Sensor: temperature | fields: reading, level, lon, qc\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=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005440", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: type, lat, unit, level\n Sensor: soil_moisture | fields: ts, depth, lat, lon\nTask: Fetch depth from wind_speed where depth exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005441", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: value, ts, lon, level\n Sensor: drought_index | fields: reading, type, lon, ts\nTask: Fetch depth from uv_index where reading is greater than the average of reading in drought_index for matching type.\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(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005442", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, lat, lon, unit\n Sensor: snow_depth | fields: qc, lon, depth, type\nTask: Retrieve lon 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=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005443", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, lat, unit, reading\n Sensor: pressure | fields: lat, level, type, lon\nTask: Retrieve value from humidity whose type is found in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005444", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, lat, type, value\n Sensor: uv_index | fields: level, value, lon, reading\nTask: Get lon from cloud_cover where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005445", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: unit, level, lon, lat\n Sensor: temperature | fields: depth, ts, qc, value\nTask: Get value from drought_index where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005446", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: qc, ts, lon, unit\n Sensor: visibility | fields: unit, lat, reading, qc\nTask: Retrieve depth from sunlight whose depth is found in visibility 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(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005447", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: level, type, unit, reading\n Sensor: uv_index | fields: lon, ts, lat, type\nTask: Fetch lat from frost that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005448", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: unit, lat, type, value\n Sensor: wind_speed | fields: reading, unit, lat, qc\nTask: Fetch reading from snow_depth where unit exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005449", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lon, qc, unit, type\n Sensor: pressure | fields: ts, lat, level, qc\nTask: Fetch lat from uv_index where depth exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005450", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, ts, lat, qc\n Sensor: evaporation | fields: type, reading, qc, level\nTask: Fetch level from soil_moisture where value is greater than the count of of reading in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005451", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: type, lon, value, qc\n Sensor: air_quality | fields: type, level, lon, qc\nTask: Retrieve lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005452", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: qc, reading, lon, ts\n Sensor: evaporation | fields: depth, value, type, unit\nTask: Retrieve reading from pressure whose depth is found in evaporation records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005453", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, type, reading, lat\n Sensor: rainfall | fields: level, type, value, qc\nTask: Get value from wind_speed where qc appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005454", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, lon, value, ts\n Sensor: dew_point | fields: reading, lat, unit, depth\nTask: Fetch depth from evaporation where qc exists in dew_point sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005455", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, qc, depth, reading\n Sensor: soil_moisture | fields: value, type, lat, qc\nTask: Fetch depth from air_quality where unit exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005456", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: value, depth, ts, type\n Sensor: turbidity | fields: depth, reading, level, value\nTask: Get lon from dew_point where type appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005457", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: reading, value, ts, level\n Sensor: air_quality | fields: lon, reading, value, depth\nTask: Retrieve lon from drought_index whose ts is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "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_fixed_v1_val_005458", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, type, qc, unit\n Sensor: lightning | fields: lat, ts, type, unit\nTask: Get lon from air_quality where unit appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005459", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, value, depth, unit\n Sensor: cloud_cover | fields: depth, value, lon, level\nTask: Retrieve lat from drought_index whose depth is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005460", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lat, unit, level, depth\n Sensor: pressure | fields: reading, unit, type, qc\nTask: Get depth from frost where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005461", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: unit, lon, value, ts\n Sensor: temperature | fields: depth, type, value, qc\nTask: Fetch lon from cloud_cover that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005462", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lat, value, lon, reading\n Sensor: turbidity | fields: value, unit, level, depth\nTask: Get reading from humidity where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005463", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lon, level, type, ts\n Sensor: cloud_cover | fields: qc, value, lon, lat\nTask: Retrieve reading from temperature that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005464", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, unit, depth, level\n Sensor: pressure | fields: unit, level, ts, lat\nTask: Fetch level from evaporation that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005465", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lon, unit, depth, value\n Sensor: snow_depth | fields: depth, level, lat, qc\nTask: Get depth from turbidity where unit appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005466", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: type, lon, reading, level\n Sensor: cloud_cover | fields: qc, value, ts, type\nTask: Retrieve value from drought_index with value above the MIN(reading) of cloud_cover readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005467", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: unit, type, lon, reading\n Sensor: lightning | fields: reading, depth, type, lon\nTask: Fetch reading from frost where ts exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005468", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: qc, level, type, unit\n Sensor: evaporation | fields: reading, type, unit, lon\nTask: Get level from rainfall where unit appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005469", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: type, qc, unit, level\n Sensor: wind_speed | fields: unit, level, lon, depth\nTask: Fetch level from temperature where depth is greater than the average of reading 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(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005470", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, qc, depth, ts\n Sensor: temperature | fields: reading, lon, qc, unit\nTask: Fetch level from soil_moisture that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005471", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, depth, type, value\n Sensor: pressure | fields: lon, ts, lat, value\nTask: Retrieve value from frost with depth above the MAX(reading) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005472", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: unit, ts, reading, qc\n Sensor: rainfall | fields: qc, ts, type, level\nTask: Get level from humidity where ts appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005473", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, type, depth, lon\n Sensor: rainfall | fields: ts, type, level, reading\nTask: Retrieve reading from turbidity with value above the MIN(depth) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005474", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, depth, reading, lat\n Sensor: lightning | fields: value, type, unit, lat\nTask: Retrieve lon from snow_depth whose qc is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005475", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: qc, level, reading, unit\n Sensor: rainfall | fields: reading, value, unit, lon\nTask: Retrieve reading from uv_index that have at least one matching reading in rainfall sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005476", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: reading, lon, value, lat\n Sensor: soil_moisture | fields: unit, level, depth, lat\nTask: Fetch level from turbidity that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005477", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: reading, level, value, lat\n Sensor: drought_index | fields: reading, type, value, qc\nTask: Fetch value from temperature where qc exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005478", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: value, lon, depth, level\n Sensor: pressure | fields: ts, value, unit, level\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=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005479", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: level, depth, type, qc\n Sensor: temperature | fields: unit, qc, lat, depth\nTask: Retrieve level from pressure with value above the COUNT(depth) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005480", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: level, type, unit, lat\n Sensor: air_quality | fields: depth, level, reading, value\nTask: Fetch reading from dew_point where reading is greater than the average of depth in air_quality for matching unit.\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(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005481", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: depth, reading, value, level\n Sensor: temperature | fields: reading, lon, type, value\nTask: Fetch level 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=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005482", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: reading, depth, type, level\n Sensor: temperature | fields: depth, value, lat, reading\nTask: Retrieve reading from soil_moisture with reading above the MAX(value) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005483", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lat, depth, qc, type\n Sensor: humidity | fields: reading, type, lon, lat\nTask: Fetch lat from temperature that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\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": "clr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005484", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: type, value, reading, lat\n Sensor: temperature | fields: type, lat, value, depth\nTask: Retrieve depth from wind_speed whose unit is found in temperature records where unit 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(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005485", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: qc, value, lat, type\n Sensor: temperature | fields: type, ts, depth, level\nTask: Retrieve value from wind_speed with reading above the COUNT(value) of temperature 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(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005486", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, lat, qc, depth\n Sensor: humidity | fields: reading, level, value, type\nTask: Fetch depth from uv_index where unit exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "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_fixed_v1_val_005487", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, type, depth, lat\n Sensor: turbidity | fields: type, qc, ts, lat\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=\"hub\"),\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": "hub", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005488", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, ts, reading, depth\n Sensor: uv_index | fields: lon, level, unit, lat\nTask: Fetch level from visibility where type exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005489", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lon, type, reading, value\n Sensor: rainfall | fields: value, type, level, depth\nTask: Fetch level from wind_speed where ts exists in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005490", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, lon, lat, reading\n Sensor: air_quality | fields: depth, value, lat, unit\nTask: Fetch value from cloud_cover where depth exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005491", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: reading, value, depth, level\n Sensor: turbidity | fields: reading, qc, ts, unit\nTask: Fetch depth from visibility where reading is greater than the maximum of reading in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005492", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, reading, lat, unit\n Sensor: temperature | fields: ts, unit, value, qc\nTask: Get level from lightning where value exceeds the minimum reading from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005493", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: level, depth, value, reading\n Sensor: snow_depth | fields: level, lat, lon, unit\nTask: Get depth from cloud_cover where type appears in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005494", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, type, qc, level\n Sensor: turbidity | fields: unit, depth, value, lon\nTask: Get level from pressure where value exceeds the count of reading from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "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_fixed_v1_val_005495", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: qc, type, lon, reading\n Sensor: humidity | fields: lon, lat, qc, depth\nTask: Fetch lat 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=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005496", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: type, reading, ts, level\n Sensor: pressure | fields: level, value, unit, qc\nTask: Fetch level from frost that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005497", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: type, unit, value, ts\n Sensor: dew_point | fields: qc, value, level, lat\nTask: Get depth from air_quality where depth appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005498", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, ts, lat, type\n Sensor: sunlight | fields: value, lon, reading, type\nTask: Get level from soil_moisture where ts appears in sunlight readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005499", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: depth, lon, type, reading\n Sensor: turbidity | fields: level, reading, ts, qc\nTask: Fetch reading from temperature where value is greater than the maximum of value in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005500", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, level, depth, type\n Sensor: pressure | fields: reading, type, lon, lat\nTask: Fetch depth from air_quality where depth exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005501", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, lat, ts, qc\n Sensor: snow_depth | fields: qc, ts, unit, level\nTask: Fetch reading from air_quality that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005502", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, lon, reading, qc\n Sensor: rainfall | fields: lon, ts, lat, depth\nTask: Retrieve value from snow_depth that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005503", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, reading, lon, type\n Sensor: visibility | fields: qc, lon, unit, lat\nTask: Retrieve value from humidity that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005504", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: value, qc, type, depth\n Sensor: frost | fields: reading, unit, type, level\nTask: Get level from lightning where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005505", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, reading, type, depth\n Sensor: temperature | fields: qc, type, value, unit\nTask: Get level from cloud_cover where reading exceeds the count of depth from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005506", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lat, ts, depth, qc\n Sensor: evaporation | fields: lon, unit, level, qc\nTask: Fetch value from sunlight where unit exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005507", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, lon, lat, unit\n Sensor: pressure | fields: qc, value, depth, lat\nTask: Get reading from temperature where unit appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005508", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: unit, reading, lat, depth\n Sensor: temperature | fields: qc, lat, type, lon\nTask: Fetch lon from snow_depth where reading is greater than the average of value in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005509", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: ts, lat, level, depth\n Sensor: air_quality | fields: qc, value, depth, unit\nTask: Get reading from uv_index where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005510", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, reading, lat, lon\n Sensor: drought_index | fields: level, type, ts, reading\nTask: Fetch reading 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=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005511", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, unit, qc, value\n Sensor: humidity | fields: unit, value, qc, ts\nTask: Fetch lat from pressure that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005512", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: level, unit, ts, depth\n Sensor: turbidity | fields: value, reading, depth, unit\nTask: Get depth from rainfall where depth exceeds the minimum depth from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005513", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, depth, unit, value\n Sensor: lightning | fields: unit, lon, type, reading\nTask: Get depth from humidity where depth exceeds the total depth from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005514", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: qc, unit, depth, value\n Sensor: soil_moisture | fields: value, reading, unit, lon\nTask: Get lat from frost where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005515", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, lat, unit, reading\n Sensor: snow_depth | fields: depth, level, lat, type\nTask: Fetch value from rainfall that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005516", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: type, depth, reading, ts\n Sensor: dew_point | fields: depth, reading, lon, level\nTask: Fetch reading from turbidity where value is greater than the minimum of reading in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005517", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, level, lat, value\n Sensor: temperature | fields: qc, type, lon, reading\nTask: Get lon from visibility where reading exceeds the minimum depth from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005518", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: reading, level, depth, qc\n Sensor: drought_index | fields: unit, depth, level, type\nTask: Retrieve depth from evaporation with reading above the MIN(depth) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005519", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, value, lat, level\n Sensor: snow_depth | fields: ts, reading, unit, value\nTask: Retrieve depth from evaporation that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005520", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: level, type, value, ts\n Sensor: turbidity | fields: type, lat, value, unit\nTask: Fetch lon from rainfall where depth is greater than the minimum of reading in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005521", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: depth, level, lat, ts\n Sensor: pressure | fields: value, ts, qc, level\nTask: Retrieve level from visibility with reading above the MIN(reading) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005522", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: type, unit, lon, value\n Sensor: visibility | fields: depth, unit, lon, reading\nTask: Retrieve level from air_quality that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005523", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: type, lat, lon, reading\n Sensor: drought_index | fields: type, reading, ts, level\nTask: Retrieve reading from dew_point that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005524", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, lon, ts, lat\n Sensor: uv_index | fields: type, lat, unit, level\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=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005525", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lon, value, type, qc\n Sensor: turbidity | fields: ts, value, qc, reading\nTask: Get level from air_quality where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005526", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: value, reading, depth, lat\n Sensor: visibility | fields: type, unit, value, lon\nTask: Fetch reading from uv_index that have at least one corresponding visibility measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\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", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005527", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: ts, value, lon, level\n Sensor: drought_index | fields: reading, value, lon, depth\nTask: Retrieve lat from lightning whose unit is found in drought_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005528", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: ts, value, level, reading\n Sensor: visibility | fields: depth, unit, qc, lon\nTask: Fetch reading from pressure where value is greater than the maximum of reading in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005529", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: ts, lon, qc, level\n Sensor: lightning | fields: unit, level, depth, reading\nTask: Retrieve depth from pressure with value above the AVG(value) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005530", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: depth, ts, value, qc\n Sensor: turbidity | fields: reading, value, ts, qc\nTask: Fetch reading from pressure where unit exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005531", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, level, qc, lat\n Sensor: wind_speed | fields: lon, unit, type, qc\nTask: Retrieve lon from air_quality with depth above the COUNT(value) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005532", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, depth, lon, reading\n Sensor: rainfall | fields: qc, depth, lat, ts\nTask: Fetch value from dew_point where ts exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005533", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, unit, level, lat\n Sensor: lightning | fields: type, unit, qc, ts\nTask: Retrieve lon from wind_speed with depth above the AVG(value) of lightning readings sharing the same type.\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(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005534", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, type, qc, level\n Sensor: wind_speed | fields: lat, ts, qc, depth\nTask: Retrieve lat from temperature that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005535", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lon, level, ts, lat\n Sensor: rainfall | fields: level, ts, lon, qc\nTask: Get lat from humidity where unit appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005536", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: depth, unit, ts, reading\n Sensor: uv_index | fields: depth, level, ts, unit\nTask: Get value from sunlight where ts appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\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": "sunlight", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005537", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: qc, value, type, lat\n Sensor: wind_speed | fields: lat, qc, lon, depth\nTask: Get level from pressure where depth exceeds the minimum depth from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005538", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: level, lat, type, depth\n Sensor: humidity | fields: depth, ts, level, value\nTask: Retrieve lat from cloud_cover with depth above the SUM(value) of humidity 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(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lat, level, unit, reading\n Sensor: snow_depth | fields: lon, reading, qc, lat\nTask: Get depth from evaporation where ts appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005540", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, lon, type, reading\n Sensor: soil_moisture | fields: unit, qc, level, reading\nTask: Get lon from dew_point where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005541", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, reading, unit, lon\n Sensor: air_quality | fields: lon, value, unit, lat\nTask: Fetch lat from lightning where reading is greater than the count of of reading in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005542", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: ts, qc, reading, lon\n Sensor: uv_index | fields: type, reading, lat, lon\nTask: Retrieve lon from air_quality that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_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_fixed_v1_val_005543", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: depth, type, unit, ts\n Sensor: temperature | fields: reading, lon, ts, value\nTask: Fetch value from snow_depth where depth is greater than the average of depth in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005544", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: unit, ts, qc, reading\n Sensor: snow_depth | fields: type, depth, unit, lat\nTask: Get reading from pressure where depth exceeds the count of value from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005545", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, depth, reading, type\n Sensor: frost | fields: type, unit, qc, lon\nTask: Fetch lat from rainfall where value is greater than the minimum of reading in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005546", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: unit, depth, ts, level\n Sensor: lightning | fields: qc, value, depth, lon\nTask: Fetch depth from rainfall where depth exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005547", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: depth, level, lat, type\n Sensor: visibility | fields: lon, type, lat, ts\nTask: Get lon from pressure where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005548", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, lon, value, qc\n Sensor: snow_depth | fields: value, type, lat, ts\nTask: Fetch lat from evaporation where ts exists in snow_depth sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005549", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: reading, depth, ts, value\n Sensor: drought_index | fields: type, lon, reading, lat\nTask: Retrieve value from visibility that have at least one matching reading in drought_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005550", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lon, type, unit, depth\n Sensor: sunlight | fields: qc, lon, reading, level\nTask: Get level from cloud_cover where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005551", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, lat, unit, qc\n Sensor: sunlight | fields: level, unit, lat, reading\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=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005552", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: unit, lat, ts, depth\n Sensor: pressure | fields: value, depth, lon, unit\nTask: Get lon from wind_speed where type appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005553", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: value, lon, ts, level\n Sensor: dew_point | fields: value, unit, depth, lon\nTask: Retrieve lon from evaporation with reading above the MAX(value) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005554", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, unit, qc, level\n Sensor: dew_point | fields: type, unit, value, level\nTask: Retrieve value from air_quality that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "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_fixed_v1_val_005555", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, depth, reading, value\n Sensor: soil_moisture | fields: depth, reading, unit, lon\nTask: Get level from air_quality where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005556", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lon, ts, value, level\n Sensor: humidity | fields: ts, unit, qc, lon\nTask: Get lon from air_quality where value exceeds the maximum depth from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005557", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lon, qc, value, unit\n Sensor: humidity | fields: depth, lon, level, qc\nTask: Retrieve lat from frost with depth above the MAX(depth) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005558", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, level, reading, lon\n Sensor: snow_depth | fields: ts, reading, depth, lon\nTask: Get lon from lightning where reading exceeds the average depth from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005559", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, depth, type, reading\n Sensor: wind_speed | fields: qc, unit, level, type\nTask: Fetch reading from air_quality where reading is greater than the count of of reading in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005560", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, unit, depth, level\n Sensor: lightning | fields: level, unit, value, lat\nTask: Retrieve value from dew_point with value above the COUNT(depth) of lightning readings sharing the same depth.\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(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005561", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lat, qc, reading, ts\n Sensor: uv_index | fields: lon, lat, ts, value\nTask: Retrieve depth from snow_depth with reading above the MAX(reading) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005562", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lat, reading, type, level\n Sensor: rainfall | fields: reading, lon, value, depth\nTask: Retrieve depth from cloud_cover whose type is found in rainfall records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005563", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: depth, reading, qc, level\n Sensor: temperature | fields: type, qc, value, ts\nTask: Get value from turbidity where ts appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005564", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, ts, lon, qc\n Sensor: snow_depth | fields: reading, level, unit, type\nTask: Retrieve reading from uv_index that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005565", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, depth, reading, level\n Sensor: evaporation | fields: lon, level, qc, lat\nTask: Fetch level from wind_speed that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\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": "ref", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005566", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: type, value, reading, ts\n Sensor: rainfall | fields: qc, value, level, lon\nTask: Fetch reading from humidity where unit exists in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005567", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, level, type, lat\n Sensor: evaporation | fields: ts, depth, lat, qc\nTask: Fetch lon from soil_moisture where ts exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005568", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lat, value, ts, lon\n Sensor: sunlight | fields: qc, ts, level, value\nTask: Get value from temperature where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005569", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, lon, depth, lat\n Sensor: humidity | fields: depth, ts, unit, level\nTask: Get value from drought_index where unit appears in humidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005570", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, ts, type, lon\n Sensor: cloud_cover | fields: lon, unit, value, level\nTask: Retrieve reading from soil_moisture that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005571", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, depth, unit, lat\n Sensor: visibility | fields: lat, value, qc, lon\nTask: Retrieve lon from cloud_cover that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005572", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, value, qc, depth\n Sensor: drought_index | fields: lon, level, unit, ts\nTask: Retrieve lat from sunlight with reading above the SUM(depth) 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\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005573", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, value, lon, reading\n Sensor: sunlight | fields: unit, ts, lon, depth\nTask: Get depth from humidity where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005574", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lon, ts, value, unit\n Sensor: soil_moisture | fields: reading, type, unit, qc\nTask: Fetch value from temperature where depth exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005575", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, lat, ts, depth\n Sensor: visibility | fields: depth, ts, unit, type\nTask: Get reading from soil_moisture where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "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_fixed_v1_val_005576", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, depth, type, lon\n Sensor: uv_index | fields: lon, qc, value, level\nTask: Retrieve level from wind_speed that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005577", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: type, value, unit, ts\n Sensor: soil_moisture | fields: unit, value, lon, lat\nTask: Retrieve value from lightning whose type is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005578", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, depth, ts, qc\n Sensor: snow_depth | fields: qc, level, ts, value\nTask: Retrieve lat from temperature whose ts is found in snow_depth records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005579", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: type, reading, qc, unit\n Sensor: frost | fields: depth, value, qc, type\nTask: Retrieve reading from humidity whose ts is found in frost records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005580", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, depth, reading, lon\n Sensor: sunlight | fields: lon, depth, qc, reading\nTask: Fetch reading from frost that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005581", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lon, unit, depth, type\n Sensor: turbidity | fields: value, lat, depth, ts\nTask: Get reading from snow_depth where depth appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "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_fixed_v1_val_005582", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, reading, qc, level\n Sensor: soil_moisture | fields: level, lat, value, type\nTask: Get lat from air_quality where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005583", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: qc, type, unit, depth\n Sensor: evaporation | fields: qc, type, value, depth\nTask: Retrieve depth from lightning with reading above the MIN(depth) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005584", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lon, qc, type, lat\n Sensor: evaporation | fields: type, lon, value, level\nTask: Retrieve lat from sunlight whose depth is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005585", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, value, unit, level\n Sensor: snow_depth | fields: reading, type, lon, depth\nTask: Fetch lon from humidity where depth exists in snow_depth sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005586", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: depth, reading, unit, lon\n Sensor: evaporation | fields: lon, lat, value, unit\nTask: Fetch lat from sunlight that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005587", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, lon, unit, level\n Sensor: pressure | fields: lon, level, ts, lat\nTask: Get lat from evaporation where reading exceeds the total depth from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005588", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lon, type, unit, depth\n Sensor: air_quality | fields: depth, value, ts, lon\nTask: Retrieve level from humidity whose qc is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005589", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: value, reading, level, ts\n Sensor: drought_index | fields: lon, level, depth, type\nTask: Retrieve level 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=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005590", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, ts, type, unit\n Sensor: rainfall | fields: lat, lon, depth, ts\nTask: Fetch value from cloud_cover where depth exists in rainfall sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005591", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lon, level, lat, depth\n Sensor: wind_speed | fields: qc, ts, depth, reading\nTask: Get value from frost where a corresponding entry exists in wind_speed with 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=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005592", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, depth, qc, type\n Sensor: snow_depth | fields: type, value, depth, unit\nTask: Fetch level from wind_speed where ts exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005593", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, unit, reading, lat\n Sensor: temperature | fields: type, level, depth, value\nTask: Fetch depth from dew_point where type exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005594", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | 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=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005595", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: level, qc, value, ts\n Sensor: evaporation | fields: lon, type, value, lat\nTask: Fetch depth from soil_moisture where value is greater than the count of of depth in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005596", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: value, unit, ts, type\n Sensor: visibility | fields: qc, depth, ts, type\nTask: Get lat from evaporation where depth appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005597", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, lat, depth, qc\n Sensor: cloud_cover | fields: value, type, level, depth\nTask: Retrieve lon from temperature with value above the MIN(reading) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005598", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: reading, ts, depth, unit\n Sensor: frost | fields: ts, qc, type, lon\nTask: Retrieve value from visibility whose unit is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "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_fixed_v1_val_005599", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: ts, level, lat, type\n Sensor: sunlight | fields: type, qc, lat, reading\nTask: Fetch depth from uv_index where value is greater than the average of value in sunlight for matching 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(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "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_fixed_v1_val_005600", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, reading, type, lon\n Sensor: dew_point | fields: lon, level, value, depth\nTask: Fetch lat from drought_index where depth is greater than the maximum of value in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005601", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: unit, type, lat, level\n Sensor: turbidity | fields: lon, qc, type, depth\nTask: Retrieve reading from lightning that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005602", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: ts, depth, lat, type\n Sensor: cloud_cover | fields: lat, lon, reading, qc\nTask: Fetch lat 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=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005603", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: value, qc, lat, type\n Sensor: snow_depth | fields: reading, ts, unit, level\nTask: Get reading from rainfall where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005604", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: unit, lon, qc, type\n Sensor: sunlight | fields: lon, lat, depth, unit\nTask: Retrieve value from pressure that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005605", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lat, type, reading, unit\n Sensor: sunlight | fields: lat, reading, ts, unit\nTask: Fetch depth from soil_moisture where depth is greater than the count of of reading in sunlight for matching unit.\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(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005606", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, reading, ts, type\n Sensor: soil_moisture | fields: value, type, reading, lon\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=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005607", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, type, lon, unit\n Sensor: dew_point | fields: lon, value, reading, level\nTask: Get depth from cloud_cover where a corresponding entry exists in dew_point with 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=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005608", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: ts, level, qc, reading\n Sensor: evaporation | fields: type, unit, qc, lon\nTask: Fetch depth from visibility that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005609", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, qc, lon, lat\n Sensor: snow_depth | fields: reading, lon, lat, value\nTask: Fetch depth from rainfall that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005610", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, qc, lat, lon\n Sensor: pressure | fields: qc, unit, 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=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005611", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: qc, lon, depth, value\n Sensor: sunlight | fields: type, qc, depth, lat\nTask: Fetch depth from drought_index where reading is greater than the count of of reading in sunlight for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005612", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, depth, value, lon\n Sensor: evaporation | fields: value, reading, depth, ts\nTask: Fetch lon from lightning where ts exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005613", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: qc, lon, depth, reading\n Sensor: soil_moisture | fields: value, lon, qc, level\nTask: Get value from rainfall where type appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005614", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lon, ts, lat, value\n Sensor: soil_moisture | fields: value, reading, qc, lat\nTask: Retrieve lon from drought_index that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005615", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: depth, qc, type, ts\n Sensor: rainfall | fields: type, level, unit, value\nTask: Fetch lon from humidity where type exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005616", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: value, lon, depth, type\n Sensor: temperature | fields: lon, value, reading, type\nTask: Fetch lat from turbidity where depth is greater than the average of reading in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005617", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, depth, ts, type\n Sensor: soil_moisture | fields: reading, unit, value, lat\nTask: Fetch depth from dew_point where reading is greater than the count of of reading in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005618", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, lon, lat, value\n Sensor: snow_depth | fields: unit, type, qc, level\nTask: Get value from pressure where reading exceeds the total value from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005619", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: type, level, reading, qc\n Sensor: lightning | fields: value, level, depth, unit\nTask: Retrieve level from uv_index that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005620", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: reading, lat, type, level\n Sensor: visibility | fields: lat, ts, unit, depth\nTask: Fetch value from dew_point where reading is greater than the minimum of reading in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005621", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lat, type, qc, ts\n Sensor: air_quality | fields: depth, lon, reading, lat\nTask: Fetch lon from soil_moisture that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005622", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, qc, type, depth\n Sensor: temperature | fields: level, qc, lon, ts\nTask: Get lon from uv_index where depth exceeds the total reading from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005623", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, qc, ts, type\n Sensor: soil_moisture | fields: lat, ts, type, unit\nTask: Retrieve depth from evaporation with depth above the AVG(depth) of soil_moisture readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005624", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, qc, type, level\n Sensor: turbidity | fields: type, reading, qc, lat\nTask: Fetch level from evaporation that have at least one corresponding turbidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005625", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: unit, lon, ts, type\n Sensor: wind_speed | fields: type, depth, value, unit\nTask: Retrieve lat from frost whose ts is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005626", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, qc, depth, type\n Sensor: snow_depth | fields: reading, level, lon, lat\nTask: Get value from uv_index where reading exceeds the maximum value from snow_depth for the same type.\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(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005627", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lon, reading, level, unit\n Sensor: snow_depth | fields: qc, unit, reading, value\nTask: Fetch value from frost that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005628", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: qc, ts, reading, lat\n Sensor: wind_speed | fields: ts, value, reading, depth\nTask: Get depth from uv_index where unit appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005629", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: unit, value, type, lon\n Sensor: temperature | fields: ts, lon, type, value\nTask: Retrieve reading from wind_speed with value above the AVG(value) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005630", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lon, type, reading, value\n Sensor: soil_moisture | fields: lat, reading, depth, type\nTask: Fetch level 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=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005631", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: reading, value, level, depth\n Sensor: frost | fields: lat, unit, value, level\nTask: Retrieve depth from evaporation whose ts is found in frost records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005632", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: qc, type, level, lon\n Sensor: evaporation | fields: lat, value, depth, type\nTask: Retrieve depth from rainfall whose type is found in evaporation records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\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": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005633", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, qc, reading, level\n Sensor: air_quality | fields: level, reading, lat, ts\nTask: Retrieve lon from uv_index that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005634", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: depth, reading, lat, unit\n Sensor: evaporation | fields: lat, qc, value, unit\nTask: Fetch reading from pressure that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005635", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, type, qc, ts\n Sensor: visibility | fields: depth, lon, value, level\nTask: Fetch depth from drought_index where ts exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005636", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, value, unit, ts\n Sensor: air_quality | fields: reading, unit, lon, value\nTask: Get value from evaporation where ts appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005637", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, lon, reading, value\n Sensor: evaporation | fields: ts, lon, unit, qc\nTask: Retrieve level from cloud_cover that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005638", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: depth, ts, level, unit\n Sensor: frost | fields: lat, depth, ts, qc\nTask: Fetch lon from rainfall where depth is greater than the maximum of reading in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005639", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: level, lat, value, reading\n Sensor: air_quality | fields: reading, ts, value, type\nTask: Fetch level from temperature that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005640", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lat, lon, unit, value\n Sensor: cloud_cover | fields: ts, qc, depth, lon\nTask: Get depth from air_quality where reading exceeds the maximum reading from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005641", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lon, reading, lat, unit\n Sensor: pressure | fields: lon, reading, type, ts\nTask: Retrieve level from humidity that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005642", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: level, lon, unit, ts\n Sensor: wind_speed | fields: reading, type, depth, unit\nTask: Fetch reading from evaporation where depth exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005643", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, ts, unit, depth\n Sensor: soil_moisture | fields: level, unit, depth, lon\nTask: Retrieve level from uv_index whose depth is found in soil_moisture records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005644", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, lon, level, type\n Sensor: evaporation | fields: value, reading, depth, lat\nTask: Fetch depth from sunlight where depth is greater than the count of of depth in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005645", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, unit, depth, lon\n Sensor: evaporation | fields: depth, qc, level, ts\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=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005646", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: depth, type, reading, value\n Sensor: soil_moisture | fields: value, level, qc, depth\nTask: Get depth from turbidity where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005647", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: type, unit, ts, level\n Sensor: drought_index | fields: ts, level, qc, depth\nTask: Fetch value from snow_depth where qc exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005648", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, depth, lat, lon\n Sensor: air_quality | fields: qc, lon, reading, lat\nTask: Fetch level from frost that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005649", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: type, reading, ts, qc\n Sensor: snow_depth | fields: lat, value, qc, level\nTask: Get depth from turbidity where unit appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005650", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, level, lat, lon\n Sensor: temperature | fields: depth, ts, reading, qc\nTask: Get value from humidity where ts appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005651", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lon, depth, level, type\n Sensor: air_quality | fields: level, qc, unit, reading\nTask: Get value from dew_point where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005652", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lat, type, value, reading\n Sensor: turbidity | fields: qc, reading, lat, ts\nTask: Fetch level 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=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005653", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: ts, lon, unit, lat\n Sensor: sunlight | fields: lat, qc, unit, value\nTask: Get lon from drought_index where depth exceeds the total reading from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005654", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: level, lat, qc, value\n Sensor: snow_depth | fields: level, qc, lat, reading\nTask: Fetch value from turbidity where depth is greater than the total of depth in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005655", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, type, depth, lat\n Sensor: visibility | fields: value, level, qc, lon\nTask: Fetch lon from dew_point that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005656", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: type, lon, value, qc\n Sensor: drought_index | fields: unit, value, lon, ts\nTask: Get depth from air_quality where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005657", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, lon, reading, ts\n Sensor: pressure | fields: unit, type, lon, reading\nTask: Retrieve value from turbidity with value above the AVG(depth) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005658", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: unit, qc, lat, lon\n Sensor: soil_moisture | fields: level, lat, ts, type\nTask: Get depth from sunlight where qc appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005659", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: value, depth, lat, type\n Sensor: evaporation | fields: level, unit, reading, lat\nTask: Retrieve depth 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=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005660", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, value, type, lat\n Sensor: visibility | fields: level, reading, depth, qc\nTask: Retrieve lon from rainfall whose type is found in visibility records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005661", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: level, unit, lat, ts\n Sensor: visibility | fields: qc, ts, value, unit\nTask: Retrieve depth from drought_index with reading above the COUNT(reading) of visibility readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005662", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, lon, level, depth\n Sensor: wind_speed | fields: ts, lat, type, unit\nTask: Retrieve level from visibility that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005663", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lat, type, lon, depth\n Sensor: evaporation | fields: lon, type, level, depth\nTask: Get lat from wind_speed where value exceeds the minimum depth from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005664", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: unit, reading, ts, lat\n Sensor: frost | fields: ts, unit, level, type\nTask: Retrieve depth from wind_speed that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005665", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, lat, level, lon\n Sensor: turbidity | fields: ts, level, reading, depth\nTask: Get reading from evaporation where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005666", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lat, qc, depth, lon\n Sensor: pressure | fields: type, lat, reading, lon\nTask: Retrieve value from cloud_cover that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005667", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, ts, type, reading\n Sensor: cloud_cover | fields: lon, unit, ts, type\nTask: Get value 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=\"nbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005668", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lon, value, qc, unit\n Sensor: lightning | fields: type, level, value, lon\nTask: Retrieve level from air_quality whose ts is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "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_fixed_v1_val_005669", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: ts, value, type, depth\n Sensor: uv_index | fields: qc, reading, unit, value\nTask: Fetch reading from drought_index that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005670", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, type, lat, reading\n Sensor: uv_index | fields: unit, lat, ts, type\nTask: Fetch level from pressure that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005671", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, reading, lon, type\n Sensor: rainfall | fields: depth, lat, value, qc\nTask: Retrieve depth from soil_moisture with reading above the MIN(reading) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005672", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: qc, ts, level, value\n Sensor: cloud_cover | fields: unit, lat, value, type\nTask: Retrieve lat from air_quality that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005673", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lon, reading, type, depth\n Sensor: cloud_cover | fields: lon, type, unit, reading\nTask: Get value from rainfall where depth appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005674", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: ts, lat, unit, depth\n Sensor: dew_point | fields: ts, lat, level, unit\nTask: Retrieve lat from visibility that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005675", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, qc, lon, ts\n Sensor: turbidity | fields: lon, lat, level, ts\nTask: Get level from visibility where value exceeds the total depth from turbidity for 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(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005676", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, qc, lon, level\n Sensor: pressure | fields: depth, qc, lat, lon\nTask: Fetch lat from dew_point that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\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", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005677", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, lon, reading, ts\n Sensor: air_quality | fields: lon, level, qc, depth\nTask: Retrieve level from soil_moisture with value above the COUNT(reading) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005678", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: reading, lat, qc, lon\n Sensor: lightning | fields: lon, ts, lat, depth\nTask: Retrieve level 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=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005679", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: ts, qc, lon, type\n Sensor: uv_index | fields: type, reading, level, lon\nTask: Retrieve lat from snow_depth whose type is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005680", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, value, depth, level\n Sensor: cloud_cover | fields: lat, depth, lon, qc\nTask: Fetch reading from humidity where value is greater than the maximum of reading in cloud_cover for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005681", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: unit, ts, level, reading\n Sensor: visibility | fields: qc, lon, type, depth\nTask: Retrieve level from snow_depth whose qc is found in visibility records where depth 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(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005682", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: reading, type, unit, depth\n Sensor: temperature | fields: ts, type, unit, lat\nTask: Get depth from visibility where reading exceeds the maximum reading from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005683", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: lat, depth, unit, level\n Sensor: turbidity | fields: type, reading, qc, lon\nTask: Fetch lat from frost where depth is greater than the total of reading in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005684", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, level, reading, type\n Sensor: visibility | fields: unit, ts, value, reading\nTask: Fetch lon from wind_speed where value is greater than the count of of depth in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005685", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, unit, type, lat\n Sensor: turbidity | fields: lat, level, qc, unit\nTask: Get depth from dew_point where value exceeds the average depth from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005686", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: level, depth, ts, value\n Sensor: frost | fields: depth, level, ts, lat\nTask: Get lon from lightning where type appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005687", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, lon, lat, value\n Sensor: dew_point | fields: lon, reading, value, lat\nTask: Fetch lon from visibility where depth exists in dew_point sensor data for the same type.\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=\"type\",\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": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005688", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, level, lat, ts\n Sensor: pressure | fields: level, reading, lon, ts\nTask: Retrieve depth from evaporation with value above the AVG(value) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005689", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: value, reading, depth, lon\n Sensor: temperature | fields: value, level, ts, reading\nTask: Get level from visibility where depth appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005690", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: depth, ts, level, unit\n Sensor: visibility | fields: unit, type, level, lat\nTask: Retrieve depth from cloud_cover whose unit is found in visibility records where qc 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(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005691", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: depth, unit, qc, type\n Sensor: frost | fields: qc, type, lon, lat\nTask: Fetch reading from rainfall that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005692", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, depth, lon, value\n Sensor: visibility | fields: type, qc, ts, lon\nTask: Get reading from uv_index where ts appears in visibility readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005693", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: unit, ts, depth, type\n Sensor: visibility | fields: value, unit, reading, ts\nTask: Get level from air_quality where depth exceeds the count of value from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005694", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: value, lon, type, reading\n Sensor: sunlight | fields: lat, level, type, qc\nTask: Retrieve lat from pressure whose unit is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005695", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: reading, depth, unit, level\n Sensor: dew_point | fields: level, ts, reading, lon\nTask: Fetch reading from drought_index where qc exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005696", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, qc, lon, ts\n Sensor: temperature | fields: type, value, reading, qc\nTask: Fetch value from wind_speed where depth exists in temperature sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005697", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, unit, value, depth\n Sensor: pressure | fields: qc, type, unit, ts\nTask: Get reading from soil_moisture where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005698", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, depth, level, type\n Sensor: dew_point | fields: depth, qc, value, unit\nTask: Retrieve level from humidity that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005699", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: type, unit, reading, level\n Sensor: air_quality | fields: lat, value, unit, reading\nTask: Get lon from soil_moisture where type appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005700", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, ts, reading, lon\n Sensor: snow_depth | fields: lat, qc, value, depth\nTask: Fetch depth 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=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005701", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: reading, type, depth, lon\n Sensor: visibility | fields: level, qc, lat, unit\nTask: Fetch reading from evaporation that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005702", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: qc, value, depth, lat\n Sensor: evaporation | fields: type, reading, value, lon\nTask: Fetch lon from turbidity where depth exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005703", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, type, reading, qc\n Sensor: evaporation | fields: qc, level, value, lon\nTask: Fetch lat from temperature where type exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005704", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: depth, reading, unit, level\n Sensor: air_quality | fields: lon, level, reading, lat\nTask: Retrieve lat from turbidity that have at least one matching reading in air_quality sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005705", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lat, ts, reading, depth\n Sensor: frost | fields: qc, value, reading, lon\nTask: Retrieve lon from uv_index that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005706", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, lat, value, ts\n Sensor: lightning | fields: level, reading, qc, lat\nTask: Get value from humidity where ts appears in lightning readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005707", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, level, unit, type\n Sensor: rainfall | fields: lon, unit, ts, depth\nTask: Retrieve value from air_quality that have at least one matching reading in rainfall sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005708", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, level, reading, type\n Sensor: dew_point | fields: unit, lat, lon, value\nTask: Get depth from wind_speed where depth exceeds the total value from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005709", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: unit, lat, lon, type\n Sensor: snow_depth | fields: lon, level, lat, qc\nTask: Fetch value from temperature where qc exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005710", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: qc, reading, lat, type\n Sensor: dew_point | fields: depth, reading, lat, unit\nTask: Fetch depth from evaporation that have at least one corresponding dew_point measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005711", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lon, qc, reading, unit\n Sensor: drought_index | fields: reading, lat, depth, unit\nTask: Retrieve value from evaporation with depth above the MIN(depth) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005712", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: reading, ts, value, level\n Sensor: air_quality | fields: reading, depth, lon, type\nTask: Fetch reading from cloud_cover where reading is greater than the average of depth in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005713", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, qc, value, lat\n Sensor: uv_index | fields: unit, reading, qc, ts\nTask: Retrieve level from rainfall whose qc is found in uv_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005714", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: unit, type, depth, level\n Sensor: turbidity | fields: reading, value, depth, lat\nTask: Fetch level from temperature where value is greater than the minimum of depth in turbidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005715", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: unit, lon, level, qc\n Sensor: frost | fields: lat, reading, depth, unit\nTask: Get level from humidity where depth appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005716", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: unit, lon, ts, reading\n Sensor: humidity | fields: lon, type, lat, depth\nTask: Get lat from lightning where a corresponding entry exists in humidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005717", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, lon, type, qc\n Sensor: soil_moisture | fields: lon, qc, type, depth\nTask: Get depth from visibility where ts appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "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_fixed_v1_val_005718", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, qc, level, reading\n Sensor: turbidity | fields: level, lon, value, qc\nTask: Fetch lon from snow_depth where reading is greater than the maximum of value in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005719", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: ts, value, type, reading\n Sensor: lightning | fields: depth, lon, level, type\nTask: Fetch level from drought_index where type exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005720", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, qc, value, type\n Sensor: evaporation | fields: value, qc, reading, unit\nTask: Fetch value from pressure where reading is greater than the maximum of depth in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005721", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lon, qc, value, lat\n Sensor: snow_depth | fields: depth, reading, value, type\nTask: Get lon from uv_index where type appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005722", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lat, unit, level, qc\n Sensor: wind_speed | fields: unit, value, reading, level\nTask: Fetch reading from turbidity that have at least one corresponding wind_speed measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005723", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: type, level, lat, reading\n Sensor: rainfall | fields: unit, lat, depth, value\nTask: Get lat from visibility where unit appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005724", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, ts, unit, level\n Sensor: snow_depth | fields: depth, lat, level, qc\nTask: Get depth from evaporation where a corresponding entry exists in snow_depth with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005725", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: depth, lon, unit, type\n Sensor: wind_speed | fields: depth, ts, reading, value\nTask: Retrieve value from drought_index with depth above the MAX(value) of wind_speed 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(\"MAX\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005726", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: ts, depth, type, level\n Sensor: sunlight | fields: value, depth, unit, qc\nTask: Retrieve reading from evaporation whose depth is found in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005727", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: unit, type, qc, lat\n Sensor: temperature | fields: value, type, depth, level\nTask: Retrieve lon from drought_index that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005728", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: level, lat, unit, reading\n Sensor: rainfall | fields: type, lat, reading, value\nTask: Get reading from uv_index where value exceeds the minimum value from rainfall for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005729", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, level, unit, ts\n Sensor: uv_index | fields: lat, type, ts, qc\nTask: Retrieve lon from turbidity with reading above the COUNT(reading) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005730", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, reading, qc, ts\n Sensor: wind_speed | fields: ts, depth, value, unit\nTask: Get value from snow_depth where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005731", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, reading, level, depth\n Sensor: uv_index | fields: type, qc, depth, ts\nTask: Fetch level from drought_index where type exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005732", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: qc, type, lon, value\n Sensor: pressure | fields: lat, unit, ts, type\nTask: Fetch reading from dew_point where ts exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005733", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, lat, depth, qc\n Sensor: rainfall | fields: reading, ts, lat, lon\nTask: Fetch lat from temperature where type exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005734", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, lon, ts, depth\n Sensor: wind_speed | fields: qc, unit, type, ts\nTask: Get level from rainfall where unit appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005735", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: reading, level, lat, lon\n Sensor: air_quality | fields: type, lon, ts, depth\nTask: Get reading from temperature where value exceeds the count of depth from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005736", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: depth, lat, unit, qc\n Sensor: dew_point | fields: qc, ts, depth, unit\nTask: Get lat from soil_moisture where depth appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005737", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: reading, unit, type, level\n Sensor: wind_speed | fields: qc, level, ts, reading\nTask: Retrieve value from turbidity whose qc is found in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005738", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, type, depth, lat\n Sensor: cloud_cover | fields: qc, lat, level, depth\nTask: Fetch lon from frost that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005739", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: reading, type, qc, level\n Sensor: sunlight | fields: unit, type, level, lat\nTask: Get value from frost where reading exceeds the average depth from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005740", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, ts, depth, qc\n Sensor: wind_speed | fields: ts, lat, unit, depth\nTask: Fetch value from rainfall that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005741", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lat, qc, depth, value\n Sensor: pressure | fields: lat, ts, reading, lon\nTask: Get lon from cloud_cover where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005742", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: depth, lon, type, unit\n Sensor: air_quality | fields: lon, reading, type, depth\nTask: Fetch lon from visibility where value is greater than the average of value in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005743", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, qc, value, unit\n Sensor: evaporation | fields: unit, ts, level, lat\nTask: Fetch lon 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=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005744", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: level, unit, lon, value\n Sensor: air_quality | fields: depth, type, lat, lon\nTask: Fetch level from snow_depth where qc exists in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005745", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, lat, value, type\n Sensor: temperature | fields: lon, depth, reading, lat\nTask: Retrieve level 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=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005746", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, level, depth, lat\n Sensor: temperature | fields: type, ts, unit, reading\nTask: Fetch lat from dew_point where reading is greater than the average of depth in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005747", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: value, ts, reading, level\n Sensor: rainfall | fields: type, ts, lat, depth\nTask: Retrieve depth from air_quality that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005748", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, value, unit, depth\n Sensor: evaporation | fields: lat, level, depth, type\nTask: Fetch value from pressure where reading is greater than the total of depth in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005749", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, value, lat, lon\n Sensor: evaporation | fields: value, ts, lon, unit\nTask: Fetch level from turbidity where reading is greater than the minimum of depth in evaporation for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005750", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lon, depth, value, ts\n Sensor: lightning | fields: lat, depth, reading, qc\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=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005751", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, type, ts, lat\n Sensor: lightning | fields: reading, lat, level, qc\nTask: Fetch lat from visibility where value is greater than the total of reading in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "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_fixed_v1_val_005752", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: qc, unit, reading, lon\n Sensor: air_quality | fields: qc, depth, unit, lon\nTask: Fetch lat from pressure where depth exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005753", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lon, lat, type, depth\n Sensor: lightning | fields: type, lon, reading, depth\nTask: Get depth from rainfall where depth exceeds the total value from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005754", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: level, value, reading, unit\n Sensor: dew_point | fields: unit, ts, value, type\nTask: Retrieve lat from snow_depth with reading above the AVG(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005755", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lon, value, unit, reading\n Sensor: drought_index | fields: type, level, lat, reading\nTask: Retrieve depth 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=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005756", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, type, lat, level\n Sensor: humidity | fields: value, lon, qc, depth\nTask: Retrieve lat from lightning whose depth is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005757", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: level, value, lon, lat\n Sensor: soil_moisture | fields: lon, level, depth, qc\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=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005758", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lat, type, level, value\n Sensor: wind_speed | fields: reading, unit, qc, lat\nTask: Get lon from sunlight where qc appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005759", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: qc, type, level, ts\n Sensor: visibility | fields: qc, reading, lon, depth\nTask: Fetch depth from soil_moisture that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005760", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lat, value, ts, lon\n Sensor: uv_index | fields: type, ts, lat, qc\nTask: Fetch lat from sunlight where depth is greater than the total of value in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005761", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, ts, reading, type\n Sensor: drought_index | fields: unit, lat, reading, type\nTask: Fetch value from rainfall where unit exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005762", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: ts, reading, qc, type\n Sensor: rainfall | fields: type, ts, reading, lat\nTask: Get value from sunlight where unit appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005763", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: reading, unit, value, type\n Sensor: snow_depth | fields: unit, qc, reading, value\nTask: Get reading from wind_speed where value exceeds the total depth from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005764", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, lon, lat, qc\n Sensor: uv_index | fields: level, unit, depth, lat\nTask: Retrieve lat from lightning that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005765", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, qc, type, lon\n Sensor: temperature | fields: lat, value, type, lon\nTask: Get level from humidity where depth exceeds the maximum reading from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005766", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, unit, value, depth\n Sensor: snow_depth | fields: value, lat, depth, lon\nTask: Get depth from soil_moisture where reading exceeds the count of value from snow_depth for the same unit.\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(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005767", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: reading, level, value, unit\n Sensor: humidity | fields: level, value, qc, reading\nTask: Get depth from air_quality where reading exceeds the average reading from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005768", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: reading, level, unit, ts\n Sensor: evaporation | fields: qc, lat, reading, depth\nTask: Get lon from temperature where reading exceeds the maximum reading from evaporation for the same depth.\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=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005769", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, lon, reading, value\n Sensor: sunlight | fields: lat, ts, level, reading\nTask: Fetch level from snow_depth where reading is greater than the minimum of reading in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "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_fixed_v1_val_005770", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: reading, depth, lat, level\n Sensor: visibility | fields: unit, ts, level, lat\nTask: Fetch reading from rainfall that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005771", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, reading, depth, lon\n Sensor: drought_index | fields: lat, depth, qc, level\nTask: Get depth from air_quality where value exceeds the count of reading from drought_index for the same ts.\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(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005772", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lon, ts, lat, type\n Sensor: temperature | fields: level, ts, reading, type\nTask: Retrieve depth from humidity that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005773", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: ts, lon, qc, depth\n Sensor: humidity | fields: depth, ts, unit, type\nTask: Fetch level from turbidity where depth is greater than the total of depth in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005774", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lat, ts, qc, value\n Sensor: pressure | fields: lon, ts, unit, level\nTask: Fetch reading 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=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005775", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, type, lat, reading\n Sensor: wind_speed | fields: level, qc, value, reading\nTask: Retrieve value from humidity whose depth is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "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_fixed_v1_val_005776", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, reading, value, qc\n Sensor: wind_speed | fields: unit, reading, level, depth\nTask: Retrieve value from dew_point whose ts is found in wind_speed records where qc 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(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005777", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, unit, lon, reading\n Sensor: pressure | fields: ts, reading, value, unit\nTask: Fetch depth from frost where reading is greater than the maximum of depth in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005778", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, value, level, ts\n Sensor: evaporation | fields: type, qc, reading, level\nTask: Get depth from soil_moisture where value exceeds the total depth from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005779", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: value, lat, level, lon\n Sensor: wind_speed | fields: qc, unit, level, type\nTask: Fetch level from soil_moisture where qc exists in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005780", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: unit, level, ts, lat\n Sensor: evaporation | fields: value, level, depth, lon\nTask: Get level from humidity where reading exceeds the count of value from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005781", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: type, level, lat, qc\n Sensor: rainfall | fields: value, lat, reading, lon\nTask: Fetch depth from cloud_cover where ts exists in rainfall sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005782", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: depth, value, ts, reading\n Sensor: visibility | fields: lon, level, type, depth\nTask: Fetch depth from cloud_cover where value is greater than the minimum of value in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005783", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: depth, ts, lon, unit\n Sensor: humidity | fields: type, reading, depth, ts\nTask: Fetch reading from uv_index that have at least one corresponding humidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005784", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: unit, type, value, lat\n Sensor: turbidity | fields: value, level, type, depth\nTask: Get level from soil_moisture where depth appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005785", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, level, qc, ts\n Sensor: soil_moisture | fields: type, value, lat, depth\nTask: Get lon from uv_index where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005786", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: qc, type, reading, unit\n Sensor: rainfall | fields: reading, lat, qc, ts\nTask: Get depth from snow_depth where depth exceeds the total depth from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005787", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: level, qc, unit, lon\n Sensor: visibility | fields: level, unit, qc, type\nTask: Retrieve reading from uv_index whose ts is found in visibility records where ts 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(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005788", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: type, lon, level, ts\n Sensor: temperature | fields: ts, lat, level, reading\nTask: Retrieve lat from soil_moisture with reading above the MAX(reading) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005789", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, reading, type, value\n Sensor: temperature | fields: value, level, unit, ts\nTask: Retrieve value from wind_speed with reading above the AVG(depth) of temperature readings sharing the same type.\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(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005790", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, ts, unit, qc\n Sensor: soil_moisture | fields: lon, depth, value, unit\nTask: Retrieve reading from rainfall whose type is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005791", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: lon, unit, depth, value\n Sensor: soil_moisture | fields: lat, ts, unit, level\nTask: Fetch reading from lightning that have at least one corresponding soil_moisture measurement for 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=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005792", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: qc, depth, level, reading\n Sensor: dew_point | fields: type, level, lon, lat\nTask: Get value from lightning where a corresponding entry exists in dew_point with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005793", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: reading, type, depth, level\n Sensor: turbidity | fields: depth, lat, unit, lon\nTask: Retrieve reading from pressure whose unit is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "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_fixed_v1_val_005794", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: unit, type, lon, ts\n Sensor: frost | fields: reading, lat, level, depth\nTask: Retrieve lon from pressure whose depth is found in frost records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005795", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, unit, level, lat\n Sensor: temperature | fields: type, level, ts, qc\nTask: Retrieve value from turbidity whose ts is found in temperature records where type 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=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005796", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: depth, lat, unit, ts\n Sensor: humidity | fields: level, lon, type, lat\nTask: Fetch lat from snow_depth where value is greater than the total of value in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005797", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lat, unit, qc, type\n Sensor: drought_index | fields: lon, level, type, unit\nTask: Retrieve level from air_quality with reading above the SUM(value) of drought_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005798", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: type, lon, lat, reading\n Sensor: uv_index | fields: level, qc, value, lon\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=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005799", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lon, ts, lat, reading\n Sensor: temperature | fields: level, qc, unit, lon\nTask: Retrieve depth from snow_depth whose unit is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005800", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, type, qc, lat\n Sensor: pressure | fields: level, lat, value, type\nTask: Get lat from humidity where depth appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005801", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: qc, unit, value, level\n Sensor: lightning | fields: value, level, type, ts\nTask: Retrieve reading from soil_moisture whose type is found in lightning records where qc 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(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005802", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, lat, ts, qc\n Sensor: temperature | fields: qc, reading, ts, depth\nTask: Fetch lat from snow_depth where value is greater than the minimum of value in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005803", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, depth, qc, lon\n Sensor: dew_point | fields: lat, reading, ts, value\nTask: Retrieve lat from temperature with depth above the SUM(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005804", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: unit, type, lat, level\n Sensor: snow_depth | fields: type, reading, lat, unit\nTask: Retrieve depth from wind_speed with depth above the COUNT(value) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005805", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, value, lon, ts\n Sensor: soil_moisture | fields: unit, value, qc, level\nTask: Get depth from visibility where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005806", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: unit, lon, reading, ts\n Sensor: wind_speed | fields: unit, ts, reading, value\nTask: Get value from evaporation where ts appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005807", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, reading, type, value\n Sensor: visibility | fields: unit, lon, reading, lat\nTask: Fetch lon from evaporation where depth exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005808", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, reading, depth, qc\n Sensor: visibility | fields: ts, lon, depth, level\nTask: Retrieve lon from drought_index whose depth is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005809", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: depth, unit, value, level\n Sensor: pressure | fields: value, level, lat, qc\nTask: Get level from soil_moisture where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005810", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, reading, unit, qc\n Sensor: rainfall | fields: lon, lat, level, value\nTask: Retrieve depth from uv_index with value above the COUNT(depth) of rainfall readings sharing the same type.\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(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005811", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: unit, qc, lat, reading\n Sensor: dew_point | fields: type, value, lat, level\nTask: Fetch depth from evaporation that have at least one corresponding dew_point measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005812", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: type, lat, qc, reading\n Sensor: dew_point | fields: reading, lon, qc, depth\nTask: Retrieve lon from wind_speed that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005813", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: value, type, reading, unit\n Sensor: evaporation | fields: reading, value, ts, level\nTask: Get reading from wind_speed where value exceeds the minimum depth from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005814", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, qc, lon, ts\n Sensor: air_quality | fields: qc, unit, ts, value\nTask: Get lat from wind_speed where ts appears in air_quality readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005815", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, value, ts, type\n Sensor: snow_depth | fields: unit, lon, depth, reading\nTask: Retrieve lat from lightning with value above the AVG(reading) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\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": "hub", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005816", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, value, lat, level\n Sensor: drought_index | fields: type, qc, level, reading\nTask: Get level 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=\"ref\"),\n filter=has_match(\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": "ref", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005817", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: type, lat, depth, qc\n Sensor: wind_speed | fields: value, reading, lat, ts\nTask: Fetch level from frost where reading is greater than the total of reading in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005818", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: reading, value, ts, qc\n Sensor: pressure | fields: unit, value, level, depth\nTask: Fetch lon from cloud_cover that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005819", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, reading, qc, lat\n Sensor: rainfall | fields: depth, ts, value, lat\nTask: Retrieve depth from cloud_cover whose depth is found in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005820", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: level, lat, reading, ts\n Sensor: snow_depth | fields: type, level, lon, unit\nTask: Fetch lat from evaporation that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005821", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, lon, depth, unit\n Sensor: cloud_cover | fields: type, lat, qc, reading\nTask: Get reading from snow_depth where unit appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005822", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, qc, level, reading\n Sensor: drought_index | fields: reading, ts, type, lon\nTask: Get reading from air_quality where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005823", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: qc, value, level, lon\n Sensor: humidity | fields: reading, qc, depth, unit\nTask: Retrieve value from evaporation that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005824", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lon, type, lat, level\n Sensor: air_quality | fields: depth, ts, unit, qc\nTask: Get reading from frost where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005825", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, lat, reading, lon\n Sensor: cloud_cover | fields: reading, unit, ts, level\nTask: Fetch lat from wind_speed where reading is greater than the average of depth in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005826", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: unit, reading, type, qc\n Sensor: rainfall | fields: type, depth, level, reading\nTask: Retrieve lon from uv_index whose ts is found in rainfall records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005827", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: type, reading, value, qc\n Sensor: air_quality | fields: value, qc, reading, level\nTask: Get lon from evaporation where depth appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005828", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: reading, unit, type, lon\n Sensor: visibility | fields: lon, depth, ts, unit\nTask: Fetch depth from rainfall where unit exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005829", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: depth, level, reading, ts\n Sensor: lightning | fields: depth, qc, ts, lon\nTask: Fetch lat from evaporation where value is greater than the average of depth in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005830", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, level, lat, type\n Sensor: pressure | fields: qc, reading, depth, level\nTask: Get lon from evaporation where qc appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005831", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: unit, type, reading, qc\n Sensor: soil_moisture | fields: value, level, ts, qc\nTask: Retrieve value from turbidity that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005832", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, reading, depth, ts\n Sensor: evaporation | fields: unit, qc, level, lat\nTask: Get value from frost where depth exceeds the minimum depth from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005833", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: type, unit, ts, depth\n Sensor: pressure | fields: level, lat, reading, lon\nTask: Get reading from soil_moisture where unit appears in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005834", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, level, ts, lat\n Sensor: snow_depth | fields: lon, type, level, ts\nTask: Fetch lat from visibility where reading is greater than the minimum of value in snow_depth for matching 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=\"snw\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005835", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, type, ts, lat\n Sensor: air_quality | fields: depth, qc, unit, value\nTask: Fetch lon from frost where unit exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005836", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, ts, type, depth\n Sensor: dew_point | fields: type, lon, qc, value\nTask: Fetch lat from frost where type exists in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005837", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, level, lat, ts\n Sensor: humidity | fields: reading, type, level, lat\nTask: Fetch value from sunlight where reading is greater than the count of of reading in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005838", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: qc, lat, reading, unit\n Sensor: temperature | fields: ts, type, value, level\nTask: Fetch reading from uv_index where value is greater than the total of value in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005839", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, unit, ts, qc\n Sensor: lightning | fields: lon, ts, qc, lat\nTask: Retrieve lon from humidity whose depth is found in lightning records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005840", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, unit, level, reading\n Sensor: rainfall | fields: value, ts, depth, lat\nTask: Get depth from wind_speed where ts appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005841", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, lat, lon, level\n Sensor: temperature | fields: lon, depth, reading, qc\nTask: Get depth from air_quality where value exceeds the total reading from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005842", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: depth, ts, type, lon\n Sensor: drought_index | fields: reading, type, qc, lon\nTask: Get lat from dew_point where reading exceeds the maximum reading from drought_index for the same depth.\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(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005843", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, qc, lon, reading\n Sensor: turbidity | fields: lat, level, ts, depth\nTask: Get value from cloud_cover where unit appears in turbidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005844", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, lat, value, unit\n Sensor: rainfall | fields: level, lon, ts, unit\nTask: Get level from soil_moisture where value exceeds the average reading from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005845", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: depth, ts, reading, level\n Sensor: air_quality | fields: depth, unit, type, lat\nTask: Get value from pressure where depth appears in air_quality readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\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": "pressure", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005846", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, lon, unit, depth\n Sensor: cloud_cover | fields: reading, lat, type, ts\nTask: Fetch depth from uv_index that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005847", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: type, depth, ts, level\n Sensor: lightning | fields: level, lon, depth, lat\nTask: Retrieve reading from turbidity that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005848", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, qc, depth, lat\n Sensor: cloud_cover | fields: type, level, lat, reading\nTask: Get depth from pressure where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005849", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: level, value, qc, unit\n Sensor: evaporation | fields: ts, unit, type, lon\nTask: Get level from frost where qc appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005850", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lon, value, level, type\n Sensor: visibility | fields: value, type, qc, depth\nTask: Get reading from evaporation where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005851", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: value, reading, type, lat\n Sensor: cloud_cover | fields: qc, lon, depth, type\nTask: Retrieve reading from wind_speed whose ts is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005852", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: level, lon, unit, depth\n Sensor: sunlight | fields: unit, value, lat, depth\nTask: Get value from lightning where a corresponding entry exists in sunlight with 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=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005853", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: type, reading, value, lon\n Sensor: sunlight | fields: lon, depth, lat, qc\nTask: Retrieve depth from temperature with depth above the COUNT(depth) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005854", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: reading, type, value, depth\n Sensor: snow_depth | fields: reading, lon, lat, level\nTask: Fetch level from frost where depth exists in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005855", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: unit, value, reading, type\n Sensor: wind_speed | fields: value, lat, ts, type\nTask: Retrieve lon from pressure that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005856", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: reading, lon, ts, depth\n Sensor: snow_depth | fields: type, qc, lon, level\nTask: Fetch lat from sunlight where depth exists in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005857", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: reading, level, depth, unit\n Sensor: pressure | fields: lat, value, level, depth\nTask: Retrieve lat from snow_depth whose qc is found in pressure records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005858", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: type, level, lon, unit\n Sensor: lightning | fields: type, unit, depth, value\nTask: Get level from snow_depth where value exceeds the maximum depth from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005859", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, unit, level, qc\n Sensor: drought_index | fields: reading, ts, unit, lat\nTask: Retrieve level from evaporation whose ts is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005860", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lon, qc, level, lat\n Sensor: snow_depth | fields: ts, type, level, depth\nTask: Fetch depth from frost that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005861", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, lon, qc, ts\n Sensor: rainfall | fields: level, type, unit, reading\nTask: Fetch level from sunlight where depth exists in rainfall sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005862", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, unit, value, ts\n Sensor: pressure | fields: reading, type, level, lon\nTask: Retrieve level from rainfall with value above the AVG(reading) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005863", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: level, qc, ts, type\n Sensor: air_quality | fields: value, qc, lat, depth\nTask: Retrieve value from lightning that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005864", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: value, reading, qc, level\n Sensor: pressure | fields: lat, depth, lon, qc\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=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005865", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, lat, type, ts\n Sensor: frost | fields: ts, type, level, unit\nTask: Fetch level from air_quality where qc exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005866", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, lon, ts, value\n Sensor: frost | fields: reading, type, depth, ts\nTask: Fetch lon from soil_moisture that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005867", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, unit, value, qc\n Sensor: turbidity | fields: type, level, lat, unit\nTask: Retrieve value from cloud_cover with depth above the COUNT(value) of turbidity readings sharing the same type.\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(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005868", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lon, level, depth, unit\n Sensor: frost | fields: value, reading, ts, depth\nTask: Fetch level from turbidity that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005869", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, unit, lat, reading\n Sensor: rainfall | fields: type, ts, level, unit\nTask: Fetch reading from turbidity where depth is greater than the average of depth in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "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_fixed_v1_val_005870", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, ts, reading, lat\n Sensor: visibility | fields: type, qc, value, depth\nTask: Get level from humidity where depth exceeds the count of reading from visibility for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005871", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, qc, lat, type\n Sensor: humidity | fields: lon, reading, value, unit\nTask: Retrieve lat from sunlight whose qc is found in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005872", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, depth, lon, qc\n Sensor: sunlight | fields: type, qc, ts, value\nTask: Get lon from cloud_cover where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005873", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, depth, lat, unit\n Sensor: turbidity | fields: depth, lat, unit, reading\nTask: Fetch level 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=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005874", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, level, value, qc\n Sensor: snow_depth | fields: ts, level, value, depth\nTask: Get lon from pressure where qc appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005875", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lat, reading, lon, depth\n Sensor: soil_moisture | fields: lat, depth, type, level\nTask: Retrieve level from visibility that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005876", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: reading, unit, ts, lon\n Sensor: snow_depth | fields: reading, depth, lon, level\nTask: Fetch level from uv_index where reading is greater than the maximum of depth in snow_depth for matching 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(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005877", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: level, qc, depth, type\n Sensor: frost | fields: type, value, depth, level\nTask: Fetch lat from humidity that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005878", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: type, reading, depth, qc\n Sensor: drought_index | fields: ts, unit, lat, value\nTask: Fetch lon from wind_speed where type exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005879", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, level, type, qc\n Sensor: temperature | fields: type, level, depth, lon\nTask: Retrieve depth from turbidity with reading above the COUNT(depth) of temperature readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005880", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, level, depth, type\n Sensor: pressure | fields: lon, depth, lat, qc\nTask: Retrieve value from sunlight with depth above the AVG(value) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005881", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, qc, ts, lon\n Sensor: dew_point | fields: qc, lat, type, depth\nTask: Get reading from visibility where depth exceeds the total reading from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005882", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: qc, lon, reading, lat\n Sensor: frost | fields: ts, unit, level, lat\nTask: Retrieve lon from cloud_cover whose type is found in frost records where ts 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(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005883", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: value, level, unit, depth\n Sensor: cloud_cover | fields: unit, value, type, level\nTask: Get depth from air_quality where ts appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005884", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: type, level, qc, ts\n Sensor: soil_moisture | fields: qc, ts, reading, value\nTask: Fetch value from cloud_cover where type exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "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_fixed_v1_val_005885", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: reading, value, unit, lon\n Sensor: humidity | fields: type, ts, lat, lon\nTask: Fetch level 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=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005886", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: qc, unit, depth, lat\n Sensor: turbidity | fields: lon, reading, ts, value\nTask: Retrieve level from drought_index whose qc is found in turbidity records where unit 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(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005887", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: value, level, lat, type\n Sensor: snow_depth | fields: unit, value, ts, lat\nTask: Get lon from rainfall where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005888", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, lat, depth, lon\n Sensor: temperature | fields: value, type, ts, level\nTask: Fetch reading from lightning where unit exists in temperature sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005889", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: ts, level, value, qc\n Sensor: drought_index | fields: lon, reading, ts, value\nTask: Retrieve lon from soil_moisture that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005890", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: unit, lat, ts, value\n Sensor: humidity | fields: type, depth, qc, reading\nTask: Get reading from uv_index where reading exceeds the average depth from humidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005891", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: unit, ts, qc, level\n Sensor: humidity | fields: lat, depth, type, qc\nTask: Get lon from lightning where reading exceeds the average depth from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005892", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: qc, level, ts, reading\n Sensor: evaporation | fields: value, lat, type, level\nTask: Fetch reading from pressure where reading is greater than the minimum of reading in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005893", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: unit, type, lon, reading\n Sensor: rainfall | fields: unit, qc, value, type\nTask: Get level from visibility where reading exceeds the count of value from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005894", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: value, reading, lon, unit\n Sensor: air_quality | fields: unit, lon, qc, value\nTask: Retrieve depth from evaporation with reading above the MAX(reading) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005895", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, depth, level, ts\n Sensor: air_quality | fields: reading, ts, level, unit\nTask: Retrieve lat from humidity that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005896", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, qc, reading, value\n Sensor: wind_speed | fields: lon, level, value, ts\nTask: Fetch value from snow_depth that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005897", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, qc, reading, ts\n Sensor: uv_index | fields: type, value, qc, lat\nTask: Fetch lat 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=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005898", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, lon, level, ts\n Sensor: dew_point | fields: depth, type, value, unit\nTask: Fetch value from soil_moisture where reading is greater than the maximum of value in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005899", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, depth, lat, reading\n Sensor: soil_moisture | fields: unit, qc, ts, type\nTask: Fetch reading from frost where depth exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005900", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: type, unit, ts, level\n Sensor: frost | fields: unit, reading, lat, depth\nTask: Fetch value from evaporation where type exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005901", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: unit, level, depth, ts\n Sensor: soil_moisture | fields: level, value, lon, depth\nTask: Retrieve reading 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=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005902", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lon, level, unit, type\n Sensor: frost | fields: reading, depth, lat, type\nTask: Get level from wind_speed where ts appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005903", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, type, lat, depth\n Sensor: uv_index | fields: ts, qc, lat, level\nTask: Retrieve depth from turbidity whose type is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005904", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: reading, unit, ts, level\n Sensor: visibility | fields: type, level, value, lon\nTask: Get level from evaporation where depth exceeds the total reading from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005905", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: ts, qc, depth, lat\n Sensor: evaporation | fields: lon, unit, lat, level\nTask: Retrieve value from dew_point whose type is found in evaporation records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "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_fixed_v1_val_005906", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, qc, type, level\n Sensor: wind_speed | fields: lon, depth, qc, value\nTask: Get lat from humidity where depth exceeds the count of value from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005907", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: reading, qc, value, lon\n Sensor: lightning | fields: unit, type, qc, lon\nTask: Fetch value from temperature that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005908", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: level, type, lat, value\n Sensor: cloud_cover | fields: lon, depth, qc, unit\nTask: Get value from turbidity where reading exceeds the average reading from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005909", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, unit, reading, qc\n Sensor: frost | fields: lon, lat, value, unit\nTask: Fetch depth 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=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005910", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: lat, value, qc, unit\n Sensor: cloud_cover | fields: lon, depth, unit, qc\nTask: Fetch reading from frost where qc 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=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005911", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, value, ts, lon\n Sensor: temperature | fields: lat, unit, ts, level\nTask: Get lat from evaporation where depth appears in temperature readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005912", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: unit, ts, value, depth\n Sensor: rainfall | fields: ts, type, qc, reading\nTask: Get level from wind_speed where qc appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005913", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: depth, level, ts, value\n Sensor: pressure | fields: depth, reading, ts, value\nTask: Fetch lat from soil_moisture where depth is greater than the total of reading in pressure for matching unit.\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(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005914", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: depth, value, qc, ts\n Sensor: temperature | fields: depth, level, lon, value\nTask: Get lon from drought_index where unit appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005915", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: type, value, level, reading\n Sensor: soil_moisture | fields: reading, ts, qc, depth\nTask: Fetch lon from drought_index that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005916", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, value, depth, type\n Sensor: soil_moisture | fields: qc, lat, type, depth\nTask: Get level from lightning where depth exceeds the count of value from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005917", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: reading, qc, unit, lat\n Sensor: dew_point | fields: reading, unit, value, lon\nTask: Get value from drought_index where reading exceeds the average value from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005918", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: ts, reading, depth, value\n Sensor: lightning | fields: unit, depth, type, value\nTask: Fetch reading from rainfall where depth is greater than the maximum of value in lightning for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "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_fixed_v1_val_005919", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: ts, qc, level, unit\n Sensor: drought_index | fields: level, qc, ts, reading\nTask: Get reading from soil_moisture where reading exceeds the maximum reading from drought_index for the same unit.\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(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005920", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, type, reading, unit\n Sensor: sunlight | fields: lon, unit, level, lat\nTask: Fetch depth from humidity where depth exists in sunlight sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "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_fixed_v1_val_005921", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: unit, value, lon, reading\n Sensor: air_quality | fields: lon, value, level, qc\nTask: Get value from visibility where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005922", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, lat, ts, unit\n Sensor: soil_moisture | fields: depth, qc, lat, type\nTask: Get lat from humidity where depth exceeds the minimum value from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005923", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: reading, depth, lon, lat\n Sensor: dew_point | fields: reading, lat, value, qc\nTask: Fetch value from soil_moisture that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005924", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, value, ts, type\n Sensor: drought_index | fields: depth, lat, value, unit\nTask: Retrieve level from uv_index whose depth is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005925", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: qc, reading, ts, depth\n Sensor: drought_index | fields: value, lat, type, reading\nTask: Get lat from dew_point where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005926", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: level, qc, lon, lat\n Sensor: frost | fields: type, depth, qc, lat\nTask: Fetch level from uv_index that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005927", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: level, lat, reading, type\n Sensor: cloud_cover | fields: value, unit, level, depth\nTask: Fetch lon from soil_moisture that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005928", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: ts, type, reading, unit\n Sensor: temperature | fields: value, type, lat, ts\nTask: Retrieve level 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=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005929", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, unit, value, reading\n Sensor: lightning | fields: ts, qc, level, reading\nTask: Retrieve lon from pressure that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005930", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: reading, lon, type, ts\n Sensor: pressure | fields: lon, value, type, reading\nTask: Retrieve value from frost whose qc is found in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005931", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, lon, lat, type\n Sensor: visibility | fields: depth, unit, ts, type\nTask: Retrieve depth from pressure with depth above the MIN(value) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005932", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, type, ts, qc\n Sensor: rainfall | fields: unit, level, type, lon\nTask: Fetch lon from drought_index where depth is greater than the total of value in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005933", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, value, ts, unit\n Sensor: visibility | fields: value, lon, qc, type\nTask: Get lon from soil_moisture where unit appears in visibility readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005934", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, reading, lon, depth\n Sensor: turbidity | fields: depth, level, qc, lat\nTask: Retrieve reading from humidity with depth above the SUM(reading) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "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_fixed_v1_val_005935", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: type, lat, qc, unit\n Sensor: drought_index | fields: level, value, reading, type\nTask: Fetch level from temperature where ts exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "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_fixed_v1_val_005936", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: qc, unit, level, lon\n Sensor: dew_point | fields: type, unit, value, qc\nTask: Retrieve level from evaporation with reading above the AVG(reading) of dew_point 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\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005937", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: unit, value, reading, type\n Sensor: pressure | fields: type, reading, value, unit\nTask: Get value from cloud_cover where qc appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005938", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, value, depth, unit\n Sensor: lightning | fields: lon, qc, reading, unit\nTask: Fetch lat from uv_index that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005939", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, depth, value, qc\n Sensor: turbidity | fields: depth, value, lon, ts\nTask: Get lon from air_quality where a corresponding entry exists in turbidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005940", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, unit, ts, lon\n Sensor: visibility | fields: type, level, qc, lon\nTask: Get level from air_quality where ts appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005941", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lat, depth, value, qc\n Sensor: humidity | fields: reading, qc, depth, level\nTask: Get lat from frost where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005942", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, unit, lat, lon\n Sensor: humidity | fields: depth, ts, lon, level\nTask: Retrieve reading from cloud_cover whose depth is found in humidity records where unit 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(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005943", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, unit, level, ts\n Sensor: lightning | fields: qc, type, ts, depth\nTask: Get lat from rainfall where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005944", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, depth, lon, ts\n Sensor: frost | fields: type, depth, unit, reading\nTask: Retrieve reading from pressure with reading above the MAX(depth) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005945", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, type, qc, level\n Sensor: dew_point | fields: type, level, ts, reading\nTask: Fetch lon from snow_depth where value is greater than the average of reading in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005946", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: ts, lon, type, depth\n Sensor: pressure | fields: lon, qc, ts, reading\nTask: Fetch lon from sunlight where qc exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005947", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, lon, value, qc\n Sensor: sunlight | fields: depth, level, ts, reading\nTask: Get value from turbidity where qc appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005948", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: unit, level, ts, depth\n Sensor: frost | fields: level, ts, lon, unit\nTask: Get lon from soil_moisture where type appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005949", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, type, lon, level\n Sensor: frost | fields: level, unit, depth, lat\nTask: Fetch reading from soil_moisture that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005950", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, reading, ts, qc\n Sensor: visibility | fields: level, ts, type, value\nTask: Get value from air_quality where depth appears in visibility readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005951", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: value, depth, type, lat\n Sensor: soil_moisture | fields: reading, depth, value, lon\nTask: Retrieve lon 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=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005952", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, lat, value, type\n Sensor: temperature | fields: value, ts, type, lon\nTask: Get depth from soil_moisture where value exceeds the maximum value from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005953", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: depth, ts, type, lat\n Sensor: humidity | fields: unit, type, level, ts\nTask: Retrieve reading from frost that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "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_fixed_v1_val_005954", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, unit, qc, lon\n Sensor: humidity | fields: reading, ts, unit, lon\nTask: Fetch reading from dew_point where depth exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005955", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, unit, value, lat\n Sensor: turbidity | fields: qc, depth, lon, unit\nTask: Retrieve depth from temperature with reading above the SUM(value) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005956", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: type, lat, lon, reading\n Sensor: sunlight | fields: value, ts, unit, reading\nTask: Get depth from snow_depth where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005957", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: unit, depth, lat, value\n Sensor: soil_moisture | fields: ts, value, lat, reading\nTask: Fetch reading from dew_point where value is greater than the count of of depth in soil_moisture for matching depth.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005958", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, level, value, lat\n Sensor: cloud_cover | fields: reading, type, value, lon\nTask: Retrieve depth from air_quality whose type is found in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "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_fixed_v1_val_005959", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: level, unit, depth, lon\n Sensor: temperature | fields: reading, lon, level, unit\nTask: Fetch lon from evaporation where depth exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005960", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: unit, value, qc, reading\n Sensor: drought_index | fields: type, value, reading, qc\nTask: Fetch lat from sunlight where depth is greater than the total of reading in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "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_fixed_v1_val_005961", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: level, depth, qc, reading\n Sensor: temperature | fields: level, qc, value, type\nTask: Fetch level from frost that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005962", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, unit, level, type\n Sensor: dew_point | fields: qc, lon, unit, level\nTask: Retrieve lon from evaporation whose depth is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005963", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, level, depth, value\n Sensor: wind_speed | fields: depth, value, unit, level\nTask: Fetch depth from soil_moisture that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005964", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: value, depth, level, unit\n Sensor: pressure | fields: type, reading, lon, unit\nTask: Fetch depth from lightning where depth is greater than the maximum of reading in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005965", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, unit, value, lat\n Sensor: air_quality | fields: reading, lon, depth, qc\nTask: Fetch lon 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=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005966", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lat, reading, type, ts\n Sensor: cloud_cover | fields: reading, type, level, lat\nTask: Fetch value from lightning that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005967", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: reading, lat, lon, unit\n Sensor: pressure | fields: reading, depth, qc, lat\nTask: Get lon from wind_speed where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005968", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lat, qc, lon, ts\n Sensor: dew_point | fields: qc, ts, unit, 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=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005969", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: value, type, level, depth\n Sensor: snow_depth | fields: lat, level, qc, type\nTask: Fetch reading from turbidity that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005970", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: level, unit, depth, lon\n Sensor: frost | fields: ts, depth, lon, unit\nTask: Get lat from humidity where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005971", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, depth, unit, level\n Sensor: rainfall | fields: qc, ts, lat, depth\nTask: Retrieve level from uv_index that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005972", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: unit, lon, value, ts\n Sensor: temperature | fields: lon, level, reading, type\nTask: Get value from uv_index where reading exceeds the minimum reading from temperature for the same unit.\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(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005973", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, reading, level, unit\n Sensor: cloud_cover | fields: lon, unit, lat, reading\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=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005974", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, qc, unit, lon\n Sensor: wind_speed | fields: type, value, level, unit\nTask: Retrieve depth from turbidity whose type is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005975", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: qc, type, ts, value\n Sensor: visibility | fields: unit, value, lat, depth\nTask: Fetch value from rainfall where type exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005976", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lon, depth, value, unit\n Sensor: air_quality | fields: ts, reading, level, value\nTask: Fetch level from humidity where value is greater than the average of value in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005977", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, qc, value, depth\n Sensor: dew_point | fields: value, unit, ts, depth\nTask: Get depth from humidity where qc appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005978", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: depth, lat, ts, type\n Sensor: lightning | fields: depth, lat, type, level\nTask: Get level from temperature where value exceeds the total value from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "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_fixed_v1_val_005979", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: qc, value, type, lon\n Sensor: wind_speed | fields: ts, lat, type, level\nTask: Fetch level from sunlight where reading is greater than the count of of depth in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005980", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: qc, unit, lat, reading\n Sensor: cloud_cover | fields: ts, reading, lon, type\nTask: Get reading from uv_index where reading exceeds the total reading from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\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": "clr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005981", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, lon, value, ts\n Sensor: rainfall | fields: level, value, lat, unit\nTask: Retrieve lat from turbidity whose depth is found in rainfall records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005982", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, qc, level, depth\n Sensor: temperature | fields: lat, reading, level, lon\nTask: Fetch lat from wind_speed that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005983", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, level, qc, ts\n Sensor: air_quality | fields: ts, depth, lat, level\nTask: Get level from sunlight where depth exceeds the maximum value from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005984", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lat, lon, depth, value\n Sensor: visibility | fields: ts, reading, value, type\nTask: Fetch reading from soil_moisture where qc exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005985", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, lat, ts, reading\n Sensor: soil_moisture | fields: level, type, ts, depth\nTask: Retrieve level from visibility that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005986", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: value, reading, level, depth\n Sensor: drought_index | fields: lon, type, unit, value\nTask: Get value from soil_moisture where ts appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "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_fixed_v1_val_005987", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: reading, lat, qc, lon\n Sensor: humidity | fields: type, ts, unit, qc\nTask: Fetch value from sunlight where reading is greater than the count of of reading in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005988", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, level, lat, type\n Sensor: humidity | fields: lat, reading, ts, type\nTask: Get reading from dew_point where depth exceeds the maximum reading from humidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\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", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005989", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: depth, ts, qc, lon\n Sensor: uv_index | fields: reading, ts, value, level\nTask: Get level from air_quality where depth exceeds the maximum reading from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "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_fixed_v1_val_005990", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, lat, reading, depth\n Sensor: drought_index | fields: ts, depth, type, value\nTask: Fetch lon from evaporation where type exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005991", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: qc, ts, depth, value\n Sensor: frost | fields: ts, reading, type, value\nTask: Get lon from wind_speed where depth exceeds the average value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005992", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, qc, lon, lat\n Sensor: rainfall | fields: ts, lat, level, lon\nTask: Get reading from evaporation where value exceeds the average value from rainfall for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005993", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, value, lon, unit\n Sensor: pressure | fields: value, type, lat, qc\nTask: Retrieve lat from humidity with value above the MIN(reading) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005994", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: ts, depth, value, lat\n Sensor: frost | fields: lat, lon, type, reading\nTask: Retrieve lat from rainfall whose type is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005995", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, lon, type, qc\n Sensor: snow_depth | fields: lon, ts, level, unit\nTask: Fetch reading from pressure that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005996", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, ts, level, unit\n Sensor: snow_depth | fields: depth, type, level, qc\nTask: Fetch lon from frost that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\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": "prt", "inner_alias": "snw", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005997", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: reading, value, type, ts\n Sensor: visibility | fields: lat, ts, depth, lon\nTask: Get value from humidity where reading exceeds the total value from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_005998", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: value, type, level, reading\n Sensor: uv_index | fields: value, ts, qc, level\nTask: Retrieve level from drought_index that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_005999", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: qc, ts, lat, lon\n Sensor: uv_index | fields: lat, level, lon, type\nTask: Get value from lightning where reading exceeds the count of value from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006000", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, qc, reading, level\n Sensor: uv_index | fields: type, lon, lat, qc\nTask: Retrieve value from sunlight with value above the MIN(reading) of uv_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006001", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, reading, value, depth\n Sensor: dew_point | fields: qc, unit, lon, type\nTask: Fetch lon from snow_depth where depth is greater than the maximum of reading in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006002", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: reading, level, value, unit\n Sensor: sunlight | fields: lon, type, qc, reading\nTask: Fetch level from visibility that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006003", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: value, lon, reading, depth\n Sensor: frost | fields: qc, ts, reading, lon\nTask: Get lon from humidity where unit appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006004", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: type, depth, lon, unit\n Sensor: temperature | fields: ts, unit, type, qc\nTask: Get value from turbidity where depth appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006005", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, reading, unit, value\n Sensor: evaporation | fields: reading, lon, value, ts\nTask: Get lon from turbidity where qc appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006006", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lon, ts, unit, depth\n Sensor: frost | fields: qc, type, lat, reading\nTask: Retrieve reading from turbidity with value above the COUNT(value) of frost readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006007", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, lon, depth, level\n Sensor: rainfall | fields: value, depth, level, ts\nTask: Get value from temperature where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006008", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: reading, lon, unit, lat\n Sensor: pressure | fields: ts, value, reading, lon\nTask: Fetch lon from dew_point where type exists in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006009", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, type, unit, ts\n Sensor: turbidity | fields: qc, reading, type, depth\nTask: Get lon from temperature where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006010", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, value, depth, reading\n Sensor: turbidity | fields: lon, value, lat, level\nTask: Get value from lightning where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006011", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: ts, unit, depth, type\n Sensor: cloud_cover | fields: depth, reading, lon, unit\nTask: Fetch depth from frost where type exists in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006012", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, ts, type, value\n Sensor: air_quality | fields: value, type, reading, qc\nTask: Fetch lat from sunlight where value is greater than the minimum of reading in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006013", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lon, lat, type, ts\n Sensor: soil_moisture | fields: unit, depth, lon, ts\nTask: Fetch value from air_quality that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "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_fixed_v1_val_006014", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, type, reading, depth\n Sensor: sunlight | fields: ts, type, value, depth\nTask: Get depth from temperature where value exceeds the count of depth from sunlight for the same 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(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006015", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: depth, qc, level, reading\n Sensor: pressure | fields: lat, unit, ts, qc\nTask: Get reading from rainfall where a corresponding entry exists in pressure with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006016", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, lat, unit, value\n Sensor: visibility | fields: ts, unit, reading, level\nTask: Retrieve level from temperature whose qc is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006017", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, value, qc, ts\n Sensor: cloud_cover | fields: level, type, ts, unit\nTask: Get lat from uv_index where qc appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006018", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: level, ts, depth, type\n Sensor: lightning | fields: depth, qc, ts, level\nTask: Get depth from pressure where unit appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006019", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: level, depth, reading, value\n Sensor: air_quality | fields: type, value, depth, level\nTask: Get level from humidity where value exceeds the maximum depth from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006020", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: unit, level, type, lat\n Sensor: visibility | fields: value, level, unit, ts\nTask: Get lon from pressure where value exceeds the count of reading from visibility 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(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006021", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: reading, level, depth, value\n Sensor: visibility | fields: reading, unit, depth, lat\nTask: Retrieve depth from cloud_cover that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006022", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: level, qc, depth, unit\n Sensor: snow_depth | fields: unit, value, type, reading\nTask: Get reading from dew_point where depth exceeds the minimum 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(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006023", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, unit, value, type\n Sensor: uv_index | fields: qc, level, reading, type\nTask: Get lon from rainfall where value exceeds the average depth from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006024", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lon, reading, lat, type\n Sensor: lightning | fields: reading, value, type, lon\nTask: Retrieve lat from snow_depth whose unit is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006025", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: unit, reading, lat, level\n Sensor: cloud_cover | fields: lon, reading, value, unit\nTask: Retrieve depth from pressure with reading above the AVG(reading) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006026", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: unit, depth, reading, level\n Sensor: frost | fields: type, depth, qc, level\nTask: Fetch lat from snow_depth where depth is greater than the maximum of value in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006027", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: reading, level, lon, depth\n Sensor: uv_index | fields: type, qc, lon, value\nTask: Fetch lat from evaporation where ts exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006028", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: depth, qc, level, reading\n Sensor: uv_index | fields: lon, depth, value, qc\nTask: Retrieve depth from sunlight that have at least one matching reading in uv_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006029", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: level, depth, qc, lon\n Sensor: air_quality | fields: depth, type, lon, reading\nTask: Retrieve depth 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=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006030", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, depth, reading, lon\n Sensor: drought_index | fields: unit, qc, ts, type\nTask: Fetch lon from evaporation that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006031", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, reading, qc, level\n Sensor: cloud_cover | fields: lon, level, reading, ts\nTask: Retrieve value from frost that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006032", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: level, reading, type, unit\n Sensor: sunlight | fields: value, depth, qc, reading\nTask: Fetch level from turbidity that have at least one corresponding sunlight measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006033", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, lat, reading, level\n Sensor: dew_point | fields: type, unit, qc, level\nTask: Fetch lon from evaporation that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006034", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: ts, type, level, lon\n Sensor: temperature | fields: reading, ts, type, lon\nTask: Retrieve lat from humidity that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006035", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: level, unit, type, reading\n Sensor: snow_depth | fields: lon, level, unit, reading\nTask: Get value 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=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006036", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, level, lat, depth\n Sensor: snow_depth | fields: reading, depth, lat, unit\nTask: Fetch level 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=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006037", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: qc, depth, lat, value\n Sensor: wind_speed | fields: depth, lon, type, value\nTask: Get depth from turbidity where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006038", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: depth, unit, lon, value\n Sensor: sunlight | fields: lat, ts, type, qc\nTask: Fetch reading from humidity that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006039", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: level, lat, lon, ts\n Sensor: frost | fields: depth, level, value, ts\nTask: Retrieve level from temperature with reading above the MIN(depth) of frost 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(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "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_fixed_v1_val_006040", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: value, unit, lon, reading\n Sensor: evaporation | fields: qc, ts, value, unit\nTask: Fetch lon from drought_index where type exists in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006041", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: depth, unit, reading, lat\n Sensor: air_quality | fields: ts, level, lon, depth\nTask: Retrieve depth from evaporation with reading above the COUNT(reading) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006042", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: level, ts, reading, value\n Sensor: rainfall | fields: lat, depth, reading, lon\nTask: Get value from snow_depth where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006043", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: reading, type, lat, depth\n Sensor: frost | fields: depth, type, level, lat\nTask: Fetch level from pressure where reading is greater than the total of value in frost for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006044", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: level, ts, lat, lon\n Sensor: visibility | fields: unit, qc, ts, lat\nTask: Fetch depth from cloud_cover where reading is greater than the minimum of reading in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006045", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lon, ts, value, lat\n Sensor: turbidity | fields: value, reading, type, qc\nTask: Fetch lat 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=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006046", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lon, reading, value, unit\n Sensor: pressure | fields: level, depth, qc, reading\nTask: Retrieve value from drought_index whose depth is found in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006047", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: unit, depth, lat, ts\n Sensor: cloud_cover | fields: value, unit, lon, level\nTask: Fetch value from lightning where value is greater than the minimum of reading in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006048", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lat, depth, ts, level\n Sensor: wind_speed | fields: lon, ts, depth, qc\nTask: Retrieve depth from temperature with depth above the COUNT(reading) of wind_speed readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006049", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: level, ts, lat, qc\n Sensor: snow_depth | fields: level, qc, ts, depth\nTask: Fetch level from visibility that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006050", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: ts, qc, level, type\n Sensor: frost | fields: lon, value, qc, unit\nTask: Fetch depth from lightning that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006051", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: level, type, qc, value\n Sensor: evaporation | fields: reading, unit, value, level\nTask: Retrieve reading from frost whose qc is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006052", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, unit, depth, value\n Sensor: sunlight | fields: reading, type, depth, lon\nTask: Fetch lon from soil_moisture where unit exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006053", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: unit, lat, lon, qc\n Sensor: soil_moisture | fields: value, ts, depth, lon\nTask: Get value from dew_point where reading exceeds the count of reading from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006054", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: level, depth, lon, reading\n Sensor: visibility | fields: value, lon, ts, reading\nTask: Retrieve lon from dew_point whose qc is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "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_fixed_v1_val_006055", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, lon, type, value\n Sensor: dew_point | fields: ts, depth, lon, value\nTask: Fetch lat from frost that have at least one corresponding dew_point measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006056", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, qc, unit, reading\n Sensor: rainfall | fields: unit, lat, reading, ts\nTask: Fetch depth from air_quality where depth is greater than the maximum of depth in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006057", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: value, reading, lat, depth\n Sensor: pressure | fields: type, unit, qc, value\nTask: Get lon from drought_index where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "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_fixed_v1_val_006058", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: value, lat, lon, level\n Sensor: temperature | fields: type, level, lat, qc\nTask: Fetch level from cloud_cover where unit exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006059", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: type, lon, qc, level\n Sensor: turbidity | fields: type, value, lon, lat\nTask: Retrieve value from dew_point whose unit is found in turbidity records where qc 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(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006060", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: level, reading, qc, type\n Sensor: uv_index | fields: value, unit, reading, type\nTask: Retrieve value from evaporation whose ts is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006061", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, qc, level, lon\n Sensor: cloud_cover | fields: type, lat, level, qc\nTask: Fetch level from frost that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006062", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, type, ts, value\n Sensor: drought_index | fields: value, lon, qc, ts\nTask: Get depth from humidity where unit appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006063", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: qc, lon, reading, depth\n Sensor: visibility | fields: ts, lon, depth, level\nTask: Fetch lon from turbidity where reading is greater than the average of depth in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006064", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lon, ts, lat, qc\n Sensor: turbidity | fields: level, reading, depth, ts\nTask: Fetch reading from evaporation that have at least one corresponding turbidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006065", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, lat, level, reading\n Sensor: dew_point | fields: unit, ts, value, reading\nTask: Retrieve value from pressure that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006066", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: value, ts, qc, reading\n Sensor: sunlight | fields: ts, value, lon, type\nTask: Retrieve depth from snow_depth with value above the COUNT(reading) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006067", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, level, reading, lon\n Sensor: soil_moisture | fields: reading, unit, depth, type\nTask: Get value from wind_speed where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006068", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lon, type, lat, level\n Sensor: frost | fields: lat, value, lon, ts\nTask: Fetch depth from visibility where depth is greater than the maximum of depth in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\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": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006069", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lat, type, level, depth\n Sensor: sunlight | fields: type, ts, qc, level\nTask: Get depth from cloud_cover where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006070", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lat, type, lon, level\n Sensor: soil_moisture | fields: type, unit, level, qc\nTask: Get depth from temperature where depth appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006071", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lat, lon, value, level\n Sensor: dew_point | fields: unit, type, ts, value\nTask: Get reading from drought_index where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006072", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: level, reading, depth, lon\n Sensor: wind_speed | fields: type, qc, value, reading\nTask: Retrieve lon from dew_point with depth above the AVG(reading) of wind_speed readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006073", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: qc, reading, level, ts\n Sensor: uv_index | fields: reading, lat, depth, qc\nTask: Get reading from dew_point where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "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_fixed_v1_val_006074", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: level, ts, qc, depth\n Sensor: soil_moisture | fields: ts, lon, level, unit\nTask: Fetch depth from humidity where depth is greater than the minimum of depth in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "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_fixed_v1_val_006075", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: lat, ts, type, lon\n Sensor: humidity | fields: qc, ts, level, depth\nTask: Retrieve depth from air_quality whose qc is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "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_fixed_v1_val_006076", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: unit, lon, lat, ts\n Sensor: soil_moisture | fields: level, qc, lon, ts\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=\"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_fixed_v1_val_006077", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lon, level, ts, value\n Sensor: pressure | fields: type, ts, unit, lon\nTask: Get value from air_quality where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006078", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: lon, lat, type, unit\n Sensor: air_quality | fields: lon, value, depth, reading\nTask: Fetch value from cloud_cover that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006079", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: depth, unit, lon, qc\n Sensor: rainfall | fields: ts, lon, value, depth\nTask: Retrieve value 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=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006080", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: depth, lon, lat, ts\n Sensor: uv_index | fields: lat, lon, reading, ts\nTask: Get lon from dew_point where value exceeds the maximum reading from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006081", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: reading, value, depth, level\n Sensor: cloud_cover | fields: lat, qc, reading, unit\nTask: Fetch lat from visibility where unit exists in cloud_cover sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006082", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: ts, unit, reading, value\n Sensor: turbidity | fields: lon, lat, qc, level\nTask: Fetch lat from dew_point where reading is greater than the total of reading in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006083", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, level, qc, value\n Sensor: turbidity | fields: level, unit, ts, lon\nTask: Retrieve lat from soil_moisture with depth above the MIN(reading) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006084", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, ts, reading, level\n Sensor: rainfall | fields: value, lat, qc, unit\nTask: Retrieve lat from humidity whose ts is found in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006085", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, level, unit, type\n Sensor: drought_index | fields: type, level, unit, ts\nTask: Fetch reading from pressure where depth exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006086", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: reading, level, lon, lat\n Sensor: air_quality | fields: reading, lat, ts, lon\nTask: Fetch value from snow_depth where ts exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006087", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: depth, value, qc, unit\n Sensor: drought_index | fields: lat, depth, unit, reading\nTask: Get level from uv_index where value exceeds the maximum value from drought_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006088", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: depth, type, unit, qc\n Sensor: wind_speed | fields: lon, ts, reading, unit\nTask: Get lon from cloud_cover where value exceeds the average reading from wind_speed for the same ts.\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(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006089", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, lat, lon, reading\n Sensor: temperature | fields: level, lat, value, lon\nTask: Retrieve reading from air_quality that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006090", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, qc, reading, depth\n Sensor: pressure | fields: lat, unit, level, depth\nTask: Retrieve lat from temperature that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006091", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, reading, unit, lat\n Sensor: humidity | fields: value, reading, ts, qc\nTask: Fetch level from uv_index that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006092", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, qc, unit, ts\n Sensor: air_quality | fields: lat, level, qc, lon\nTask: Fetch depth from evaporation that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006093", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lon, reading, type, value\n Sensor: soil_moisture | fields: ts, unit, type, reading\nTask: Fetch level from rainfall that have at least one corresponding soil_moisture measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006094", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: value, type, lon, qc\n Sensor: frost | fields: ts, lon, qc, reading\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=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006095", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: type, reading, ts, value\n Sensor: drought_index | fields: type, unit, ts, qc\nTask: Retrieve level from lightning whose depth is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006096", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: value, type, level, reading\n Sensor: uv_index | fields: depth, ts, lat, type\nTask: Retrieve level from rainfall with reading above the AVG(depth) of uv_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006097", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, lon, qc, type\n Sensor: air_quality | fields: qc, lon, ts, unit\nTask: Retrieve lat from turbidity with value above the MIN(value) of air_quality readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006098", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: type, reading, level, unit\n Sensor: soil_moisture | fields: level, lat, depth, qc\nTask: Retrieve value from drought_index that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006099", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, type, lat, unit\n Sensor: cloud_cover | fields: unit, reading, level, ts\nTask: Retrieve depth from dew_point with depth above the AVG(depth) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006100", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: unit, lat, ts, level\n Sensor: visibility | fields: ts, qc, lat, lon\nTask: Retrieve reading from soil_moisture whose qc is found in visibility records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006101", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: depth, level, lat, lon\n Sensor: air_quality | fields: reading, ts, qc, 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=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006102", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: depth, reading, level, lat\n Sensor: lightning | fields: reading, qc, lat, type\nTask: Fetch reading from wind_speed where depth is greater than the maximum of depth in lightning for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006103", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: reading, type, level, lon\n Sensor: frost | fields: type, level, lat, value\nTask: Retrieve lon from snow_depth with depth above the AVG(reading) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006104", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, level, unit, depth\n Sensor: rainfall | fields: unit, lon, ts, reading\nTask: Fetch level from soil_moisture where type exists in rainfall sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006105", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: depth, lon, value, level\n Sensor: pressure | fields: level, depth, reading, unit\nTask: Get lon from cloud_cover where qc appears in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006106", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, lon, unit, value\n Sensor: uv_index | fields: value, depth, level, qc\nTask: Fetch value from evaporation where depth exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006107", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: ts, value, level, qc\n Sensor: air_quality | fields: lat, level, qc, ts\nTask: Get reading from rainfall where unit appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006108", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: value, ts, type, unit\n Sensor: frost | fields: value, unit, type, depth\nTask: Retrieve depth from turbidity with value above the SUM(reading) of frost readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006109", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, ts, lon, value\n Sensor: wind_speed | fields: depth, qc, value, reading\nTask: Fetch lat from rainfall that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006110", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: type, reading, ts, depth\n Sensor: drought_index | fields: qc, value, depth, type\nTask: Fetch depth from rainfall where type exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006111", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: reading, lon, lat, value\n Sensor: lightning | fields: depth, type, unit, qc\nTask: Get lat from soil_moisture where ts appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006112", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: reading, depth, unit, lat\n Sensor: drought_index | fields: lat, qc, ts, unit\nTask: Fetch level from turbidity that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006113", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, lon, lat, type\n Sensor: wind_speed | fields: type, lon, lat, value\nTask: Retrieve lon from lightning with value above the COUNT(reading) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006114", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, qc, reading, type\n Sensor: turbidity | fields: depth, value, ts, unit\nTask: Fetch depth from pressure that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006115", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: unit, lon, type, depth\n Sensor: rainfall | fields: lon, value, depth, unit\nTask: Get depth from dew_point where depth appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006116", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, unit, type, reading\n Sensor: wind_speed | fields: lat, reading, value, unit\nTask: Get depth from rainfall where type appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\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": "rainfall", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006117", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, value, unit, reading\n Sensor: drought_index | fields: ts, qc, level, lat\nTask: Fetch lon from uv_index where type exists in drought_index sensor data for the same 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=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006118", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, depth, reading, level\n Sensor: turbidity | fields: lon, unit, qc, value\nTask: Retrieve depth from frost with depth above the COUNT(depth) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006119", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: unit, qc, ts, reading\n Sensor: evaporation | fields: ts, type, lat, qc\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=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006120", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, level, reading, depth\n Sensor: humidity | fields: ts, type, reading, lon\nTask: Retrieve lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006121", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: type, unit, ts, depth\n Sensor: soil_moisture | fields: reading, depth, type, lat\nTask: Get level from turbidity where depth exceeds the maximum value from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "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_fixed_v1_val_006122", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: reading, ts, level, type\n Sensor: rainfall | fields: level, type, unit, ts\nTask: Retrieve level from evaporation that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006123", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: level, reading, lat, lon\n Sensor: dew_point | fields: lat, lon, level, depth\nTask: Retrieve level from cloud_cover that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006124", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, lat, ts, lon\n Sensor: wind_speed | fields: depth, lat, level, value\nTask: Fetch lon from turbidity where value is greater than the minimum of reading in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006125", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, ts, value, lat\n Sensor: pressure | fields: lon, unit, value, level\nTask: Fetch value from temperature where reading is greater than the average of depth in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006126", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: unit, level, type, lat\n Sensor: air_quality | fields: type, ts, lon, level\nTask: Retrieve lat 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=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006127", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, lat, type, qc\n Sensor: turbidity | fields: level, depth, reading, type\nTask: Get level from pressure where ts appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006128", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: level, value, depth, ts\n Sensor: wind_speed | fields: level, reading, unit, lon\nTask: Fetch reading from humidity where depth exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006129", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: unit, depth, ts, value\n Sensor: humidity | fields: ts, qc, depth, lon\nTask: Fetch level from turbidity where depth exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006130", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, lon, value, level\n Sensor: snow_depth | fields: unit, level, reading, qc\nTask: Get depth from rainfall where depth exceeds the total reading from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006131", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, value, unit, lon\n Sensor: lightning | fields: ts, depth, lat, lon\nTask: Retrieve depth from humidity whose depth is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "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_fixed_v1_val_006132", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lat, type, lon, value\n Sensor: sunlight | fields: lon, depth, value, lat\nTask: Get value from soil_moisture where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006133", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: reading, value, level, lat\n Sensor: uv_index | fields: depth, level, unit, type\nTask: Get reading from dew_point where a corresponding entry exists in uv_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006134", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: lat, lon, depth, type\n Sensor: turbidity | fields: qc, lon, level, lat\nTask: Retrieve lat from cloud_cover that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006135", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: value, level, lat, reading\n Sensor: drought_index | fields: type, value, lon, ts\nTask: Retrieve reading from frost that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006136", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, type, ts, level\n Sensor: soil_moisture | fields: level, value, type, lat\nTask: Retrieve level 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=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006137", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: level, reading, depth, lon\n Sensor: sunlight | fields: type, value, level, lat\nTask: Get lon from humidity where qc appears in sunlight readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006138", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: unit, level, depth, reading\n Sensor: snow_depth | fields: lon, lat, level, ts\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=\"ref\"),\n filter=has_match(\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": "ref", "inner_alias": "snw", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006139", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, lat, value, reading\n Sensor: rainfall | fields: reading, unit, lon, depth\nTask: Retrieve lon from humidity whose qc is found in rainfall records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006140", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, reading, level, unit\n Sensor: drought_index | fields: type, value, lon, qc\nTask: Fetch reading from air_quality that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006141", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, ts, depth, unit\n Sensor: snow_depth | fields: reading, ts, unit, lon\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=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006142", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: depth, reading, type, lon\n Sensor: sunlight | fields: ts, type, depth, reading\nTask: Get level from pressure where value exceeds the maximum reading from sunlight for the same 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(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006143", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: reading, lat, qc, value\n Sensor: temperature | fields: depth, qc, unit, level\nTask: Get lon from snow_depth where depth exceeds the count of depth from temperature for the same unit.\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(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006144", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: type, lon, unit, ts\n Sensor: lightning | fields: value, depth, level, unit\nTask: Retrieve reading from dew_point whose type is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006145", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, ts, reading, unit\n Sensor: lightning | fields: lon, level, unit, value\nTask: Get lon from cloud_cover where value exceeds the maximum value from lightning for the same qc.\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(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006146", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, ts, level, unit\n Sensor: turbidity | fields: unit, lat, lon, qc\nTask: Get reading from wind_speed where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006147", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, lat, reading, ts\n Sensor: air_quality | fields: unit, reading, qc, lon\nTask: Get value from uv_index where qc appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006148", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lat, qc, level, type\n Sensor: visibility | fields: reading, depth, ts, level\nTask: Get lat from rainfall where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006149", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: qc, type, lon, reading\n Sensor: sunlight | fields: lat, level, type, lon\nTask: Get reading from pressure where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006150", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, reading, lat, ts\n Sensor: evaporation | fields: reading, depth, level, unit\nTask: Fetch lat from uv_index that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006151", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: unit, level, value, ts\n Sensor: air_quality | fields: depth, reading, ts, type\nTask: Retrieve value 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=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006152", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, depth, reading, unit\n Sensor: evaporation | fields: lon, value, unit, depth\nTask: Retrieve level from temperature that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006153", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lon, qc, depth, lat\n Sensor: wind_speed | fields: depth, value, unit, qc\nTask: Get value from cloud_cover where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006154", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, ts, unit, depth\n Sensor: humidity | fields: reading, ts, lat, value\nTask: Fetch reading from rainfall where depth is greater than the average of depth in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006155", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: ts, level, lat, reading\n Sensor: pressure | fields: ts, depth, level, unit\nTask: Retrieve value from cloud_cover that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006156", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, depth, qc, value\n Sensor: dew_point | fields: reading, depth, ts, qc\nTask: Retrieve value 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=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006157", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lat, unit, level, depth\n Sensor: snow_depth | fields: reading, lon, depth, type\nTask: Fetch lat 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=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006158", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, lat, reading, ts\n Sensor: humidity | fields: reading, type, qc, value\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_fixed_v1_val_006159", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: level, type, lon, unit\n Sensor: sunlight | fields: depth, type, lat, value\nTask: Retrieve depth from drought_index whose unit is found in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006160", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: value, lon, depth, qc\n Sensor: wind_speed | fields: qc, type, value, unit\nTask: Fetch lon from soil_moisture where reading is greater than the count of of depth in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006161", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: qc, lon, lat, ts\n Sensor: sunlight | fields: reading, lat, type, value\nTask: Get level from frost where depth exceeds the maximum value from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006162", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, value, depth, qc\n Sensor: visibility | fields: lat, reading, value, ts\nTask: Get value from frost where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006163", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, type, reading, unit\n Sensor: cloud_cover | fields: reading, level, type, lon\nTask: Get level from dew_point where unit appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006164", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, level, lat, qc\n Sensor: soil_moisture | fields: unit, level, qc, depth\nTask: Get depth from uv_index where depth exceeds the minimum depth from soil_moisture for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\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": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006165", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, depth, ts, reading\n Sensor: rainfall | fields: level, lon, lat, type\nTask: Retrieve lat from visibility with value above the COUNT(reading) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006166", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, lat, ts, value\n Sensor: frost | fields: depth, reading, lat, lon\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=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006167", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: type, level, unit, ts\n Sensor: visibility | fields: type, lat, reading, lon\nTask: Retrieve lat from wind_speed whose ts is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "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_fixed_v1_val_006168", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, type, value, depth\n Sensor: pressure | fields: unit, level, qc, lon\nTask: Fetch lon from uv_index where depth is greater than the average of value in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006169", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: ts, unit, lon, qc\n Sensor: cloud_cover | fields: unit, level, lon, lat\nTask: Fetch value from pressure where type exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006170", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, lat, reading, depth\n Sensor: air_quality | fields: ts, reading, lon, type\nTask: Get level from soil_moisture where value exceeds the total reading from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006171", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: reading, unit, qc, depth\n Sensor: soil_moisture | fields: depth, lon, value, level\nTask: Get level from cloud_cover where depth exceeds the count of value from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006172", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, unit, value, level\n Sensor: drought_index | fields: value, lon, lat, ts\nTask: Retrieve level from visibility whose unit is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006173", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, ts, type, level\n Sensor: dew_point | fields: lat, lon, ts, qc\nTask: Get lon from frost where a corresponding entry exists in dew_point with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006174", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: ts, reading, unit, qc\n Sensor: temperature | fields: depth, reading, lat, level\nTask: Get lon from cloud_cover where value exceeds the maximum reading from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006175", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: unit, ts, level, depth\n Sensor: lightning | fields: level, ts, lat, type\nTask: Get value from visibility where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006176", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: type, value, unit, lon\n Sensor: visibility | fields: level, qc, ts, lon\nTask: Get level from air_quality where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\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", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006177", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, depth, unit, lat\n Sensor: air_quality | fields: reading, qc, lon, unit\nTask: Retrieve lon from temperature with value above the SUM(value) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006178", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, unit, depth, level\n Sensor: lightning | fields: qc, lon, lat, depth\nTask: Fetch lon from dew_point where ts exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\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": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006179", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: unit, qc, ts, type\n Sensor: dew_point | fields: lon, depth, level, reading\nTask: Fetch lon from turbidity where value is greater than the total of depth in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006180", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lat, qc, value, lon\n Sensor: frost | fields: type, depth, ts, unit\nTask: Get reading from drought_index where reading exceeds the count of depth from frost for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006181", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, reading, ts, depth\n Sensor: drought_index | fields: lat, value, depth, reading\nTask: Retrieve value from wind_speed whose unit is found in drought_index records where depth 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(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006182", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: type, reading, ts, lat\n Sensor: turbidity | fields: level, unit, qc, reading\nTask: Fetch value from dew_point where reading is greater than the minimum of depth in turbidity for matching ts.\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(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006183", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: value, type, ts, depth\n Sensor: wind_speed | fields: level, type, lat, reading\nTask: Get level from turbidity where value exceeds the average depth from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006184", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: unit, lat, type, reading\n Sensor: air_quality | fields: ts, reading, lat, level\nTask: Fetch level from snow_depth that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006185", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lon, lat, depth, qc\n Sensor: air_quality | fields: value, depth, unit, qc\nTask: Get reading from dew_point where value exceeds the minimum value from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006186", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, value, lat, type\n Sensor: uv_index | fields: value, lon, ts, reading\nTask: Get level from visibility where value exceeds the total reading from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "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_fixed_v1_val_006187", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: unit, depth, level, lat\n Sensor: pressure | fields: reading, qc, ts, level\nTask: Retrieve lat from turbidity whose unit is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006188", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: qc, type, lon, unit\n Sensor: evaporation | fields: ts, depth, level, type\nTask: Retrieve lat from turbidity with reading above the COUNT(reading) of evaporation readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006189", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: value, type, unit, qc\n Sensor: visibility | fields: lon, ts, unit, depth\nTask: Get value from wind_speed where qc appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006190", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, lon, depth, lat\n Sensor: wind_speed | fields: qc, reading, ts, unit\nTask: Get lon from sunlight where type appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006191", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, level, lat, ts\n Sensor: humidity | fields: qc, lat, ts, depth\nTask: Fetch lat from dew_point where depth exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006192", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: level, type, value, unit\n Sensor: soil_moisture | fields: lat, ts, level, type\nTask: Retrieve lon from wind_speed that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006193", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: qc, lat, reading, level\n Sensor: sunlight | fields: ts, depth, value, level\nTask: Get depth from drought_index where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006194", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, level, qc, lat\n Sensor: wind_speed | fields: lat, lon, value, level\nTask: Get level from soil_moisture where ts appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\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": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006195", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, ts, lat, reading\n Sensor: rainfall | fields: unit, depth, ts, value\nTask: Fetch value from turbidity where value is greater than the minimum of depth in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006196", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, ts, qc, lon\n Sensor: cloud_cover | fields: unit, reading, lat, type\nTask: Fetch value from lightning that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006197", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: value, lat, ts, lon\n Sensor: dew_point | fields: lat, level, type, ts\nTask: Get depth from wind_speed where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006198", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: level, value, lat, qc\n Sensor: cloud_cover | fields: ts, reading, type, level\nTask: Get depth from turbidity where type appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006199", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: unit, depth, ts, value\n Sensor: humidity | fields: lon, lat, value, unit\nTask: Fetch lat from rainfall where ts exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006200", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, value, reading, ts\n Sensor: dew_point | fields: value, qc, level, unit\nTask: Retrieve depth from pressure whose unit is found in dew_point records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006201", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, type, unit, reading\n Sensor: turbidity | fields: unit, lon, ts, level\nTask: Get depth from snow_depth where reading exceeds the average depth from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006202", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lat, level, type, reading\n Sensor: dew_point | fields: type, lon, value, depth\nTask: Fetch level from frost where depth is greater than the average of reading in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\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", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006203", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: type, depth, level, unit\n Sensor: soil_moisture | fields: depth, lon, ts, level\nTask: Retrieve value from lightning whose depth is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006204", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lon, ts, depth, reading\n Sensor: pressure | fields: qc, lat, value, depth\nTask: Retrieve lon from dew_point with depth above the MAX(reading) of pressure 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\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006205", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, lon, depth, level\n Sensor: soil_moisture | fields: type, unit, value, lon\nTask: Get reading from lightning where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006206", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, unit, lat, level\n Sensor: temperature | fields: depth, level, unit, lat\nTask: Fetch lat from dew_point where depth exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006207", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: type, qc, level, depth\n Sensor: pressure | fields: depth, reading, qc, value\nTask: Get reading from soil_moisture where depth exceeds the minimum reading from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "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_fixed_v1_val_006208", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, value, lon, ts\n Sensor: sunlight | fields: lat, level, value, ts\nTask: Retrieve value from humidity that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006209", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: qc, value, unit, lat\n Sensor: sunlight | fields: qc, level, unit, lat\nTask: Retrieve reading from pressure with value above the MAX(depth) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006210", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: qc, ts, unit, value\n Sensor: temperature | fields: type, qc, lon, depth\nTask: Retrieve depth from visibility with reading above the COUNT(value) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006211", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, qc, unit, lat\n Sensor: visibility | fields: ts, type, unit, depth\nTask: Fetch depth from rainfall where depth is greater than the total of reading in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006212", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: qc, level, type, lat\n Sensor: frost | fields: value, level, ts, lon\nTask: Get reading from evaporation where reading exceeds the total value from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006213", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: type, lat, value, ts\n Sensor: sunlight | fields: reading, qc, unit, value\nTask: Fetch reading from snow_depth where value is greater than the total of depth in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006214", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: qc, depth, level, ts\n Sensor: rainfall | fields: depth, level, value, qc\nTask: Retrieve level from lightning that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006215", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: qc, level, lon, reading\n Sensor: lightning | fields: depth, reading, ts, value\nTask: Get depth from frost where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006216", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: type, unit, qc, lat\n Sensor: uv_index | fields: ts, lon, level, unit\nTask: Get lat from cloud_cover where depth appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006217", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: level, depth, lat, type\n Sensor: uv_index | fields: type, level, lat, ts\nTask: Get lat from pressure where depth exceeds the average value from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006218", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lon, depth, type, lat\n Sensor: pressure | fields: value, qc, lat, level\nTask: Retrieve lon from drought_index with value above the SUM(reading) of pressure 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(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006219", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: unit, qc, lon, depth\n Sensor: cloud_cover | fields: value, depth, ts, type\nTask: Get depth from uv_index where ts appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006220", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, type, depth, unit\n Sensor: evaporation | fields: level, qc, ts, value\nTask: Get reading from air_quality where value exceeds the total depth from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006221", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: ts, level, value, reading\n Sensor: wind_speed | fields: value, lon, depth, qc\nTask: Get depth from temperature where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006222", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: type, reading, lat, depth\n Sensor: lightning | fields: lon, level, type, qc\nTask: Fetch depth from wind_speed where qc exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006223", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, level, qc, depth\n Sensor: rainfall | fields: qc, type, lon, level\nTask: Fetch value from snow_depth where reading is greater than the count of of value in rainfall for matching qc.\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(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006224", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: unit, qc, reading, value\n Sensor: temperature | fields: type, ts, level, lat\nTask: Fetch value from sunlight that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006225", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, lon, ts, type\n Sensor: turbidity | fields: depth, qc, unit, lat\nTask: Fetch depth from air_quality that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006226", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, lat, type, qc\n Sensor: air_quality | fields: reading, level, unit, qc\nTask: Get level from temperature where qc appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006227", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lon, reading, type, qc\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 ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006228", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: ts, value, lon, lat\n Sensor: pressure | fields: lon, ts, lat, level\nTask: Fetch depth from air_quality where unit exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006229", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: unit, value, depth, reading\n Sensor: turbidity | fields: lon, reading, value, lat\nTask: Get lat from snow_depth where depth exceeds the average reading from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006230", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: value, depth, qc, lat\n Sensor: temperature | fields: value, unit, type, depth\nTask: Fetch reading from lightning that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006231", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, reading, lon, level\n Sensor: drought_index | fields: type, lat, depth, level\nTask: Retrieve level from sunlight that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006232", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lat, ts, lon, type\n Sensor: evaporation | fields: lat, qc, ts, depth\nTask: Get reading from rainfall where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006233", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: ts, lon, qc, reading\n Sensor: turbidity | fields: lon, depth, value, reading\nTask: Get level from temperature where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006234", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, reading, unit, lon\n Sensor: wind_speed | fields: ts, reading, lat, type\nTask: Get level from humidity where value exceeds the maximum reading from wind_speed for the same unit.\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=\"gst\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006235", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, lat, type, ts\n Sensor: pressure | fields: value, unit, level, ts\nTask: Retrieve lon from rainfall with depth above the SUM(reading) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006236", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, lat, level, lon\n Sensor: wind_speed | fields: type, unit, level, ts\nTask: Fetch level from uv_index where type exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006237", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: type, depth, lon, lat\n Sensor: turbidity | fields: unit, qc, reading, lon\nTask: Retrieve lat from sunlight that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006238", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lon, unit, type, value\n Sensor: rainfall | fields: value, lon, reading, type\nTask: Get level from wind_speed where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006239", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: reading, level, value, lon\n Sensor: temperature | fields: lon, unit, value, reading\nTask: Retrieve value from turbidity with value above the MIN(value) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006240", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: value, level, lat, ts\n Sensor: evaporation | fields: depth, unit, lon, qc\nTask: Retrieve lon from drought_index whose ts is found in evaporation records where ts 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(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006241", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: depth, lon, ts, unit\n Sensor: uv_index | fields: type, qc, ts, level\nTask: Retrieve value 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=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006242", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, reading, value, ts\n Sensor: humidity | fields: level, lon, reading, ts\nTask: Get lat from soil_moisture where qc appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006243", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, qc, lon, level\n Sensor: pressure | fields: ts, lat, lon, unit\nTask: Get reading from uv_index where depth exceeds the maximum depth from pressure for the same depth.\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(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006244", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: reading, depth, type, lat\n Sensor: air_quality | fields: level, lon, value, unit\nTask: Get level from dew_point where value exceeds the maximum value from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006245", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: depth, unit, lat, qc\n Sensor: uv_index | fields: value, reading, unit, depth\nTask: Retrieve reading from pressure whose qc is found in uv_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006246", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, ts, reading, lat\n Sensor: sunlight | fields: lon, ts, lat, reading\nTask: Fetch level from pressure where value is greater than the count of of value in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006247", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, depth, value, qc\n Sensor: wind_speed | fields: lon, ts, type, value\nTask: Retrieve value from humidity with reading above the SUM(value) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006248", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: ts, level, reading, lon\n Sensor: snow_depth | fields: reading, value, level, depth\nTask: Get lat from lightning where reading exceeds the total reading from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006249", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lat, depth, ts, reading\n Sensor: visibility | fields: unit, ts, qc, reading\nTask: Retrieve lon from evaporation that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006250", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: unit, ts, depth, reading\n Sensor: sunlight | fields: lat, lon, type, reading\nTask: Retrieve reading from frost whose unit is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006251", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: unit, type, level, reading\n Sensor: cloud_cover | fields: reading, level, type, ts\nTask: Fetch lat from pressure where depth is greater than the maximum of reading in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006252", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: value, qc, reading, level\n Sensor: sunlight | fields: ts, unit, lat, type\nTask: Retrieve value from drought_index with value above the SUM(depth) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006253", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, qc, lon, reading\n Sensor: soil_moisture | fields: value, unit, lon, ts\nTask: Retrieve lat from rainfall whose depth is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006254", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: unit, depth, level, ts\n Sensor: drought_index | fields: value, lat, reading, type\nTask: Retrieve level from uv_index with value above the AVG(depth) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006255", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: value, unit, type, lat\n Sensor: evaporation | fields: type, level, lon, value\nTask: Retrieve lon from lightning with reading above the SUM(value) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006256", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: unit, type, ts, value\n Sensor: rainfall | fields: lon, qc, reading, ts\nTask: Fetch lat from dew_point where depth is greater than the average of value in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006257", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lat, ts, reading, qc\n Sensor: drought_index | fields: lat, qc, ts, level\nTask: Get value from pressure where ts appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006258", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: type, lon, unit, ts\n Sensor: dew_point | fields: type, lon, reading, ts\nTask: Retrieve lon from pressure that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006259", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lat, reading, depth, unit\n Sensor: sunlight | fields: level, depth, lat, ts\nTask: Get depth from temperature where qc appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006260", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, value, lat, level\n Sensor: sunlight | fields: lat, lon, depth, reading\nTask: Retrieve level from air_quality that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006261", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: level, type, ts, lat\n Sensor: cloud_cover | fields: ts, qc, lat, level\nTask: Fetch lat from uv_index where unit exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006262", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, lat, reading, lon\n Sensor: visibility | fields: ts, depth, lat, level\nTask: Retrieve depth from evaporation with depth above the MIN(depth) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006263", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, reading, lon, value\n Sensor: wind_speed | fields: value, qc, type, ts\nTask: Retrieve reading from temperature that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006264", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: qc, level, lon, unit\n Sensor: pressure | fields: unit, level, depth, reading\nTask: Retrieve lat from frost with value above the COUNT(value) of pressure 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\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006265", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: unit, qc, lat, ts\n Sensor: drought_index | fields: lat, qc, unit, ts\nTask: Retrieve depth from humidity whose depth is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006266", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: ts, qc, level, type\n Sensor: pressure | fields: type, depth, ts, qc\nTask: Fetch lat from visibility where depth is greater than the minimum of value in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006267", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, lon, depth, lat\n Sensor: frost | fields: value, type, reading, lat\nTask: Retrieve reading from pressure that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006268", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lon, value, unit, reading\n Sensor: air_quality | fields: qc, lon, type, reading\nTask: Get value from dew_point where depth exceeds the count of reading from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006269", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: unit, level, value, qc\n Sensor: lightning | fields: ts, qc, type, reading\nTask: Retrieve depth from evaporation with value above the SUM(depth) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006270", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: qc, value, depth, unit\n Sensor: air_quality | fields: depth, qc, type, ts\nTask: Retrieve depth from pressure with depth above the SUM(value) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006271", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lon, unit, depth, ts\n Sensor: uv_index | fields: ts, depth, reading, value\nTask: Retrieve value from drought_index that have at least one matching reading in uv_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006272", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: reading, unit, qc, ts\n Sensor: cloud_cover | fields: unit, depth, type, ts\nTask: Retrieve level from humidity whose depth is found in cloud_cover records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006273", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, level, reading, lat\n Sensor: cloud_cover | fields: qc, type, lon, lat\nTask: Get lat from dew_point where qc appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006274", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, type, lat, depth\n Sensor: air_quality | fields: ts, level, type, unit\nTask: Get reading from cloud_cover where value exceeds the average value from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006275", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: level, lat, reading, ts\n Sensor: evaporation | fields: ts, unit, reading, value\nTask: Get lat from soil_moisture where ts appears in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006276", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: value, type, ts, lon\n Sensor: humidity | fields: level, type, value, reading\nTask: Fetch reading from frost where qc exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006277", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: type, qc, lon, reading\n Sensor: sunlight | fields: level, reading, type, qc\nTask: Retrieve depth 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=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006278", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: reading, value, unit, ts\n Sensor: dew_point | fields: ts, depth, type, unit\nTask: Get level from snow_depth where type appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006279", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, unit, level, lat\n Sensor: temperature | fields: value, reading, unit, ts\nTask: Retrieve lat from soil_moisture whose type is found in temperature records where unit 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(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006280", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, ts, qc, type\n Sensor: humidity | fields: lon, level, depth, ts\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=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006281", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lon, lat, level, unit\n Sensor: rainfall | fields: unit, qc, lat, level\nTask: Get level from cloud_cover where unit appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006282", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, lat, reading, level\n Sensor: wind_speed | fields: reading, type, value, unit\nTask: Retrieve lat 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=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006283", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, type, depth, value\n Sensor: snow_depth | fields: lon, ts, qc, depth\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=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006284", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: ts, value, lat, unit\n Sensor: air_quality | fields: lat, unit, level, ts\nTask: Get reading from wind_speed where value exceeds the count of reading from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006285", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: qc, reading, ts, value\n Sensor: frost | fields: level, qc, lat, type\nTask: Fetch lat from cloud_cover where unit exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006286", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: type, qc, ts, lon\n Sensor: rainfall | fields: depth, level, qc, reading\nTask: Get lon from sunlight where reading exceeds the maximum depth from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006287", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: reading, lat, depth, value\n Sensor: frost | fields: unit, value, ts, lon\nTask: Retrieve lon from evaporation whose ts is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006288", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: type, level, lon, unit\n Sensor: sunlight | fields: depth, qc, lat, ts\nTask: Fetch lon from cloud_cover where qc exists in sunlight sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006289", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lon, level, depth, qc\n Sensor: lightning | fields: value, depth, type, reading\nTask: Fetch depth from evaporation that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006290", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, value, ts, type\n Sensor: cloud_cover | fields: value, reading, type, unit\nTask: Fetch lat from soil_moisture that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006291", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, unit, ts, reading\n Sensor: lightning | fields: depth, lat, reading, type\nTask: Get value from drought_index where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006292", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, reading, level, qc\n Sensor: uv_index | fields: lon, level, unit, ts\nTask: Retrieve reading from lightning whose type is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006293", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: ts, qc, depth, lat\n Sensor: sunlight | fields: qc, unit, depth, lat\nTask: Get level from drought_index where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006294", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: unit, qc, ts, lat\n Sensor: snow_depth | fields: value, qc, depth, unit\nTask: Get depth from drought_index where depth appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006295", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, value, lon, qc\n Sensor: turbidity | fields: qc, level, lon, reading\nTask: Retrieve reading from frost with reading above the MIN(value) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006296", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, reading, lon, level\n Sensor: dew_point | fields: value, depth, type, ts\nTask: Get lat from sunlight where value exceeds the total reading from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006297", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: reading, value, unit, level\n Sensor: air_quality | fields: type, reading, lat, ts\nTask: Fetch lat 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=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006298", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lat, ts, qc, level\n Sensor: turbidity | fields: unit, lat, type, depth\nTask: Retrieve reading from soil_moisture whose unit is found in turbidity records where unit 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(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006299", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lon, qc, depth, type\n Sensor: lightning | fields: level, qc, depth, reading\nTask: Fetch depth from humidity where ts exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006300", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, type, qc, value\n Sensor: visibility | fields: level, lat, depth, ts\nTask: Fetch depth from lightning where ts exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006301", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: unit, type, depth, lat\n Sensor: dew_point | fields: reading, level, unit, ts\nTask: Retrieve level from evaporation with depth above the MIN(value) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006302", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, unit, value, depth\n Sensor: sunlight | fields: qc, value, lat, ts\nTask: Retrieve lat from uv_index with value above the SUM(value) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006303", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lon, qc, type, lat\n Sensor: frost | fields: lon, ts, level, type\nTask: Fetch depth from visibility that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006304", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: unit, depth, ts, lon\n Sensor: rainfall | fields: unit, depth, reading, type\nTask: Fetch value from pressure that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006305", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, level, qc, depth\n Sensor: drought_index | fields: ts, depth, lat, reading\nTask: Fetch depth from temperature where value is greater than the count of of depth in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006306", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: reading, level, qc, value\n Sensor: wind_speed | fields: lon, value, depth, qc\nTask: Fetch lat from snow_depth where type exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006307", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, level, ts, type\n Sensor: sunlight | fields: value, reading, type, ts\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=\"clr\"),\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": "clr", "inner_alias": "brt", "proj_col": "level", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006308", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, lat, unit, ts\n Sensor: humidity | fields: lat, value, depth, level\nTask: Retrieve level from drought_index with depth above the AVG(reading) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006309", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, value, qc, type\n Sensor: temperature | fields: lon, depth, unit, value\nTask: Get depth from pressure where reading exceeds the average reading from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006310", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: unit, reading, ts, lat\n Sensor: wind_speed | fields: ts, depth, unit, level\nTask: Fetch lat from drought_index where type exists in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006311", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: depth, ts, unit, lat\n Sensor: cloud_cover | fields: depth, qc, value, reading\nTask: Fetch lon from turbidity that have at least one corresponding cloud_cover measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006312", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: type, reading, value, qc\n Sensor: humidity | fields: unit, level, ts, qc\nTask: Fetch depth from dew_point that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006313", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, type, qc, level\n Sensor: air_quality | fields: value, lat, depth, reading\nTask: Get lon from visibility where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006314", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: value, depth, lat, level\n Sensor: evaporation | fields: type, value, reading, unit\nTask: Fetch lat from wind_speed that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006315", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: type, depth, value, lat\n Sensor: cloud_cover | fields: qc, depth, level, type\nTask: Retrieve lat from visibility whose type is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\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": "visibility", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006316", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, type, level, value\n Sensor: visibility | fields: lon, qc, ts, lat\nTask: Fetch reading from wind_speed where depth is greater than the maximum of reading in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006317", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lat, value, depth, reading\n Sensor: sunlight | fields: level, lat, value, unit\nTask: Fetch lon from rainfall where reading is greater than the total of depth in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006318", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lon, unit, level, qc\n Sensor: wind_speed | fields: unit, type, reading, qc\nTask: Retrieve lon from frost whose depth is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006319", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: qc, depth, level, ts\n Sensor: air_quality | fields: level, lon, unit, ts\nTask: Get value from dew_point where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006320", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, lon, type, reading\n Sensor: rainfall | fields: lon, value, level, type\nTask: Retrieve lat from evaporation with value above the MIN(value) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006321", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, unit, depth, qc\n Sensor: humidity | fields: lat, level, depth, value\nTask: Fetch lat from uv_index that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006322", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: type, unit, lon, qc\n Sensor: temperature | fields: level, reading, unit, qc\nTask: Fetch value from snow_depth where reading is greater than the count of of depth in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006323", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, qc, reading, ts\n Sensor: wind_speed | fields: reading, lon, depth, lat\nTask: Retrieve level 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=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006324", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, qc, lon, lat\n Sensor: humidity | fields: unit, level, ts, lon\nTask: Retrieve depth from soil_moisture whose ts is found in humidity records where ts 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(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006325", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: unit, level, value, type\n Sensor: turbidity | fields: qc, ts, type, lon\nTask: Get level from pressure where type appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006326", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, level, unit, ts\n Sensor: soil_moisture | fields: unit, ts, value, depth\nTask: Fetch depth from dew_point where value is greater than the minimum of depth in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006327", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: level, lon, value, ts\n Sensor: turbidity | fields: value, ts, unit, type\nTask: Get value from uv_index where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006328", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: value, lon, ts, qc\n Sensor: rainfall | fields: value, depth, lat, lon\nTask: Fetch depth from frost that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006329", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: type, ts, lat, value\n Sensor: soil_moisture | fields: ts, qc, unit, value\nTask: Get lon from visibility where qc appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006330", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: unit, qc, ts, lon\n Sensor: drought_index | fields: lon, depth, ts, level\nTask: Get lat from visibility where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006331", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: type, level, value, depth\n Sensor: air_quality | fields: value, unit, ts, qc\nTask: Get lon from temperature where unit appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006332", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, ts, value, qc\n Sensor: lightning | fields: ts, value, depth, type\nTask: Get depth from frost where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006333", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: type, unit, lon, value\n Sensor: humidity | fields: unit, qc, ts, value\nTask: Fetch depth from cloud_cover where unit exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006334", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, qc, lon, value\n Sensor: uv_index | fields: depth, ts, lon, type\nTask: Retrieve value from visibility with depth above the MAX(depth) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006335", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, ts, qc, depth\n Sensor: snow_depth | fields: type, lat, qc, unit\nTask: Retrieve depth from temperature that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006336", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, lat, qc, lon\n Sensor: cloud_cover | fields: depth, ts, lat, lon\nTask: Get depth from snow_depth where value exceeds the maximum value from cloud_cover for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006337", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lat, value, lon, depth\n Sensor: snow_depth | fields: qc, lon, depth, level\nTask: Retrieve lat from evaporation whose depth is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\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": "evaporation", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006338", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, qc, lon, ts\n Sensor: snow_depth | fields: level, lat, type, unit\nTask: Retrieve lat from soil_moisture with reading above the COUNT(depth) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006339", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lat, depth, type, unit\n Sensor: wind_speed | fields: qc, lat, depth, level\nTask: Retrieve lat from pressure whose depth is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006340", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: unit, depth, lat, reading\n Sensor: uv_index | fields: qc, unit, depth, lon\nTask: Retrieve level from pressure whose ts is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006341", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: reading, qc, value, ts\n Sensor: dew_point | fields: type, depth, reading, qc\nTask: Get depth from frost where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006342", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: unit, ts, lon, lat\n Sensor: visibility | fields: type, qc, value, ts\nTask: Get value from humidity where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006343", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, depth, value, lat\n Sensor: drought_index | fields: type, qc, reading, depth\nTask: Fetch lon from sunlight that have at least one corresponding drought_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006344", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, level, lon, reading\n Sensor: snow_depth | fields: qc, type, ts, lat\nTask: Retrieve value from humidity with depth above the COUNT(depth) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006345", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: ts, lon, lat, value\n Sensor: cloud_cover | fields: reading, depth, qc, lat\nTask: Fetch value from rainfall where depth exists in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006346", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: lon, reading, value, qc\n Sensor: snow_depth | fields: unit, lon, reading, depth\nTask: Fetch depth from lightning where depth exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006347", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: level, type, lat, qc\n Sensor: evaporation | fields: unit, lat, qc, lon\nTask: Get lon from sunlight where reading exceeds the minimum reading from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006348", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: level, lat, qc, value\n Sensor: uv_index | fields: qc, reading, unit, ts\nTask: Get depth from drought_index where type appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "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_fixed_v1_val_006349", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, lat, type, qc\n Sensor: temperature | fields: ts, qc, value, lon\nTask: Fetch level from rainfall where value is greater than the maximum of reading in temperature for matching 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(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006350", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lon, value, unit, type\n Sensor: snow_depth | fields: lat, ts, qc, lon\nTask: Get lat from lightning where value exceeds the total depth from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006351", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: depth, type, value, qc\n Sensor: cloud_cover | fields: unit, qc, type, lat\nTask: Get depth from lightning where qc appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006352", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: depth, value, unit, lat\n Sensor: lightning | fields: level, type, ts, depth\nTask: Fetch reading from humidity where unit exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006353", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: qc, level, lon, ts\n Sensor: sunlight | fields: reading, lat, lon, ts\nTask: Get value from drought_index where reading exceeds the maximum depth from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006354", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: unit, reading, level, depth\n Sensor: cloud_cover | fields: ts, level, reading, qc\nTask: Get lon from uv_index where type appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006355", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: value, ts, lon, unit\n Sensor: pressure | fields: qc, ts, value, lat\nTask: Retrieve lat from evaporation whose unit is found in pressure records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006356", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, lat, level, value\n Sensor: drought_index | fields: level, value, depth, reading\nTask: Get value from dew_point where type appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006357", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: reading, type, lon, depth\n Sensor: air_quality | fields: lon, depth, level, reading\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=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006358", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, reading, value, lat\n Sensor: uv_index | fields: lat, ts, qc, lon\nTask: Retrieve level from soil_moisture with depth above the MAX(depth) of uv_index readings sharing the same type.\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=\"flx\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006359", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: depth, ts, value, reading\n Sensor: humidity | fields: reading, unit, qc, lat\nTask: Get level from wind_speed where reading exceeds the minimum value from humidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006360", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, type, lat, lon\n Sensor: lightning | fields: qc, ts, unit, type\nTask: Retrieve lat from drought_index whose type is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006361", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: qc, ts, lat, lon\n Sensor: dew_point | fields: type, unit, lat, qc\nTask: Retrieve reading from sunlight whose depth is found in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006362", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lat, depth, qc, reading\n Sensor: wind_speed | fields: ts, qc, depth, unit\nTask: Fetch reading from lightning where reading is greater than the minimum of value in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006363", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, value, lat, reading\n Sensor: soil_moisture | fields: lat, qc, value, reading\nTask: Get value from turbidity where value exceeds the maximum reading from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006364", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, depth, level, qc\n Sensor: drought_index | fields: level, value, depth, unit\nTask: Get level from wind_speed where value exceeds the minimum value from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "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_fixed_v1_val_006365", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: unit, reading, lon, type\n Sensor: sunlight | fields: type, ts, lon, level\nTask: Get reading from snow_depth where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006366", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, reading, lon, qc\n Sensor: cloud_cover | fields: level, qc, value, reading\nTask: Fetch value from rainfall that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006367", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, level, reading, value\n Sensor: air_quality | fields: lat, lon, value, depth\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=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006368", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, unit, value, lat\n Sensor: evaporation | fields: lon, ts, reading, type\nTask: Get lon from air_quality where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006369", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: depth, unit, lon, value\n Sensor: evaporation | fields: value, reading, unit, ts\nTask: Fetch value from cloud_cover where value is greater than the maximum of reading in evaporation for matching depth.\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(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006370", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: unit, lon, reading, depth\n Sensor: rainfall | fields: unit, qc, reading, lat\nTask: Fetch lon from cloud_cover that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006371", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lat, lon, depth, ts\n Sensor: visibility | fields: unit, reading, value, depth\nTask: Retrieve level from temperature whose type is found in visibility records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006372", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: level, lat, lon, ts\n Sensor: snow_depth | fields: qc, lon, type, value\nTask: Retrieve reading from pressure whose unit is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006373", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: reading, unit, value, level\n Sensor: humidity | fields: lon, unit, value, lat\nTask: Retrieve lon from dew_point that have at least one matching reading in humidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006374", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: unit, level, ts, qc\n Sensor: temperature | fields: value, ts, reading, lat\nTask: Retrieve depth from cloud_cover with reading above the COUNT(reading) of temperature 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(\"COUNT\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006375", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, ts, qc, level\n Sensor: wind_speed | fields: ts, lat, level, lon\nTask: Retrieve value from evaporation whose depth is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006376", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: level, depth, lon, value\n Sensor: evaporation | fields: type, value, reading, level\nTask: Retrieve level from soil_moisture that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006377", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lat, lon, depth, ts\n Sensor: dew_point | fields: type, value, qc, ts\nTask: Get level from visibility where value exceeds the average value from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006378", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: reading, lon, level, type\n Sensor: wind_speed | fields: reading, unit, type, value\nTask: Retrieve reading from turbidity with depth above the SUM(depth) of wind_speed readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006379", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: reading, unit, qc, lat\n Sensor: frost | fields: qc, reading, ts, type\nTask: Fetch reading from dew_point where value is greater than the minimum of value in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "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_fixed_v1_val_006380", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: depth, reading, value, unit\n Sensor: temperature | fields: reading, depth, type, value\nTask: Fetch depth from uv_index where ts exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006381", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, lon, level, reading\n Sensor: visibility | fields: qc, lon, lat, depth\nTask: Fetch lon from rainfall where reading is greater than the total of depth in visibility for matching ts.\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=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006382", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, level, qc, lon\n Sensor: cloud_cover | fields: value, reading, type, lon\nTask: Get value from dew_point where ts appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\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": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006383", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, type, depth, ts\n Sensor: soil_moisture | fields: level, depth, value, lat\nTask: Get reading from dew_point where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006384", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, lat, type, level\n Sensor: rainfall | fields: depth, lat, value, unit\nTask: Get level from evaporation where value exceeds the minimum value from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006385", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: ts, level, lon, qc\n Sensor: lightning | fields: type, value, depth, unit\nTask: Fetch lon from humidity where reading is greater than the maximum of depth in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006386", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: qc, reading, lon, level\n Sensor: lightning | fields: depth, unit, type, ts\nTask: Get lat from humidity where depth exceeds the maximum value from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006387", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, value, type, reading\n Sensor: humidity | fields: qc, reading, unit, type\nTask: Retrieve lon from cloud_cover with value above the SUM(depth) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006388", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, lat, depth, qc\n Sensor: temperature | fields: ts, lon, qc, unit\nTask: Retrieve value from sunlight with value above the COUNT(value) of temperature readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006389", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lon, value, ts, type\n Sensor: temperature | fields: value, depth, lon, lat\nTask: Retrieve level from cloud_cover with depth above the COUNT(reading) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006390", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, ts, type, value\n Sensor: lightning | fields: lon, unit, qc, reading\nTask: Get value from humidity where ts appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006391", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: value, type, qc, level\n Sensor: rainfall | fields: reading, unit, ts, value\nTask: Fetch value from wind_speed where reading is greater than the total of value in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006392", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: type, reading, ts, depth\n Sensor: air_quality | fields: value, qc, depth, type\nTask: Get reading from drought_index where reading exceeds the average value from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006393", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, lon, qc, depth\n Sensor: sunlight | fields: value, lat, lon, level\nTask: Get lat from soil_moisture where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006394", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lat, reading, type, depth\n Sensor: rainfall | fields: depth, lat, unit, value\nTask: Get value from pressure where qc appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006395", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, level, value, unit\n Sensor: evaporation | fields: ts, value, level, reading\nTask: Retrieve value from humidity with reading above the AVG(value) of evaporation readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006396", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: reading, lon, level, lat\n Sensor: snow_depth | fields: type, value, qc, lat\nTask: Fetch lon from sunlight where ts exists in snow_depth sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006397", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: ts, level, value, type\n Sensor: snow_depth | fields: reading, level, unit, ts\nTask: Fetch reading from temperature where qc exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006398", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, reading, type, lat\n Sensor: frost | fields: qc, reading, lat, type\nTask: Retrieve depth from dew_point that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006399", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, lat, type, depth\n Sensor: soil_moisture | fields: ts, qc, value, reading\nTask: Fetch depth from visibility where depth is greater than the minimum of value in soil_moisture for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\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": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006400", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, qc, unit, value\n Sensor: air_quality | fields: unit, qc, value, ts\nTask: Retrieve level from humidity with depth above the MAX(value) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006401", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: qc, type, value, lon\n Sensor: uv_index | fields: level, unit, type, lat\nTask: Get value from dew_point where a corresponding entry exists in uv_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006402", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: unit, reading, lon, type\n Sensor: air_quality | fields: value, level, depth, ts\nTask: Fetch reading from cloud_cover where depth is greater than the average of value in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006403", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lat, value, qc, type\n Sensor: sunlight | fields: lat, unit, ts, depth\nTask: Retrieve level from turbidity that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "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_fixed_v1_val_006404", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: type, level, ts, depth\n Sensor: wind_speed | fields: depth, value, lon, unit\nTask: Retrieve level from visibility with value above the SUM(depth) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006405", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: ts, lon, depth, qc\n Sensor: soil_moisture | fields: reading, lon, type, level\nTask: Get reading from air_quality where value exceeds the average reading from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006406", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: depth, lat, unit, qc\n Sensor: lightning | fields: lon, lat, depth, value\nTask: Retrieve lat from temperature that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006407", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, lon, reading, type\n Sensor: cloud_cover | fields: ts, qc, level, unit\nTask: Get depth from wind_speed where ts appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\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": "wind_speed", "inner_table": "cloud_cover", "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_fixed_v1_val_006408", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: unit, lat, type, depth\n Sensor: wind_speed | fields: ts, lon, reading, value\nTask: Get level from sunlight where value exceeds the total reading from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006409", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: reading, level, value, ts\n Sensor: evaporation | fields: value, unit, level, lat\nTask: Get lat from uv_index where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006410", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, qc, ts, lon\n Sensor: lightning | fields: ts, reading, value, lat\nTask: Fetch depth from air_quality where unit exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006411", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, type, unit, reading\n Sensor: frost | fields: reading, depth, level, ts\nTask: Get value from soil_moisture where reading exceeds the maximum depth from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006412", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, depth, value, unit\n Sensor: frost | fields: lat, lon, depth, value\nTask: Fetch depth from temperature where depth is greater than the minimum of reading in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006413", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, lat, type, ts\n Sensor: temperature | fields: reading, unit, qc, value\nTask: Get lon from frost where value exceeds the minimum value from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006414", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, depth, lon, value\n Sensor: snow_depth | fields: type, ts, qc, level\nTask: Retrieve value from sunlight with value above the COUNT(reading) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006415", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: value, level, unit, lat\n Sensor: sunlight | fields: qc, level, value, unit\nTask: Fetch lat from rainfall where qc exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006416", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, type, lon, lat\n Sensor: uv_index | fields: unit, type, value, qc\nTask: Retrieve depth from pressure with reading above the MIN(reading) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006417", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lat, reading, qc, type\n Sensor: sunlight | fields: reading, unit, lat, qc\nTask: Get value from uv_index where depth exceeds the average reading from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006418", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: value, ts, level, qc\n Sensor: temperature | fields: value, qc, depth, reading\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=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006419", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: unit, type, depth, level\n Sensor: dew_point | fields: type, value, lon, reading\nTask: Retrieve lat from lightning whose unit is found in dew_point records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006420", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: level, value, lat, type\n Sensor: wind_speed | fields: ts, reading, depth, lon\nTask: Fetch depth from cloud_cover where reading is greater than the minimum of depth in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006421", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: qc, lon, level, depth\n Sensor: dew_point | fields: level, unit, ts, lon\nTask: Retrieve reading from cloud_cover with depth above the MIN(value) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006422", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: type, lat, qc, reading\n Sensor: lightning | fields: reading, level, depth, value\nTask: Get depth from wind_speed where depth appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006423", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, type, lat, value\n Sensor: frost | fields: ts, unit, lon, level\nTask: Retrieve reading from soil_moisture whose unit is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006424", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: unit, level, type, reading\n Sensor: frost | fields: reading, ts, value, depth\nTask: Fetch lat from drought_index that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006425", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: reading, lat, level, unit\n Sensor: humidity | fields: qc, depth, lat, level\nTask: Fetch level from drought_index that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006426", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lon, qc, lat, level\n Sensor: uv_index | fields: lon, qc, level, value\nTask: Fetch lat from air_quality that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006427", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, ts, lon, depth\n Sensor: visibility | fields: unit, level, qc, type\nTask: Get lat from turbidity where ts appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006428", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: reading, qc, depth, unit\n Sensor: soil_moisture | fields: type, reading, depth, value\nTask: Fetch level from sunlight where reading is greater than the total of reading in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006429", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: depth, lon, level, reading\n Sensor: temperature | fields: depth, unit, level, lon\nTask: Fetch reading from rainfall that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006430", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: unit, depth, value, reading\n Sensor: temperature | fields: unit, value, depth, level\nTask: Get reading from evaporation where unit appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006431", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: type, unit, ts, lon\n Sensor: turbidity | fields: lat, value, unit, level\nTask: Fetch level from temperature that have at least one corresponding turbidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006432", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: unit, qc, value, lat\n Sensor: temperature | fields: qc, lat, type, lon\nTask: Fetch value from soil_moisture that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006433", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: qc, ts, type, value\n Sensor: dew_point | fields: level, lon, ts, lat\nTask: Retrieve lon from uv_index with reading above the MIN(value) of dew_point 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(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006434", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, lat, depth, level\n Sensor: pressure | fields: depth, unit, value, qc\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=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006435", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, depth, lon, lat\n Sensor: lightning | fields: qc, reading, lon, ts\nTask: Fetch lat from dew_point where value is greater than the maximum of value in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006436", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: level, type, unit, ts\n Sensor: air_quality | fields: ts, level, lon, qc\nTask: Retrieve lon from visibility that have at least one matching reading in air_quality sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006437", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, lon, reading, value\n Sensor: pressure | fields: unit, depth, qc, lat\nTask: Fetch value from air_quality that have at least one corresponding pressure measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006438", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: ts, qc, level, value\n Sensor: turbidity | fields: value, reading, lat, type\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=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006439", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: depth, level, lat, value\n Sensor: sunlight | fields: lon, reading, type, value\nTask: Get value from rainfall where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006440", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: qc, lat, value, ts\n Sensor: drought_index | fields: lat, depth, reading, qc\nTask: Retrieve depth from visibility with reading above the COUNT(depth) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006441", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lon, level, reading, depth\n Sensor: temperature | fields: qc, reading, ts, lon\nTask: Fetch reading from humidity where unit exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006442", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: ts, depth, lon, reading\n Sensor: uv_index | fields: lon, ts, unit, type\nTask: Fetch lon from dew_point where unit exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006443", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, lon, lat, unit\n Sensor: frost | fields: qc, lon, reading, value\nTask: Get level from humidity where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006444", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, lon, level, unit\n Sensor: wind_speed | fields: type, ts, depth, reading\nTask: Get lat from temperature where depth appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006445", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: level, depth, value, reading\n Sensor: rainfall | fields: lat, depth, value, lon\nTask: Get value from air_quality where type appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006446", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: ts, type, lat, reading\n Sensor: temperature | fields: lon, lat, reading, type\nTask: Fetch lat from rainfall where reading is greater than the average of reading in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006447", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lat, lon, type, depth\n Sensor: visibility | fields: lon, unit, qc, ts\nTask: Get level from wind_speed where depth exceeds the maximum depth from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006448", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, value, reading, lon\n Sensor: uv_index | fields: lat, type, lon, qc\nTask: Retrieve reading from dew_point with value above the MIN(reading) of uv_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006449", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, type, ts, lon\n Sensor: humidity | fields: ts, value, depth, qc\nTask: Get value from dew_point where value exceeds the average value from humidity for the same unit.\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(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006450", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: type, reading, value, unit\n Sensor: rainfall | fields: unit, type, depth, level\nTask: Retrieve lon from evaporation that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006451", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: level, unit, depth, reading\n Sensor: frost | fields: value, reading, ts, level\nTask: Fetch depth from rainfall that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006452", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, depth, level, value\n Sensor: evaporation | fields: lat, ts, value, reading\nTask: Retrieve reading from wind_speed that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006453", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: type, unit, value, ts\n Sensor: drought_index | fields: lat, reading, value, lon\nTask: Fetch value from lightning that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006454", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, qc, depth, level\n Sensor: air_quality | fields: value, ts, type, unit\nTask: Fetch reading from pressure where reading is greater than the minimum of reading in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006455", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: qc, type, value, unit\n Sensor: sunlight | fields: reading, lat, unit, ts\nTask: Get lon from temperature where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006456", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, qc, level, reading\n Sensor: drought_index | fields: ts, type, level, value\nTask: Get level from snow_depth where value exceeds the average reading from drought_index for 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(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006457", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: reading, level, lat, unit\n Sensor: dew_point | fields: qc, level, ts, reading\nTask: Retrieve level from visibility with value above the MAX(reading) of dew_point readings sharing the same 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(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "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_fixed_v1_val_006458", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lon, value, reading, ts\n Sensor: turbidity | fields: unit, level, qc, depth\nTask: Fetch lat from temperature where type exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006459", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: qc, value, lon, ts\n Sensor: sunlight | fields: depth, ts, lat, value\nTask: Retrieve reading from visibility with value above the COUNT(value) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006460", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: type, qc, level, lat\n Sensor: sunlight | fields: depth, level, ts, qc\nTask: Retrieve reading from dew_point that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006461", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: value, lat, qc, ts\n Sensor: snow_depth | fields: value, type, unit, reading\nTask: Get depth from lightning where depth appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006462", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lat, qc, level, unit\n Sensor: rainfall | fields: ts, level, type, value\nTask: Retrieve reading from pressure with value above the COUNT(reading) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006463", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: level, depth, ts, lat\n Sensor: turbidity | fields: type, qc, ts, reading\nTask: Get depth from temperature where value exceeds the maximum depth from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006464", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, lon, unit, level\n Sensor: soil_moisture | fields: lon, depth, ts, level\nTask: Fetch depth from visibility where depth exists in soil_moisture sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006465", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, qc, type, reading\n Sensor: rainfall | fields: type, unit, lon, reading\nTask: Fetch lat from temperature that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006466", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, qc, lon, lat\n Sensor: pressure | fields: type, level, lat, value\nTask: Retrieve level from visibility with value above the MIN(reading) of pressure readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006467", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: value, ts, reading, lon\n Sensor: air_quality | fields: ts, reading, lon, type\nTask: Get lat from wind_speed where value exceeds the minimum reading from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006468", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: ts, type, lon, value\n Sensor: uv_index | fields: lon, type, lat, value\nTask: Get lat from rainfall where value exceeds the total depth from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006469", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, lon, unit, ts\n Sensor: temperature | fields: value, qc, ts, lon\nTask: Fetch value 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=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006470", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: type, unit, reading, lon\n Sensor: turbidity | fields: level, depth, reading, lat\nTask: Fetch reading from frost where reading is greater than the maximum of value in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006471", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: value, unit, reading, type\n Sensor: sunlight | fields: qc, reading, type, lat\nTask: Retrieve lon 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=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006472", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: ts, type, qc, level\n Sensor: frost | fields: qc, ts, lat, unit\nTask: Fetch level from rainfall that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006473", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: reading, value, lon, unit\n Sensor: pressure | fields: lon, type, ts, level\nTask: Get reading from turbidity where depth exceeds the count of reading from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006474", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: level, lon, reading, ts\n Sensor: temperature | fields: value, lat, ts, reading\nTask: Fetch value from snow_depth that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006475", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lat, lon, value, type\n Sensor: frost | fields: reading, lon, ts, level\nTask: Retrieve level from sunlight whose ts is found in frost records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006476", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, level, ts, depth\n Sensor: turbidity | fields: unit, depth, level, lat\nTask: Retrieve value from wind_speed with reading above the MAX(value) of turbidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006477", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: unit, lon, value, qc\n Sensor: drought_index | fields: qc, type, unit, value\nTask: Retrieve reading from humidity whose unit is found in drought_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006478", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: unit, qc, value, depth\n Sensor: frost | fields: reading, level, qc, ts\nTask: Get level from lightning where reading exceeds the average reading from frost for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006479", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lat, reading, ts, value\n Sensor: pressure | fields: qc, type, lon, value\nTask: Fetch level from drought_index where ts exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006480", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: type, lat, lon, qc\n Sensor: dew_point | fields: type, value, ts, level\nTask: Fetch lon from air_quality where unit exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006481", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: type, reading, level, depth\n Sensor: frost | fields: value, level, qc, ts\nTask: Fetch lon from drought_index that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006482", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, lon, depth, value\n Sensor: temperature | fields: ts, qc, value, lon\nTask: Retrieve lat from wind_speed whose depth is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006483", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, lat, level, value\n Sensor: cloud_cover | fields: type, value, level, qc\nTask: Retrieve depth from air_quality with reading above the MIN(depth) of cloud_cover 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(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006484", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lat, value, unit, type\n Sensor: soil_moisture | fields: lon, depth, type, value\nTask: Retrieve lat from rainfall that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006485", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, unit, reading, lon\n Sensor: sunlight | fields: reading, type, depth, value\nTask: Get reading from soil_moisture where type appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006486", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, ts, reading, depth\n Sensor: dew_point | fields: qc, type, unit, reading\nTask: Get lon from humidity where depth exceeds the average reading 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(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006487", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: depth, type, reading, qc\n Sensor: temperature | fields: level, ts, unit, lon\nTask: Retrieve level from humidity whose depth is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006488", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: ts, reading, type, unit\n Sensor: cloud_cover | fields: lon, depth, reading, unit\nTask: Get value from wind_speed where ts appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006489", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, depth, reading, level\n Sensor: rainfall | fields: lat, qc, value, depth\nTask: Get lat from lightning where type appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006490", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: depth, ts, level, lat\n Sensor: uv_index | fields: value, type, unit, level\nTask: Retrieve reading from wind_speed with reading above the MIN(depth) of uv_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "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_fixed_v1_val_006491", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: ts, lon, lat, type\n Sensor: temperature | fields: level, depth, value, lat\nTask: Fetch lon from lightning that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006492", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: reading, lat, level, qc\n Sensor: temperature | fields: lat, level, lon, qc\nTask: Get reading from turbidity where value exceeds the maximum reading from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006493", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, qc, value, lat\n Sensor: temperature | fields: value, ts, level, qc\nTask: Fetch value from turbidity where depth exists in temperature 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(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006494", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: ts, qc, lon, level\n Sensor: sunlight | fields: depth, value, reading, type\nTask: Get lon from cloud_cover where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006495", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, level, ts, depth\n Sensor: evaporation | fields: qc, lon, reading, value\nTask: Fetch reading from dew_point where ts exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006496", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: depth, value, qc, lon\n Sensor: drought_index | fields: unit, lat, type, level\nTask: Get lat from visibility where depth exceeds the minimum reading from drought_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006497", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, lon, lat, reading\n Sensor: rainfall | fields: lat, lon, ts, reading\nTask: Fetch depth from cloud_cover where depth exists in rainfall sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "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_fixed_v1_val_006498", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, lat, ts, depth\n Sensor: snow_depth | fields: reading, depth, ts, type\nTask: Retrieve reading from rainfall with reading above the MAX(value) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006499", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: reading, depth, lat, level\n Sensor: rainfall | fields: reading, value, qc, ts\nTask: Fetch level from temperature where reading is greater than the maximum of reading in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006500", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: qc, value, reading, level\n Sensor: lightning | fields: reading, depth, value, lon\nTask: Get lon from rainfall where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006501", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, level, lon, ts\n Sensor: rainfall | fields: reading, level, lon, ts\nTask: Get reading from cloud_cover where depth appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006502", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, qc, reading, lon\n Sensor: frost | fields: level, unit, lon, lat\nTask: Get value from wind_speed where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006503", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: reading, level, depth, value\n Sensor: visibility | fields: type, depth, reading, lon\nTask: Get lon from pressure where depth exceeds the maximum depth from visibility for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006504", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, depth, unit, lon\n Sensor: drought_index | fields: value, qc, unit, lon\nTask: Get level from evaporation where ts appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "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_fixed_v1_val_006505", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lat, value, type, depth\n Sensor: evaporation | fields: qc, lat, ts, depth\nTask: Fetch lat from humidity where value is greater than the minimum of depth in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006506", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, reading, depth, level\n Sensor: air_quality | fields: unit, ts, type, lat\nTask: Retrieve value from frost with value above the SUM(depth) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006507", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, qc, depth, type\n Sensor: dew_point | fields: depth, reading, type, level\nTask: Retrieve value from evaporation that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006508", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, ts, type, unit\n Sensor: dew_point | fields: lon, ts, depth, value\nTask: Get value from pressure where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006509", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: qc, value, level, ts\n Sensor: soil_moisture | fields: unit, type, level, value\nTask: Get value from sunlight where depth exceeds the count of reading from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006510", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: ts, lat, depth, reading\n Sensor: air_quality | fields: depth, level, type, reading\nTask: Retrieve lon from rainfall whose depth 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=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006511", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lat, ts, unit, depth\n Sensor: evaporation | fields: type, ts, lon, reading\nTask: Get depth from snow_depth where depth exceeds the total reading from evaporation for the same depth.\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(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006512", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: level, qc, lon, ts\n Sensor: cloud_cover | fields: unit, value, ts, depth\nTask: Get depth from sunlight where value exceeds the minimum reading from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006513", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lon, depth, reading, type\n Sensor: frost | fields: level, lon, reading, value\nTask: Retrieve lat 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=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006514", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, ts, unit, type\n Sensor: drought_index | fields: ts, level, depth, reading\nTask: Retrieve lon from uv_index whose unit is found in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006515", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, level, qc, type\n Sensor: drought_index | fields: depth, value, unit, lon\nTask: Get reading from uv_index where type appears in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006516", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: ts, type, depth, lat\n Sensor: soil_moisture | fields: lon, unit, value, level\nTask: Fetch lat from cloud_cover where reading is greater than the average of reading in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006517", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, ts, reading, qc\n Sensor: uv_index | fields: level, reading, value, ts\nTask: Get lon from soil_moisture where depth exceeds the maximum reading from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "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_fixed_v1_val_006518", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: unit, type, value, reading\n Sensor: sunlight | fields: depth, unit, lat, ts\nTask: Retrieve lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006519", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lon, unit, type, lat\n Sensor: pressure | fields: ts, lon, depth, type\nTask: Fetch reading from drought_index where ts exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006520", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lon, depth, lat, ts\n Sensor: rainfall | fields: lon, value, level, reading\nTask: Get value from snow_depth where a corresponding entry exists in rainfall with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006521", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lon, reading, qc, depth\n Sensor: visibility | fields: ts, value, lon, type\nTask: Get depth from lightning where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006522", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, lon, level, depth\n Sensor: wind_speed | fields: level, ts, lon, depth\nTask: Fetch lon from dew_point that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006523", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, level, lon, value\n Sensor: evaporation | fields: lat, type, unit, value\nTask: Fetch level from uv_index that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006524", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, lat, value, lon\n Sensor: dew_point | fields: reading, ts, type, unit\nTask: Retrieve depth 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=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006525", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: qc, ts, depth, lat\n Sensor: pressure | fields: value, unit, ts, lon\nTask: Get value from rainfall where reading exceeds the average reading from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006526", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: ts, reading, lat, type\n Sensor: dew_point | fields: qc, unit, depth, ts\nTask: Get depth from turbidity where depth appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006527", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: ts, value, type, unit\n Sensor: air_quality | fields: type, unit, lat, qc\nTask: Retrieve value from rainfall whose ts is found in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006528", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: depth, value, ts, unit\n Sensor: cloud_cover | fields: qc, lon, unit, depth\nTask: Retrieve depth 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=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006529", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, value, lat, lon\n Sensor: visibility | fields: qc, level, reading, lon\nTask: Retrieve lat 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=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006530", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, reading, type, ts\n Sensor: pressure | fields: depth, reading, unit, value\nTask: Retrieve reading from rainfall with depth above the MIN(depth) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006531", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: unit, depth, value, qc\n Sensor: visibility | fields: value, lon, level, unit\nTask: Retrieve depth from lightning with depth above the MIN(depth) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006532", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, reading, value, ts\n Sensor: wind_speed | fields: lat, lon, unit, qc\nTask: Retrieve value from turbidity that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006533", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, lon, depth, type\n Sensor: frost | fields: value, unit, lat, lon\nTask: Retrieve lat from dew_point that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006534", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, lat, unit, qc\n Sensor: evaporation | fields: lat, type, level, unit\nTask: Get depth from uv_index where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006535", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lat, depth, value, reading\n Sensor: cloud_cover | fields: value, level, lat, ts\nTask: Fetch depth from pressure that have at least one corresponding cloud_cover measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006536", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: reading, lon, lat, qc\n Sensor: snow_depth | fields: lon, lat, type, reading\nTask: Get level from evaporation where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006537", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, lon, level, unit\n Sensor: visibility | fields: level, reading, depth, ts\nTask: Get level from air_quality where ts appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006538", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, value, level, depth\n Sensor: turbidity | fields: reading, lat, lon, qc\nTask: Get depth from evaporation where depth exceeds the total reading from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\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": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006539", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: depth, value, lat, type\n Sensor: frost | fields: ts, value, unit, level\nTask: Retrieve level from rainfall with depth above the AVG(depth) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006540", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, reading, value, ts\n Sensor: rainfall | fields: reading, qc, value, type\nTask: Retrieve level from snow_depth whose unit is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006541", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, type, level, reading\n Sensor: rainfall | fields: ts, unit, level, lon\nTask: Fetch value from air_quality where qc exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006542", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, type, level, reading\n Sensor: soil_moisture | fields: depth, qc, reading, level\nTask: Fetch lon from air_quality where type exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006543", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: reading, unit, value, type\n Sensor: uv_index | fields: reading, depth, unit, level\nTask: Get reading from cloud_cover where ts appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006544", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: level, lat, reading, lon\n Sensor: pressure | fields: level, reading, value, ts\nTask: Retrieve lon from temperature that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006545", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, lon, depth, ts\n Sensor: lightning | fields: type, depth, level, value\nTask: Get lat from humidity where depth exceeds the maximum depth from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006546", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, qc, level, type\n Sensor: frost | fields: depth, lat, qc, value\nTask: Get depth from soil_moisture where depth exceeds the average depth from frost for the same qc.\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(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006547", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: depth, type, value, reading\n Sensor: sunlight | fields: value, ts, lat, lon\nTask: Retrieve lon from turbidity with depth above the AVG(value) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006548", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: type, ts, value, reading\n Sensor: temperature | fields: level, lon, ts, value\nTask: Get reading from snow_depth where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006549", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: unit, lon, reading, lat\n Sensor: rainfall | fields: level, lon, qc, unit\nTask: Fetch depth from snow_depth that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006550", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, reading, lon, lat\n Sensor: wind_speed | fields: lon, lat, value, depth\nTask: Retrieve level from air_quality with reading above the MIN(value) of wind_speed 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\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006551", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, depth, value, lat\n Sensor: pressure | fields: value, qc, level, ts\nTask: Get lon from soil_moisture where value exceeds the minimum depth from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006552", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, lat, qc, reading\n Sensor: evaporation | fields: ts, reading, value, qc\nTask: Retrieve value 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=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006553", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, lat, depth, level\n Sensor: uv_index | fields: lon, type, level, reading\nTask: Get level from air_quality where type 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=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006554", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: level, type, unit, lat\n Sensor: drought_index | fields: lon, qc, level, type\nTask: Get lon from dew_point where a corresponding entry exists in drought_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006555", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, lat, ts, unit\n Sensor: wind_speed | fields: unit, type, depth, value\nTask: Retrieve depth from snow_depth with reading above the MIN(depth) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006556", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: type, lon, reading, lat\n Sensor: snow_depth | fields: reading, ts, lat, lon\nTask: Retrieve value from temperature that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006557", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: ts, depth, unit, qc\n Sensor: evaporation | fields: lat, lon, qc, type\nTask: Fetch lat from uv_index where ts exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006558", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: ts, type, lon, qc\n Sensor: turbidity | fields: ts, qc, lat, value\nTask: Get reading 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=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006559", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, lat, value, qc\n Sensor: wind_speed | fields: value, lon, type, qc\nTask: Retrieve value from frost whose qc is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006560", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: unit, level, depth, reading\n Sensor: wind_speed | fields: reading, type, unit, qc\nTask: Get reading from snow_depth where a corresponding entry exists in wind_speed with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006561", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, level, qc, ts\n Sensor: rainfall | fields: lat, qc, type, ts\nTask: Get value from visibility where value exceeds the minimum reading from rainfall for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006562", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lon, lat, unit, depth\n Sensor: snow_depth | fields: value, unit, reading, qc\nTask: Fetch lon from humidity where ts exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006563", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: qc, value, depth, ts\n Sensor: lightning | fields: level, depth, type, lat\nTask: Fetch depth from humidity where unit exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006564", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lat, unit, reading, value\n Sensor: cloud_cover | fields: depth, type, lon, value\nTask: Retrieve depth from lightning whose depth is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006565", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: unit, depth, type, value\n Sensor: temperature | fields: ts, level, reading, lat\nTask: Get lat from uv_index where ts appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006566", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: ts, depth, reading, qc\n Sensor: temperature | fields: ts, depth, lat, unit\nTask: Fetch lat from dew_point where unit exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006567", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: reading, ts, unit, lon\n Sensor: evaporation | fields: depth, lon, unit, ts\nTask: Retrieve value from sunlight that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006568", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, reading, lon, depth\n Sensor: visibility | fields: depth, value, lat, ts\nTask: Get lat from sunlight where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006569", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, lon, unit, value\n Sensor: uv_index | fields: lat, qc, reading, ts\nTask: Fetch lat from frost where type 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=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006570", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, depth, reading, unit\n Sensor: humidity | fields: unit, value, qc, level\nTask: Fetch lat from soil_moisture where qc exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006571", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, unit, qc, lat\n Sensor: snow_depth | fields: level, value, lat, reading\nTask: Retrieve level from cloud_cover that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006572", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lon, value, unit, reading\n Sensor: air_quality | fields: depth, qc, lat, level\nTask: Fetch lon from wind_speed where value is greater than the average of depth in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006573", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, lat, depth, value\n Sensor: humidity | fields: type, unit, ts, value\nTask: Retrieve level from pressure with value above the SUM(reading) of humidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "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_fixed_v1_val_006574", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: ts, value, lat, level\n Sensor: rainfall | fields: qc, lat, depth, reading\nTask: Fetch value from cloud_cover where reading is greater than the minimum of depth in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006575", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: qc, level, ts, lat\n Sensor: uv_index | fields: ts, level, depth, reading\nTask: Get value from sunlight where depth appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006576", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: depth, reading, lon, qc\n Sensor: pressure | fields: ts, value, unit, depth\nTask: Retrieve level from visibility with value above the SUM(depth) of pressure readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006577", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, unit, level, reading\n Sensor: visibility | fields: ts, unit, type, lon\nTask: Fetch lon from dew_point where value is greater than the count of of reading in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006578", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: level, depth, ts, lat\n Sensor: turbidity | fields: level, ts, lon, depth\nTask: Retrieve reading from uv_index whose unit is found in turbidity records where depth 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(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006579", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, type, level, lat\n Sensor: air_quality | fields: value, unit, type, lon\nTask: Get lon from rainfall where reading exceeds the maximum value from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006580", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, value, qc, type\n Sensor: sunlight | fields: reading, value, level, unit\nTask: Get lon from evaporation where type appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006581", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: reading, level, lat, lon\n Sensor: sunlight | fields: lat, level, ts, qc\nTask: Get lon from frost where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006582", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: type, lat, qc, unit\n Sensor: soil_moisture | fields: lon, level, unit, qc\nTask: Get lon from turbidity where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006583", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, value, level, lat\n Sensor: wind_speed | fields: ts, lat, lon, value\nTask: Retrieve value from temperature with reading above the MAX(depth) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006584", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: reading, value, type, lon\n Sensor: frost | fields: ts, lat, value, reading\nTask: Fetch lat from rainfall where reading is greater than the minimum of value in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "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_fixed_v1_val_006585", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, type, ts, value\n Sensor: lightning | fields: reading, qc, ts, level\nTask: Get lon from dew_point where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006586", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lon, depth, ts, type\n Sensor: wind_speed | fields: value, depth, ts, lat\nTask: Retrieve reading from drought_index that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006587", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, lat, type, qc\n Sensor: air_quality | fields: lat, lon, unit, ts\nTask: Get lon from humidity where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006588", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lat, lon, type, level\n Sensor: visibility | fields: type, qc, unit, level\nTask: Retrieve level from sunlight with value above the AVG(value) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006589", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, type, level, ts\n Sensor: drought_index | fields: lon, level, reading, value\nTask: Retrieve lat from humidity that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006590", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: ts, qc, reading, level\n Sensor: temperature | fields: lon, value, depth, unit\nTask: Retrieve depth 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=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006591", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, lon, unit, depth\n Sensor: frost | fields: lat, reading, lon, ts\nTask: Get depth from evaporation where value exceeds the total reading from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006592", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: ts, value, qc, lat\n Sensor: cloud_cover | fields: depth, ts, reading, lat\nTask: Get reading from frost where ts appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "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_fixed_v1_val_006593", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, ts, depth, value\n Sensor: wind_speed | fields: ts, lat, value, depth\nTask: Fetch value from lightning where value is greater than the minimum of reading in wind_speed for matching 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(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006594", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: type, lon, unit, depth\n Sensor: frost | fields: value, lon, ts, unit\nTask: Retrieve level from temperature that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006595", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: depth, ts, level, qc\n Sensor: temperature | fields: unit, lon, type, qc\nTask: Get level from turbidity where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006596", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, unit, value, lon\n Sensor: pressure | fields: ts, qc, unit, lat\nTask: Retrieve value from dew_point that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006597", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, reading, qc, depth\n Sensor: uv_index | fields: qc, lon, depth, value\nTask: Fetch level from turbidity where qc exists in uv_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006598", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lat, depth, level, value\n Sensor: lightning | fields: lat, reading, ts, depth\nTask: Get reading from sunlight where depth appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006599", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: value, qc, lon, ts\n Sensor: lightning | fields: level, ts, value, reading\nTask: Get reading from humidity where unit appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006600", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: level, lat, ts, qc\n Sensor: air_quality | fields: depth, lon, qc, reading\nTask: Retrieve value from turbidity with depth above the AVG(reading) of air_quality readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006601", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: ts, level, qc, lon\n Sensor: drought_index | fields: ts, reading, depth, lon\nTask: Fetch depth from rainfall that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006602", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, type, qc, level\n Sensor: sunlight | fields: value, reading, type, qc\nTask: Fetch lat from dew_point that have at least one corresponding sunlight measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006603", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, type, level, ts\n Sensor: pressure | fields: depth, reading, lon, lat\nTask: Fetch lon from rainfall that have at least one corresponding pressure measurement for 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=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006604", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: reading, lat, lon, qc\n Sensor: drought_index | fields: level, ts, depth, type\nTask: Get lon from frost where depth exceeds the maximum depth from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006605", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, depth, ts, qc\n Sensor: temperature | fields: reading, value, depth, type\nTask: Get reading from evaporation where reading exceeds the count of reading from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006606", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: type, depth, level, ts\n Sensor: frost | fields: level, ts, qc, depth\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=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006607", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, ts, reading, unit\n Sensor: dew_point | fields: qc, level, lat, value\nTask: Fetch value from rainfall where reading is greater than the count of of reading in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006608", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, qc, unit, lon\n Sensor: uv_index | fields: level, depth, lon, qc\nTask: Get lon from rainfall where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006609", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, lon, depth, reading\n Sensor: wind_speed | fields: qc, lat, unit, reading\nTask: Retrieve value from turbidity whose depth is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\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": "turbidity", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006610", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: qc, ts, lon, reading\n Sensor: lightning | fields: lon, reading, unit, ts\nTask: Get lat 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=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006611", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, qc, level, type\n Sensor: dew_point | fields: lat, unit, ts, qc\nTask: Fetch lat from humidity where reading is greater than the total of reading in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "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_fixed_v1_val_006612", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, lon, ts, reading\n Sensor: soil_moisture | fields: unit, lon, reading, type\nTask: Get level from evaporation where reading exceeds the total depth from soil_moisture for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006613", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: ts, lat, level, unit\n Sensor: snow_depth | fields: lat, lon, type, reading\nTask: Get value from turbidity where ts appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "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_fixed_v1_val_006614", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: ts, type, level, depth\n Sensor: uv_index | fields: lon, value, depth, level\nTask: Retrieve level from turbidity that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006615", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, value, lon, lat\n Sensor: visibility | fields: lon, unit, reading, value\nTask: Get lat from sunlight where depth exceeds the total value from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006616", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: reading, type, value, lat\n Sensor: drought_index | fields: reading, lon, depth, value\nTask: Get value from wind_speed where reading exceeds the minimum reading from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\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": "prt", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006617", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: unit, depth, reading, qc\n Sensor: wind_speed | fields: ts, lat, depth, unit\nTask: Fetch depth from soil_moisture that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006618", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lon, reading, unit, lat\n Sensor: cloud_cover | fields: value, depth, lat, reading\nTask: Fetch reading from evaporation where value is greater than the minimum of depth in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006619", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: depth, value, unit, level\n Sensor: snow_depth | fields: value, lon, depth, qc\nTask: Get level from frost where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006620", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: reading, value, lat, depth\n Sensor: soil_moisture | fields: unit, qc, type, lon\nTask: Get lon from visibility where value exceeds the total reading from soil_moisture for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006621", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, reading, qc, depth\n Sensor: uv_index | fields: depth, level, value, lon\nTask: Get lon from visibility where value exceeds the minimum depth from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006622", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: unit, type, lat, ts\n Sensor: air_quality | fields: lon, reading, lat, type\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=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006623", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: unit, ts, level, reading\n Sensor: drought_index | fields: type, depth, qc, level\nTask: Get lat from snow_depth where a corresponding entry exists in drought_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006624", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: reading, level, depth, type\n Sensor: frost | fields: value, lon, level, ts\nTask: Retrieve lon from air_quality whose depth is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006625", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lon, qc, reading, value\n Sensor: uv_index | fields: level, unit, depth, qc\nTask: Get depth from cloud_cover where unit appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006626", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lon, type, ts, depth\n Sensor: drought_index | fields: reading, lat, value, depth\nTask: Get lon from turbidity where depth exceeds the count of depth from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006627", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, type, lon, value\n Sensor: rainfall | fields: lon, ts, depth, qc\nTask: Retrieve value from uv_index that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006628", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lon, type, reading, unit\n Sensor: soil_moisture | fields: ts, type, value, lon\nTask: Retrieve level from air_quality whose unit is found in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006629", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: reading, lat, lon, unit\n Sensor: visibility | fields: ts, unit, lat, depth\nTask: Fetch depth from drought_index where reading is greater than the minimum of depth in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006630", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, level, lon, ts\n Sensor: snow_depth | fields: depth, type, level, ts\nTask: Fetch level from cloud_cover where depth is greater than the average of value in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006631", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lat, unit, depth, ts\n Sensor: humidity | fields: qc, depth, reading, lat\nTask: Retrieve lat from pressure whose depth is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006632", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, value, lon, depth\n Sensor: temperature | fields: unit, type, level, qc\nTask: Retrieve depth from turbidity whose depth is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006633", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: reading, level, ts, type\n Sensor: dew_point | fields: level, depth, unit, lon\nTask: Retrieve reading from drought_index whose ts is found in dew_point records where type 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(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006634", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: depth, type, lat, value\n Sensor: drought_index | fields: reading, depth, type, qc\nTask: Retrieve lat from soil_moisture with value above the MAX(reading) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006635", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: reading, unit, level, type\n Sensor: frost | fields: depth, unit, lat, value\nTask: Fetch depth from cloud_cover where type exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006636", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lat, unit, qc, reading\n Sensor: rainfall | fields: type, ts, level, value\nTask: Get lat from temperature where depth exceeds the total depth from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006637", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, depth, ts, lat\n Sensor: temperature | fields: ts, type, reading, value\nTask: Get lat from dew_point where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006638", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lat, unit, level, type\n Sensor: frost | fields: value, level, type, ts\nTask: Get depth from turbidity where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006639", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lat, qc, lon, depth\n Sensor: humidity | fields: type, qc, depth, ts\nTask: Get value from cloud_cover where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006640", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, lon, ts, unit\n Sensor: uv_index | fields: reading, unit, type, lon\nTask: Fetch lon from visibility that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006641", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: type, unit, lon, qc\n Sensor: snow_depth | fields: ts, qc, value, unit\nTask: Fetch value from rainfall that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006642", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: level, lat, value, lon\n Sensor: uv_index | fields: qc, lat, ts, level\nTask: Fetch lat from air_quality that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006643", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: value, depth, reading, type\n Sensor: visibility | fields: depth, qc, value, reading\nTask: Retrieve lon from temperature with value above the COUNT(value) of visibility readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006644", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lon, type, reading, depth\n Sensor: air_quality | fields: qc, reading, level, type\nTask: Retrieve lon from uv_index whose unit is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "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_fixed_v1_val_006645", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: type, level, qc, ts\n Sensor: drought_index | fields: level, ts, qc, type\nTask: Get lat from wind_speed where depth exceeds the average value from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006646", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, value, qc, type\n Sensor: dew_point | fields: type, depth, lat, unit\nTask: Get reading from soil_moisture where unit appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006647", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: qc, level, ts, reading\n Sensor: soil_moisture | fields: lon, value, ts, type\nTask: Retrieve reading from evaporation with reading above the MIN(depth) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006648", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, depth, value, qc\n Sensor: dew_point | fields: unit, ts, qc, reading\nTask: Fetch lat from pressure that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006649", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, level, reading, type\n Sensor: snow_depth | fields: unit, qc, reading, lon\nTask: Retrieve reading 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=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006650", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, value, level, lon\n Sensor: evaporation | fields: qc, ts, lat, type\nTask: Fetch depth from dew_point that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006651", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: unit, lon, reading, level\n Sensor: wind_speed | fields: level, type, lat, reading\nTask: Retrieve reading from humidity whose depth is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006652", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, lat, lon, ts\n Sensor: snow_depth | fields: qc, level, reading, lat\nTask: Fetch lon from pressure where value is greater than the minimum of depth in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006653", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: qc, level, type, lat\n Sensor: evaporation | fields: reading, ts, type, lat\nTask: Get depth from turbidity where type appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006654", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lat, qc, lon, type\n Sensor: snow_depth | fields: depth, ts, unit, reading\nTask: Fetch depth from temperature that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006655", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: type, lat, lon, value\n Sensor: dew_point | fields: qc, depth, reading, type\nTask: Retrieve lon from uv_index with value above the SUM(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006656", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: value, depth, unit, lon\n Sensor: rainfall | fields: depth, type, lat, unit\nTask: Get reading from uv_index where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006657", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, depth, reading, qc\n Sensor: rainfall | fields: qc, unit, reading, lat\nTask: Retrieve value from evaporation that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006658", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: value, reading, type, ts\n Sensor: uv_index | fields: level, lon, value, ts\nTask: Fetch level from sunlight that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006659", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: lat, qc, type, reading\n Sensor: pressure | fields: unit, lat, depth, level\nTask: Retrieve reading from soil_moisture whose type is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006660", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, type, depth, reading\n Sensor: humidity | fields: level, qc, lon, unit\nTask: Retrieve value from turbidity whose qc is found in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006661", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: depth, ts, type, value\n Sensor: turbidity | fields: ts, depth, type, qc\nTask: Get value from lightning where qc appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006662", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: ts, depth, value, qc\n Sensor: cloud_cover | fields: value, ts, lat, lon\nTask: Retrieve lon from uv_index whose depth is found in cloud_cover records where qc 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(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006663", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: ts, lat, qc, level\n Sensor: temperature | fields: reading, lon, type, lat\nTask: Get level from sunlight where value exceeds the minimum depth from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006664", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, type, reading, level\n Sensor: uv_index | fields: ts, type, depth, lon\nTask: Retrieve reading from visibility whose ts is found in uv_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006665", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lon, reading, ts, lat\n Sensor: pressure | fields: unit, ts, qc, lon\nTask: Get value from snow_depth where unit appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006666", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, qc, depth, ts\n Sensor: humidity | fields: type, depth, qc, lon\nTask: Fetch lon from temperature where reading is greater than the minimum of reading in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006667", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, reading, type, lon\n Sensor: sunlight | fields: type, qc, lat, depth\nTask: Retrieve value from lightning that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006668", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: depth, lat, level, value\n Sensor: drought_index | fields: value, lon, lat, qc\nTask: Retrieve level from soil_moisture that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006669", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: depth, ts, reading, level\n Sensor: evaporation | fields: ts, level, unit, reading\nTask: Fetch reading 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=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006670", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, value, unit, reading\n Sensor: pressure | fields: value, depth, ts, qc\nTask: Retrieve lat from wind_speed that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006671", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: reading, depth, unit, lat\n Sensor: temperature | fields: value, type, lon, unit\nTask: Get level from turbidity where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006672", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, lat, depth, level\n Sensor: drought_index | fields: type, unit, level, lat\nTask: Fetch level from uv_index that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006673", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, lon, qc, type\n Sensor: visibility | fields: ts, lat, lon, qc\nTask: Fetch depth from uv_index that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006674", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, lon, lat, level\n Sensor: turbidity | fields: value, ts, depth, level\nTask: Retrieve value from drought_index whose depth is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006675", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: type, ts, value, lat\n Sensor: temperature | fields: depth, value, type, lat\nTask: Fetch lon from turbidity that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006676", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: qc, reading, depth, lon\n Sensor: drought_index | fields: lon, ts, reading, type\nTask: Get lat from snow_depth where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006677", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, qc, lat, reading\n Sensor: uv_index | fields: lat, type, reading, qc\nTask: Get value from turbidity where value exceeds the total depth from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006678", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: level, reading, ts, lat\n Sensor: evaporation | fields: reading, ts, qc, depth\nTask: Retrieve level from snow_depth whose type is found in evaporation records where depth 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(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006679", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: depth, type, lat, lon\n Sensor: humidity | fields: lat, depth, value, lon\nTask: Retrieve level 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=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006680", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: lat, ts, qc, reading\n Sensor: lightning | fields: reading, type, level, qc\nTask: Fetch depth from rainfall where ts exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006681", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, type, ts, reading\n Sensor: wind_speed | fields: level, unit, qc, lon\nTask: Fetch level from drought_index that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006682", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: qc, lat, value, ts\n Sensor: dew_point | fields: qc, reading, level, value\nTask: Fetch depth from frost where type exists in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006683", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, ts, type, value\n Sensor: visibility | fields: qc, unit, lat, ts\nTask: Get level from rainfall where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006684", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: qc, value, unit, depth\n Sensor: turbidity | fields: qc, lat, depth, type\nTask: Get level from frost where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006685", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: level, reading, qc, lon\n Sensor: temperature | fields: lat, qc, level, value\nTask: Retrieve depth from rainfall with depth above the MIN(value) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006686", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lat, level, reading, depth\n Sensor: uv_index | fields: lon, type, ts, depth\nTask: Retrieve reading from snow_depth whose unit is found in uv_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006687", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, depth, lat, ts\n Sensor: visibility | fields: lat, level, qc, lon\nTask: Get lon from frost where value exceeds the minimum value from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "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_fixed_v1_val_006688", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: depth, lat, unit, ts\n Sensor: visibility | fields: type, unit, reading, level\nTask: Retrieve level from wind_speed that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006689", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, level, reading, type\n Sensor: evaporation | fields: depth, level, type, qc\nTask: Get level from soil_moisture where depth appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006690", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, level, unit, value\n Sensor: snow_depth | fields: depth, reading, value, lat\nTask: Get value from dew_point where unit appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006691", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, type, lon, qc\n Sensor: dew_point | fields: ts, qc, type, lon\nTask: Retrieve lon 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=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006692", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, lon, type, value\n Sensor: evaporation | fields: level, value, lon, lat\nTask: Get reading from uv_index where value 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=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006693", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: reading, value, lon, level\n Sensor: drought_index | fields: reading, type, lon, qc\nTask: Fetch lon from snow_depth where value is greater than the total of depth in drought_index for matching 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(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006694", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: level, lon, ts, reading\n Sensor: sunlight | fields: lon, lat, reading, qc\nTask: Fetch reading from cloud_cover that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006695", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: type, depth, unit, qc\n Sensor: wind_speed | fields: lon, lat, type, reading\nTask: Get depth from snow_depth where depth appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006696", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, unit, lat, reading\n Sensor: soil_moisture | fields: type, lon, lat, value\nTask: Get value from uv_index where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006697", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: qc, depth, level, ts\n Sensor: dew_point | fields: ts, qc, reading, unit\nTask: Get depth from wind_speed where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006698", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lon, value, qc, unit\n Sensor: temperature | fields: unit, qc, type, value\nTask: Retrieve value from evaporation with value above the SUM(value) of temperature readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006699", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, qc, value, lon\n Sensor: temperature | fields: unit, depth, level, type\nTask: Fetch reading from soil_moisture where reading is greater than the total of reading in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "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_fixed_v1_val_006700", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: level, type, reading, lon\n Sensor: humidity | fields: level, type, ts, qc\nTask: Get reading from turbidity where ts appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006701", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, lon, depth, qc\n Sensor: uv_index | fields: ts, reading, type, qc\nTask: Fetch reading from temperature where value is greater than the minimum of reading in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "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_fixed_v1_val_006702", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, unit, ts, lat\n Sensor: visibility | fields: lon, lat, unit, depth\nTask: Get reading from air_quality where unit appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006703", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: level, depth, reading, ts\n Sensor: air_quality | fields: ts, qc, lat, level\nTask: Fetch lat from uv_index where depth is greater than the count of of depth in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006704", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: reading, lon, lat, ts\n Sensor: cloud_cover | fields: lat, level, qc, type\nTask: Retrieve lat from evaporation that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006705", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, lat, level, unit\n Sensor: soil_moisture | fields: lon, type, qc, value\nTask: Get value from humidity where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006706", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, lon, ts, lat\n Sensor: air_quality | fields: type, level, reading, qc\nTask: Fetch lon 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=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006707", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, unit, qc, ts\n Sensor: wind_speed | fields: unit, level, ts, depth\nTask: Fetch level from air_quality where reading is greater than the total of depth in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006708", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, lat, depth, ts\n Sensor: uv_index | fields: reading, level, lon, unit\nTask: Get value from sunlight where a corresponding entry exists in uv_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006709", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, ts, lon, type\n Sensor: wind_speed | fields: reading, depth, qc, lat\nTask: Fetch reading from evaporation that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006710", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, value, level, ts\n Sensor: rainfall | fields: lat, reading, lon, unit\nTask: Retrieve lat from dew_point that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006711", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, depth, lat, qc\n Sensor: evaporation | fields: ts, value, lon, reading\nTask: Get lat from wind_speed where depth exceeds the average depth from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006712", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lon, ts, unit, level\n Sensor: lightning | fields: ts, lon, depth, qc\nTask: Fetch lat from evaporation that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006713", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, value, type, reading\n Sensor: visibility | fields: type, lon, unit, ts\nTask: Retrieve depth from wind_speed whose type is found in visibility records where qc 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(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "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_fixed_v1_val_006714", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, unit, reading, value\n Sensor: humidity | fields: value, lat, unit, level\nTask: Retrieve lon from sunlight whose depth is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006715", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, type, unit, level\n Sensor: visibility | fields: qc, level, value, type\nTask: Retrieve lon from humidity whose ts is found in visibility 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(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "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_fixed_v1_val_006716", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: depth, unit, type, value\n Sensor: sunlight | fields: unit, ts, value, type\nTask: Fetch lon from lightning where depth is greater than the total of depth in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006717", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, level, unit, lat\n Sensor: snow_depth | fields: lon, depth, reading, unit\nTask: Fetch lat from drought_index where depth is greater than the minimum of value in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006718", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: type, reading, lat, lon\n Sensor: drought_index | fields: depth, unit, reading, type\nTask: Get level from temperature where ts appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\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": "temperature", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006719", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lon, lat, type, value\n Sensor: drought_index | fields: unit, lon, ts, level\nTask: Retrieve depth from pressure with value above the SUM(reading) of drought_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006720", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: level, lon, value, lat\n Sensor: drought_index | fields: depth, lon, reading, ts\nTask: Get value from snow_depth where type appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006721", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: ts, level, unit, reading\n Sensor: rainfall | fields: ts, depth, lon, reading\nTask: Get lat from pressure where qc appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "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_fixed_v1_val_006722", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, lon, ts, level\n Sensor: air_quality | fields: unit, value, lat, level\nTask: Retrieve level from turbidity whose depth is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006723", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lon, level, lat, qc\n Sensor: wind_speed | fields: ts, qc, depth, reading\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=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006724", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, depth, unit, ts\n Sensor: pressure | fields: lon, unit, lat, value\nTask: Get reading from turbidity where a corresponding entry exists in pressure with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006725", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lon, value, level, reading\n Sensor: rainfall | fields: value, depth, lon, type\nTask: Get value from wind_speed where value exceeds the maximum value from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006726", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: level, reading, depth, lon\n Sensor: sunlight | fields: lat, level, value, type\nTask: Get depth from cloud_cover where depth exceeds the maximum reading from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006727", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: qc, type, unit, lon\n Sensor: dew_point | fields: lat, ts, reading, unit\nTask: Get value from temperature where depth appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006728", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: ts, unit, type, level\n Sensor: drought_index | fields: lon, level, lat, type\nTask: Fetch lon from temperature where unit exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "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_fixed_v1_val_006729", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: qc, reading, depth, type\n Sensor: humidity | fields: level, ts, lon, reading\nTask: Get lat from frost where a corresponding entry exists in humidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006730", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: depth, value, type, unit\n Sensor: soil_moisture | fields: value, ts, lat, depth\nTask: Retrieve lat from drought_index whose depth is found in soil_moisture records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006731", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: level, unit, type, value\n Sensor: cloud_cover | fields: unit, qc, ts, depth\nTask: Get reading from uv_index where value exceeds the count of reading from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\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": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006732", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: level, value, lon, reading\n Sensor: sunlight | fields: lon, lat, depth, ts\nTask: Get depth from frost where depth exceeds the maximum reading from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006733", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: qc, level, type, value\n Sensor: snow_depth | fields: unit, qc, level, ts\nTask: Retrieve depth from dew_point that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006734", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, value, ts, depth\n Sensor: pressure | fields: qc, value, level, lon\nTask: Retrieve level from visibility with depth above the SUM(value) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006735", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, ts, reading, value\n Sensor: dew_point | fields: lat, qc, ts, reading\nTask: Retrieve value from evaporation whose ts is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006736", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, type, unit, ts\n Sensor: dew_point | fields: value, qc, reading, lon\nTask: Retrieve reading from humidity that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006737", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, value, lat, type\n Sensor: temperature | fields: type, value, depth, ts\nTask: Get lat from sunlight where ts appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006738", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lat, reading, level, value\n Sensor: drought_index | fields: qc, ts, reading, type\nTask: Retrieve lon from uv_index with depth above the SUM(value) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006739", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: type, depth, reading, lon\n Sensor: evaporation | fields: qc, depth, ts, lon\nTask: Get reading from cloud_cover where type appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006740", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, reading, qc, lat\n Sensor: drought_index | fields: depth, reading, lat, level\nTask: Fetch lon from turbidity that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006741", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lat, lon, depth, type\n Sensor: rainfall | fields: value, qc, lat, type\nTask: Fetch depth from lightning that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006742", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: unit, ts, value, level\n Sensor: cloud_cover | fields: unit, qc, value, reading\nTask: Fetch lon from humidity where ts exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006743", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: ts, depth, value, type\n Sensor: rainfall | fields: depth, lat, ts, qc\nTask: Retrieve depth from cloud_cover with value above the MAX(reading) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006744", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: reading, qc, value, ts\n Sensor: uv_index | fields: value, unit, ts, type\nTask: Retrieve depth from sunlight that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006745", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: type, lon, qc, ts\n Sensor: air_quality | fields: lon, value, ts, depth\nTask: Get level from pressure where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006746", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: level, depth, ts, reading\n Sensor: rainfall | fields: lat, lon, value, reading\nTask: Fetch lat from dew_point where value is greater than the minimum of depth in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006747", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: depth, type, lat, level\n Sensor: frost | fields: level, qc, ts, depth\nTask: Get depth from humidity where unit appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006748", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: qc, lat, ts, unit\n Sensor: visibility | fields: reading, ts, unit, depth\nTask: Retrieve lat from humidity with value above the AVG(value) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006749", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lon, lat, level, type\n Sensor: pressure | fields: value, qc, reading, type\nTask: Get depth from wind_speed where value exceeds the maximum value from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006750", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lon, reading, ts, unit\n Sensor: drought_index | fields: level, unit, qc, ts\nTask: Get reading from frost where reading exceeds the maximum value from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006751", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, lon, depth, ts\n Sensor: temperature | fields: level, type, qc, ts\nTask: Fetch lat from cloud_cover where reading is greater than the average of reading in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006752", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, reading, level, lon\n Sensor: visibility | fields: value, ts, type, qc\nTask: Retrieve level from rainfall with value above the MIN(reading) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006753", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: reading, unit, lon, ts\n Sensor: soil_moisture | fields: ts, lon, depth, unit\nTask: Get reading from lightning where type appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006754", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: depth, unit, value, level\n Sensor: air_quality | fields: qc, lat, depth, unit\nTask: Retrieve lat from rainfall that have at least one matching reading in air_quality sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006755", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: level, ts, unit, depth\n Sensor: dew_point | fields: unit, reading, lat, ts\nTask: Retrieve lat from evaporation with depth above the COUNT(reading) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006756", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lat, qc, lon, unit\n Sensor: lightning | fields: lon, type, depth, level\nTask: Fetch depth from rainfall where unit exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "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_fixed_v1_val_006757", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: reading, ts, depth, lat\n Sensor: lightning | fields: type, lon, qc, ts\nTask: Retrieve lat from frost whose type is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006758", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: lon, lat, reading, unit\n Sensor: pressure | fields: value, depth, ts, lon\nTask: Retrieve value from lightning whose type is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006759", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lon, unit, type, lat\n Sensor: air_quality | fields: value, ts, depth, type\nTask: Get level from lightning where ts appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006760", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, level, lon, qc\n Sensor: drought_index | fields: unit, ts, type, reading\nTask: Retrieve depth from sunlight that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006761", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: unit, reading, ts, lat\n Sensor: soil_moisture | fields: value, depth, ts, level\nTask: Retrieve lat 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=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006762", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, type, depth, unit\n Sensor: evaporation | fields: ts, level, lat, qc\nTask: Get level from uv_index where value exceeds the maximum depth from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006763", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, lon, reading, depth\n Sensor: uv_index | fields: level, value, depth, ts\nTask: Get level from evaporation where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006764", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: reading, unit, value, depth\n Sensor: air_quality | fields: qc, lat, ts, reading\nTask: Get lon from pressure where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006765", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, value, qc, lon\n Sensor: air_quality | fields: value, qc, lat, ts\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=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006766", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, qc, type, lat\n Sensor: rainfall | fields: value, level, lat, ts\nTask: Retrieve reading from pressure that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006767", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: depth, reading, value, lon\n Sensor: sunlight | fields: depth, level, lon, value\nTask: Fetch reading from temperature that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006768", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, lat, value, level\n Sensor: sunlight | fields: type, level, depth, lon\nTask: Retrieve level from frost whose depth is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006769", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: qc, depth, lon, reading\n Sensor: turbidity | fields: value, reading, type, lon\nTask: Retrieve level from sunlight whose depth is found in turbidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006770", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: ts, depth, reading, lon\n Sensor: soil_moisture | fields: reading, ts, lat, unit\nTask: Retrieve value from drought_index whose type is found in soil_moisture records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006771", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: level, value, depth, lon\n Sensor: frost | fields: ts, level, depth, reading\nTask: Retrieve depth from uv_index whose type is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006772", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lat, reading, unit, level\n Sensor: turbidity | fields: unit, type, ts, reading\nTask: Get value from dew_point where reading exceeds the minimum value from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006773", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: depth, value, qc, level\n Sensor: air_quality | fields: lon, lat, depth, unit\nTask: Fetch value from temperature where qc exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006774", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, type, depth, lon\n Sensor: snow_depth | fields: value, ts, unit, qc\nTask: Retrieve value from turbidity that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006775", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: value, depth, qc, lon\n Sensor: visibility | fields: level, value, reading, type\nTask: Retrieve depth from lightning that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006776", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: level, ts, qc, type\n Sensor: wind_speed | fields: type, ts, depth, lat\nTask: Retrieve value from snow_depth whose depth is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006777", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lon, type, ts, level\n Sensor: evaporation | fields: level, lon, qc, unit\nTask: Get lat from snow_depth where reading exceeds the count of value from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006778", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, reading, qc, type\n Sensor: uv_index | fields: unit, depth, type, reading\nTask: Get lon from evaporation where reading exceeds the minimum depth from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006779", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: ts, type, depth, unit\n Sensor: turbidity | fields: qc, value, ts, type\nTask: Retrieve lon from wind_speed that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006780", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, unit, qc, depth\n Sensor: humidity | fields: level, depth, reading, lon\nTask: Fetch depth from lightning where qc exists in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006781", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, qc, value, level\n Sensor: temperature | fields: ts, level, depth, type\nTask: Retrieve reading from humidity that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006782", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, unit, reading, value\n Sensor: wind_speed | fields: unit, lat, ts, type\nTask: Get lon from visibility where value exceeds the maximum value from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\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": "ref", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006783", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: value, qc, unit, reading\n Sensor: cloud_cover | fields: reading, value, ts, type\nTask: Fetch level from drought_index where reading is greater than the average of value in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "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_fixed_v1_val_006784", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: level, lon, ts, reading\n Sensor: frost | fields: type, lon, qc, reading\nTask: Get reading from air_quality where reading exceeds the maximum reading from frost for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006785", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: reading, ts, lat, depth\n Sensor: snow_depth | fields: lat, qc, type, level\nTask: Fetch value from wind_speed that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006786", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: reading, level, ts, unit\n Sensor: rainfall | fields: type, reading, lon, depth\nTask: Retrieve value 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=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006787", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, ts, qc, value\n Sensor: uv_index | fields: value, level, depth, lat\nTask: Get level from turbidity where depth appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006788", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: depth, level, value, lon\n Sensor: uv_index | fields: unit, type, lon, reading\nTask: Fetch lat from frost where depth exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006789", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, qc, depth, ts\n Sensor: wind_speed | fields: reading, type, lat, qc\nTask: Fetch value from soil_moisture where depth is greater than the total of reading in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006790", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, depth, level, qc\n Sensor: snow_depth | fields: value, type, level, qc\nTask: Fetch depth from humidity where reading 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=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006791", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, lat, lon, type\n Sensor: frost | fields: unit, value, type, qc\nTask: Fetch lat from dew_point that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006792", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: reading, level, value, lon\n Sensor: rainfall | fields: level, unit, qc, value\nTask: Fetch depth from dew_point where value is greater than the minimum of value in rainfall for matching depth.\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(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006793", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: level, reading, lat, depth\n Sensor: dew_point | fields: depth, ts, lon, reading\nTask: Fetch depth from temperature where value is greater than the count of of reading in dew_point for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006794", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, level, value, depth\n Sensor: dew_point | fields: value, type, depth, lat\nTask: Retrieve level from uv_index whose unit is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006795", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: qc, lon, lat, reading\n Sensor: rainfall | fields: lat, level, ts, value\nTask: Fetch lat from snow_depth where depth is greater than the minimum of value in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006796", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lat, depth, type, level\n Sensor: cloud_cover | fields: lat, level, depth, value\nTask: Fetch lat from drought_index where depth exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006797", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: level, depth, type, reading\n Sensor: rainfall | fields: lon, qc, value, level\nTask: Fetch value from snow_depth where value is greater than the maximum of reading in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006798", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, qc, value, reading\n Sensor: lightning | fields: ts, reading, depth, lon\nTask: Retrieve lat from wind_speed whose type is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006799", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: depth, type, reading, level\n Sensor: dew_point | fields: reading, qc, ts, type\nTask: Fetch level from temperature where reading is greater than the total of depth in dew_point for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006800", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lat, unit, type, level\n Sensor: wind_speed | fields: unit, value, lon, qc\nTask: Retrieve lon 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=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006801", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, reading, depth, level\n Sensor: temperature | fields: depth, value, reading, type\nTask: Get value from cloud_cover where ts appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006802", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, depth, reading, level\n Sensor: visibility | fields: value, unit, ts, type\nTask: Fetch lat from temperature where depth exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006803", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: type, unit, reading, lon\n Sensor: drought_index | fields: lat, type, level, reading\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=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006804", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lat, depth, qc, reading\n Sensor: visibility | fields: unit, level, reading, type\nTask: Get lat from pressure where reading exceeds the count of value from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006805", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, unit, value, reading\n Sensor: humidity | fields: reading, qc, level, unit\nTask: Retrieve depth from snow_depth whose ts is found in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006806", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lon, depth, unit, ts\n Sensor: cloud_cover | fields: value, reading, unit, lat\nTask: Get lon from drought_index where reading exceeds the total depth from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006807", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: level, value, reading, lon\n Sensor: visibility | fields: type, depth, lat, value\nTask: Retrieve reading from air_quality that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006808", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lat, lon, reading, level\n Sensor: visibility | fields: lat, ts, value, level\nTask: Fetch reading from rainfall where depth is greater than the count of of reading in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006809", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, reading, level, type\n Sensor: snow_depth | fields: value, lon, unit, level\nTask: Retrieve depth from lightning whose depth is found in snow_depth records where depth matches the outer node.\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=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006810", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: value, ts, depth, qc\n Sensor: dew_point | fields: reading, lat, depth, type\nTask: Retrieve lat from lightning whose depth is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006811", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, level, qc, depth\n Sensor: temperature | fields: lat, ts, qc, value\nTask: Retrieve lon from sunlight with reading above the AVG(reading) of temperature readings sharing 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(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006812", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: unit, depth, ts, reading\n Sensor: air_quality | fields: lon, depth, unit, ts\nTask: Retrieve depth from visibility whose type is found in air_quality records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006813", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: level, reading, unit, lon\n Sensor: turbidity | fields: qc, depth, level, type\nTask: Retrieve depth 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=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006814", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, depth, level, ts\n Sensor: temperature | fields: type, qc, value, ts\nTask: Retrieve level from visibility with value above the AVG(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(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006815", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: unit, value, reading, qc\n Sensor: air_quality | fields: reading, qc, lat, unit\nTask: Get lat from drought_index where type appears in air_quality readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006816", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: level, value, reading, qc\n Sensor: humidity | fields: qc, reading, lat, unit\nTask: Retrieve depth from wind_speed that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006817", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: unit, lat, depth, lon\n Sensor: dew_point | fields: level, reading, qc, lat\nTask: Get depth from sunlight where ts appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006818", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: qc, value, depth, lon\n Sensor: humidity | fields: lon, depth, qc, unit\nTask: Fetch lon from air_quality that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006819", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: value, depth, unit, qc\n Sensor: drought_index | fields: lon, type, unit, level\nTask: Fetch value from rainfall where ts exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006820", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: level, depth, reading, lat\n Sensor: sunlight | fields: ts, type, level, depth\nTask: Retrieve lat from lightning that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006821", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: depth, value, ts, type\n Sensor: cloud_cover | fields: lat, qc, depth, level\nTask: Get reading from wind_speed where depth exceeds the minimum depth from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006822", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, ts, reading, value\n Sensor: air_quality | fields: level, type, value, ts\nTask: Get depth from evaporation where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "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_fixed_v1_val_006823", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: level, unit, lon, qc\n Sensor: dew_point | fields: qc, depth, value, lat\nTask: Retrieve level from turbidity with depth above the AVG(depth) of dew_point 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\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006824", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, level, ts, value\n Sensor: dew_point | fields: lon, unit, level, value\nTask: Fetch depth from pressure that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006825", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lon, lat, unit, ts\n Sensor: frost | fields: reading, level, unit, type\nTask: Retrieve lat from drought_index with value above the SUM(value) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006826", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, unit, ts, value\n Sensor: humidity | fields: lat, reading, level, ts\nTask: Get value from frost where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006827", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: unit, value, lat, qc\n Sensor: rainfall | fields: type, lon, lat, value\nTask: Retrieve level from dew_point with reading above the SUM(value) of rainfall 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(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006828", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, lat, ts, reading\n Sensor: humidity | fields: reading, qc, value, depth\nTask: Get depth from snow_depth where a corresponding entry exists in humidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006829", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, unit, value, type\n Sensor: temperature | fields: reading, type, qc, lat\nTask: Retrieve level from wind_speed with value above the MAX(value) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006830", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: depth, type, value, lat\n Sensor: sunlight | fields: type, qc, value, ts\nTask: Get value from wind_speed where qc appears in sunlight readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006831", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: reading, lat, ts, qc\n Sensor: air_quality | fields: level, lat, ts, value\nTask: Get level from visibility where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006832", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: unit, lat, qc, lon\n Sensor: visibility | fields: reading, unit, lon, value\nTask: Fetch reading from frost where depth exists in visibility sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006833", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, qc, unit, depth\n Sensor: turbidity | fields: lat, depth, level, lon\nTask: Retrieve value from dew_point with value above the COUNT(reading) of turbidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006834", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: unit, depth, qc, level\n Sensor: cloud_cover | fields: unit, level, qc, ts\nTask: Retrieve reading from sunlight with reading above the SUM(reading) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006835", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, reading, type, ts\n Sensor: rainfall | fields: value, lon, ts, reading\nTask: Fetch value from drought_index where value is greater than the maximum of depth in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006836", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, ts, depth, qc\n Sensor: drought_index | fields: unit, value, lon, reading\nTask: Retrieve lat from temperature that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006837", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: value, lat, ts, reading\n Sensor: snow_depth | fields: reading, unit, level, value\nTask: Retrieve level from frost that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006838", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: level, depth, unit, ts\n Sensor: rainfall | fields: ts, lon, depth, lat\nTask: Fetch lat from temperature where depth exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006839", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: reading, lat, ts, qc\n Sensor: turbidity | fields: qc, lon, ts, reading\nTask: Fetch lat from temperature where reading is greater than the count of of value in turbidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006840", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, ts, lon, depth\n Sensor: cloud_cover | fields: ts, value, lat, lon\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=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006841", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, level, reading, unit\n Sensor: wind_speed | fields: unit, depth, ts, type\nTask: Get level from air_quality where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006842", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, ts, lat, lon\n Sensor: turbidity | fields: lon, depth, lat, type\nTask: Retrieve value 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=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006843", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: qc, level, depth, reading\n Sensor: soil_moisture | fields: qc, reading, ts, lon\nTask: Fetch level from humidity where depth 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=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006844", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: depth, lon, lat, level\n Sensor: snow_depth | fields: lat, depth, reading, type\nTask: Fetch level from uv_index where value is greater than the count of of value in snow_depth for matching unit.\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(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006845", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, level, type, unit\n Sensor: turbidity | fields: value, reading, unit, ts\nTask: Retrieve lat from soil_moisture with value above the COUNT(reading) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006846", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, ts, reading, qc\n Sensor: soil_moisture | fields: value, depth, unit, type\nTask: Get level from lightning where value exceeds the minimum value from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006847", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: value, qc, lon, lat\n Sensor: wind_speed | fields: value, ts, lon, depth\nTask: Fetch lat from soil_moisture where reading is greater than the average of depth in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006848", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: type, value, level, lat\n Sensor: turbidity | fields: qc, lon, value, level\nTask: Get reading from uv_index where value exceeds the average depth from turbidity for the same depth.\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(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "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_fixed_v1_val_006849", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, unit, lon, qc\n Sensor: cloud_cover | fields: lon, depth, type, reading\nTask: Retrieve lon from uv_index that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006850", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lat, ts, depth, qc\n Sensor: soil_moisture | fields: type, reading, lat, value\nTask: Fetch value 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=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006851", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, reading, level, unit\n Sensor: pressure | fields: value, qc, depth, lat\nTask: Fetch lat from lightning that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006852", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lat, reading, type, value\n Sensor: soil_moisture | fields: qc, depth, ts, reading\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=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006853", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: unit, qc, type, lon\n Sensor: uv_index | fields: ts, qc, lon, value\nTask: Fetch reading from rainfall where qc exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "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_fixed_v1_val_006854", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, lon, reading, type\n Sensor: cloud_cover | fields: lon, unit, qc, level\nTask: Retrieve level from uv_index that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006855", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: ts, type, lon, reading\n Sensor: rainfall | fields: unit, lat, depth, type\nTask: Fetch value from pressure where reading is greater than the count of of depth in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "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_fixed_v1_val_006856", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, level, type, depth\n Sensor: pressure | fields: type, lon, reading, unit\nTask: Fetch reading from uv_index where depth is greater than the average of depth in pressure for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006857", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, unit, depth, lat\n Sensor: sunlight | fields: ts, lon, level, depth\nTask: Retrieve lat from pressure with reading above the SUM(value) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006858", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: unit, lon, qc, ts\n Sensor: turbidity | fields: unit, depth, level, qc\nTask: Fetch value from sunlight that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006859", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, type, lat, ts\n Sensor: sunlight | fields: level, reading, ts, value\nTask: Retrieve depth from turbidity that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006860", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lon, unit, level, type\n Sensor: cloud_cover | fields: lon, type, level, value\nTask: Fetch level from uv_index where depth is greater than the total of value in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006861", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: level, depth, type, reading\n Sensor: humidity | fields: value, ts, lon, reading\nTask: Get depth from wind_speed where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006862", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, qc, value, unit\n Sensor: lightning | fields: qc, level, value, lon\nTask: Fetch lon from humidity that have at least one corresponding lightning measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006863", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, unit, reading, qc\n Sensor: snow_depth | fields: unit, lon, type, depth\nTask: Retrieve lon from evaporation that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006864", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, lat, type, lon\n Sensor: soil_moisture | fields: type, reading, ts, lat\nTask: Fetch lat from rainfall where depth exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006865", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, level, type, lat\n Sensor: frost | fields: lon, ts, value, level\nTask: Fetch lon from soil_moisture that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006866", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, value, depth, type\n Sensor: snow_depth | fields: qc, level, lat, reading\nTask: Fetch depth from sunlight where ts exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006867", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: ts, unit, lon, reading\n Sensor: temperature | fields: lon, level, value, ts\nTask: Fetch value 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=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006868", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: type, depth, unit, level\n Sensor: lightning | fields: value, reading, unit, lat\nTask: Fetch level from evaporation where value is greater than the minimum of reading in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006869", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: depth, unit, value, level\n Sensor: cloud_cover | fields: ts, lat, level, lon\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=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006870", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, lat, reading, type\n Sensor: air_quality | fields: depth, value, unit, lon\nTask: Retrieve lon 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=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006871", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, lon, type, reading\n Sensor: snow_depth | fields: ts, unit, value, reading\nTask: Fetch level from cloud_cover where depth is greater than the maximum of depth in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006872", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, level, depth, lat\n Sensor: lightning | fields: depth, lon, value, level\nTask: Fetch lon from frost where value is greater than the total of reading in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006873", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: qc, value, unit, ts\n Sensor: visibility | fields: qc, level, reading, lon\nTask: Get lat from sunlight where depth appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006874", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lon, qc, value, depth\n Sensor: turbidity | fields: qc, unit, lat, ts\nTask: Fetch value from lightning where reading is greater than the maximum of reading in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006875", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: level, unit, lat, qc\n Sensor: snow_depth | fields: lat, ts, lon, reading\nTask: Get level from pressure where reading exceeds the maximum depth from snow_depth for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006876", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, type, lon, value\n Sensor: wind_speed | fields: ts, lon, lat, depth\nTask: Retrieve value from soil_moisture whose ts is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006877", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: level, value, unit, depth\n Sensor: drought_index | fields: reading, lat, unit, lon\nTask: Get value from wind_speed where value exceeds the maximum depth from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\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": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006878", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: depth, unit, type, ts\n Sensor: humidity | fields: unit, value, type, level\nTask: Retrieve depth from cloud_cover whose unit is found in humidity records where ts 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(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006879", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: value, qc, type, lon\n Sensor: turbidity | fields: depth, ts, value, level\nTask: Fetch lon from sunlight where ts exists in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006880", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: qc, value, lat, type\n Sensor: lightning | fields: qc, unit, type, level\nTask: Retrieve depth from air_quality with value above the SUM(depth) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006881", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: reading, qc, value, unit\n Sensor: temperature | fields: reading, ts, value, lon\nTask: Get depth from evaporation where a corresponding entry exists in temperature with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006882", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: depth, ts, lon, value\n Sensor: air_quality | fields: qc, level, lat, depth\nTask: Fetch depth from lightning where value is greater than the minimum of depth in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006883", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, depth, reading, unit\n Sensor: frost | fields: unit, value, lat, type\nTask: Get lon from turbidity where value exceeds the average value from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006884", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, type, reading, lon\n Sensor: visibility | fields: qc, lon, value, ts\nTask: Fetch depth from turbidity where value is greater than the average of value in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "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_fixed_v1_val_006885", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, unit, lat, ts\n Sensor: frost | fields: ts, lon, value, level\nTask: Get value from cloud_cover where value exceeds the total value from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006886", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, value, qc, lat\n Sensor: frost | fields: lon, lat, level, ts\nTask: Retrieve reading from humidity with reading above the AVG(value) of frost readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006887", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, lat, type, unit\n Sensor: soil_moisture | fields: value, qc, ts, depth\nTask: Fetch level from temperature where value is greater than the total of reading in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "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_fixed_v1_val_006888", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, unit, level, ts\n Sensor: drought_index | fields: type, depth, lat, unit\nTask: Get level from temperature where value exceeds the count of depth from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006889", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: reading, type, qc, unit\n Sensor: dew_point | fields: value, lon, depth, type\nTask: Get value from cloud_cover where ts appears in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006890", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: unit, qc, lon, type\n Sensor: evaporation | fields: reading, type, ts, qc\nTask: Get lat from visibility where depth appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006891", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: unit, lon, value, lat\n Sensor: visibility | fields: qc, unit, depth, lat\nTask: Get depth from pressure where value exceeds the average depth from visibility for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006892", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: qc, lat, type, reading\n Sensor: uv_index | fields: type, reading, unit, ts\nTask: Fetch value from snow_depth that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006893", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lat, qc, depth, unit\n Sensor: visibility | fields: reading, ts, lat, lon\nTask: Fetch level from turbidity where type exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006894", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, lat, type, ts\n Sensor: snow_depth | fields: qc, ts, depth, type\nTask: Retrieve depth from rainfall whose depth is found in snow_depth records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006895", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lon, level, unit, lat\n Sensor: air_quality | fields: unit, reading, lat, type\nTask: Get value from turbidity where unit appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006896", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, level, reading, value\n Sensor: pressure | fields: depth, reading, lon, ts\nTask: Fetch depth from rainfall that have at least one corresponding pressure measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006897", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: reading, unit, lon, type\n Sensor: frost | fields: value, qc, unit, lon\nTask: Retrieve reading from wind_speed that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006898", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, depth, ts, value\n Sensor: wind_speed | fields: level, depth, lon, reading\nTask: Fetch depth from cloud_cover where ts exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006899", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: level, ts, qc, value\n Sensor: humidity | fields: reading, unit, level, qc\nTask: Fetch depth from pressure where depth exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006900", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: type, value, lon, depth\n Sensor: dew_point | fields: qc, value, depth, lon\nTask: Fetch value from snow_depth where qc exists in dew_point sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006901", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: depth, lat, reading, level\n Sensor: pressure | fields: qc, level, reading, lat\nTask: Get lat from lightning where qc appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "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_fixed_v1_val_006902", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: qc, value, lat, level\n Sensor: frost | fields: unit, depth, ts, value\nTask: Get reading 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=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006903", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: type, ts, qc, reading\n Sensor: frost | fields: depth, type, lat, ts\nTask: Retrieve lat from pressure whose type is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006904", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: type, lat, lon, ts\n Sensor: dew_point | fields: lat, depth, value, ts\nTask: Fetch reading from cloud_cover that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006905", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: reading, qc, unit, depth\n Sensor: wind_speed | fields: value, lon, qc, reading\nTask: Fetch depth 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=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006906", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: value, reading, qc, ts\n Sensor: lightning | fields: type, lon, ts, qc\nTask: Fetch lon from humidity that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006907", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, lon, type, reading\n Sensor: turbidity | fields: reading, level, lon, value\nTask: Retrieve level from soil_moisture whose unit is found in turbidity records where qc 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(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006908", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, type, level, lon\n Sensor: visibility | fields: unit, depth, type, lon\nTask: Fetch depth from pressure where qc exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "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_fixed_v1_val_006909", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: value, level, qc, lat\n Sensor: drought_index | fields: unit, value, reading, lon\nTask: Get lon from wind_speed where value exceeds the minimum depth from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006910", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, type, level, depth\n Sensor: lightning | fields: depth, value, qc, ts\nTask: Get depth from uv_index where reading exceeds the count of reading from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006911", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lon, lat, ts, unit\n Sensor: visibility | fields: lat, lon, reading, unit\nTask: Get lon from evaporation where type appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006912", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, level, unit, type\n Sensor: dew_point | fields: ts, unit, reading, type\nTask: Fetch depth from air_quality that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006913", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: type, level, depth, qc\n Sensor: visibility | fields: ts, level, depth, lon\nTask: Get depth from frost where depth exceeds the minimum reading from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006914", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, lat, reading, lon\n Sensor: uv_index | fields: reading, unit, ts, value\nTask: Fetch lon from snow_depth where unit exists in uv_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006915", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, value, type, level\n Sensor: visibility | fields: ts, type, qc, lon\nTask: Fetch lon from wind_speed where type 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=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006916", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: depth, unit, value, lon\n Sensor: frost | fields: lat, lon, depth, ts\nTask: Fetch lat from uv_index where reading is greater than the maximum of reading in frost for matching type.\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(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006917", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, type, value, level\n Sensor: turbidity | fields: type, ts, value, qc\nTask: Get level from sunlight where a corresponding entry exists in turbidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006918", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: reading, lat, qc, value\n Sensor: turbidity | fields: qc, depth, type, ts\nTask: Get lon from evaporation where type appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006919", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: lat, reading, unit, depth\n Sensor: frost | fields: value, ts, reading, depth\nTask: Get lon from air_quality where depth appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006920", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, unit, level, lon\n Sensor: sunlight | fields: lat, level, lon, qc\nTask: Get reading from wind_speed where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006921", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: ts, qc, level, lon\n Sensor: cloud_cover | fields: qc, lat, unit, level\nTask: Retrieve value from rainfall that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006922", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, level, type, depth\n Sensor: temperature | fields: ts, depth, level, lon\nTask: Get lon from uv_index where ts appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006923", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: ts, type, lat, lon\n Sensor: evaporation | fields: type, qc, depth, unit\nTask: Get level from air_quality where value exceeds the average reading from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006924", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, qc, unit, ts\n Sensor: snow_depth | fields: reading, depth, lon, level\nTask: Fetch value 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=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006925", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, depth, reading, unit\n Sensor: frost | fields: ts, reading, depth, level\nTask: Retrieve value from sunlight whose ts is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006926", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: reading, lat, lon, ts\n Sensor: turbidity | fields: depth, level, lat, unit\nTask: Fetch lon from cloud_cover where depth is greater than the minimum of value in turbidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006927", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: reading, type, qc, lat\n Sensor: sunlight | fields: level, lon, reading, type\nTask: Get lon from rainfall where depth exceeds the average value from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006928", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, unit, ts, lat\n Sensor: snow_depth | fields: type, lat, ts, unit\nTask: Get depth from pressure where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006929", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: qc, lon, value, type\n Sensor: turbidity | fields: reading, depth, unit, lat\nTask: Fetch lat 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=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006930", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lat, level, ts, depth\n Sensor: wind_speed | fields: reading, value, level, lat\nTask: Fetch depth from lightning that have at least one corresponding wind_speed measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\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": "thr", "inner_alias": "gst", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006931", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: unit, ts, qc, value\n Sensor: sunlight | fields: lon, qc, type, lat\nTask: Retrieve lat from wind_speed with reading above the SUM(depth) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006932", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: ts, type, qc, depth\n Sensor: lightning | fields: value, lat, type, qc\nTask: Get depth from frost where type appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006933", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, lat, value, depth\n Sensor: turbidity | fields: unit, reading, value, lon\nTask: Fetch reading 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=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006934", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, reading, unit, depth\n Sensor: pressure | fields: depth, level, qc, ts\nTask: Fetch lon from humidity where depth is greater than the average of reading in pressure for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006935", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, depth, value, ts\n Sensor: wind_speed | fields: qc, depth, level, type\nTask: Retrieve lat from evaporation whose depth is found in wind_speed records where ts 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=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006936", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, depth, ts, qc\n Sensor: humidity | fields: type, depth, reading, lat\nTask: Retrieve value from pressure that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006937", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: level, lat, depth, reading\n Sensor: visibility | fields: unit, qc, value, lon\nTask: Retrieve value from uv_index with depth above the COUNT(depth) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006938", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: type, lon, value, ts\n Sensor: turbidity | fields: ts, qc, depth, type\nTask: Fetch level from lightning where depth exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006939", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: depth, ts, type, lon\n Sensor: air_quality | fields: type, reading, lat, depth\nTask: Fetch reading from turbidity where reading is greater than the minimum of value in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006940", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, type, value, ts\n Sensor: air_quality | fields: reading, value, lon, depth\nTask: Fetch value from cloud_cover where value is greater than the minimum of reading in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006941", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: reading, value, ts, depth\n Sensor: wind_speed | fields: level, ts, lon, type\nTask: Fetch level 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=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006942", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: reading, lat, level, value\n Sensor: snow_depth | fields: type, lat, value, unit\nTask: Retrieve lon from humidity whose depth is found in snow_depth records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006943", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lon, unit, ts, value\n Sensor: uv_index | fields: lon, qc, lat, depth\nTask: Retrieve lon from drought_index with reading above the AVG(reading) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006944", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: reading, lon, unit, type\n Sensor: turbidity | fields: type, depth, unit, lon\nTask: Fetch value from snow_depth where ts exists in turbidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", 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": "snow_depth", "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_fixed_v1_val_006945", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, level, depth, ts\n Sensor: air_quality | fields: unit, lat, type, level\nTask: Get depth from rainfall where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006946", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: value, reading, ts, lon\n Sensor: sunlight | fields: lat, ts, reading, value\nTask: Get value from lightning where depth appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006947", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: value, depth, lon, qc\n Sensor: pressure | fields: qc, lon, depth, ts\nTask: Get level from soil_moisture where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006948", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, reading, value, unit\n Sensor: visibility | fields: value, depth, unit, lon\nTask: Get level from snow_depth where value exceeds the minimum reading from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006949", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, qc, lon, reading\n Sensor: soil_moisture | fields: value, ts, qc, reading\nTask: Retrieve value from uv_index with depth above the COUNT(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006950", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, unit, ts, reading\n Sensor: soil_moisture | fields: level, reading, ts, lon\nTask: Retrieve reading from air_quality with depth above the MAX(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006951", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: ts, depth, type, lat\n Sensor: sunlight | fields: ts, qc, unit, type\nTask: Retrieve level from humidity with reading above the AVG(depth) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006952", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: depth, unit, reading, ts\n Sensor: snow_depth | fields: reading, lon, lat, ts\nTask: Fetch lat from frost that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006953", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lon, lat, qc, level\n Sensor: turbidity | fields: depth, reading, qc, lat\nTask: Get level from cloud_cover where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006954", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: ts, lon, unit, value\n Sensor: soil_moisture | fields: ts, value, qc, lat\nTask: Get depth from sunlight where type appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006955", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, level, value, depth\n Sensor: air_quality | fields: qc, lat, value, type\nTask: Retrieve lat from pressure with depth above the COUNT(depth) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006956", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lat, value, level, reading\n Sensor: sunlight | fields: lon, qc, ts, value\nTask: Retrieve lat from snow_depth with value above the COUNT(depth) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006957", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, unit, lon, value\n Sensor: uv_index | fields: level, value, unit, ts\nTask: Retrieve lat from pressure whose type is found in uv_index 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(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006958", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: unit, level, type, qc\n Sensor: cloud_cover | fields: qc, level, type, lat\nTask: Get depth from snow_depth where reading exceeds the average reading from cloud_cover for the same unit.\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(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006959", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lat, depth, qc, unit\n Sensor: dew_point | fields: type, unit, qc, lon\nTask: Retrieve level from humidity with depth above the MIN(depth) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006960", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, value, type, reading\n Sensor: turbidity | fields: qc, reading, lat, level\nTask: Get depth from temperature where a corresponding entry exists in turbidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006961", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: depth, ts, value, reading\n Sensor: uv_index | fields: depth, lat, lon, ts\nTask: Retrieve depth from rainfall with value above the MIN(value) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006962", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lon, ts, type, reading\n Sensor: frost | fields: lon, reading, depth, unit\nTask: Retrieve reading from wind_speed that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006963", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, qc, ts, lat\n Sensor: snow_depth | fields: ts, lon, reading, value\nTask: Fetch level from rainfall where unit exists in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006964", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, reading, depth, lat\n Sensor: snow_depth | fields: unit, reading, type, lat\nTask: Fetch value from humidity where value is greater than the average of reading in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006965", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: ts, lon, value, type\n Sensor: uv_index | fields: level, unit, type, ts\nTask: Retrieve lon from rainfall whose depth is found in uv_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006966", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, value, lat, qc\n Sensor: pressure | fields: type, level, qc, reading\nTask: Get value from frost where value exceeds the total depth from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", 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=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006967", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, qc, value, reading\n Sensor: soil_moisture | fields: lat, ts, unit, depth\nTask: Retrieve lon from drought_index with depth above the SUM(value) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006968", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, level, depth, reading\n Sensor: turbidity | fields: value, reading, level, ts\nTask: Fetch depth from dew_point where qc exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "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_fixed_v1_val_006969", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, depth, unit, qc\n Sensor: visibility | fields: qc, depth, ts, lon\nTask: Get depth from soil_moisture where value exceeds the total reading from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006970", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: level, lat, type, ts\n Sensor: humidity | fields: unit, type, value, qc\nTask: Fetch value 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=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006971", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lat, value, level, ts\n Sensor: soil_moisture | fields: lat, lon, unit, ts\nTask: Fetch lat from drought_index that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006972", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, reading, level, value\n Sensor: sunlight | fields: value, type, unit, qc\nTask: Retrieve reading from turbidity whose type is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006973", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, ts, reading, depth\n Sensor: rainfall | fields: lon, reading, value, unit\nTask: Get level from cloud_cover where unit appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006974", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: unit, depth, reading, lon\n Sensor: cloud_cover | fields: unit, depth, lat, value\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=\"hub\"),\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": "hub", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006975", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lon, reading, depth, qc\n Sensor: rainfall | fields: reading, depth, level, lon\nTask: Get level from humidity where unit appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006976", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: unit, reading, lon, depth\n Sensor: frost | fields: level, reading, value, lon\nTask: Retrieve lat from dew_point with value above the MIN(reading) of frost readings sharing the same depth.\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(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006977", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, level, ts, lat\n Sensor: pressure | fields: level, ts, lon, value\nTask: Get level from dew_point where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006978", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, qc, level, ts\n Sensor: snow_depth | fields: unit, value, type, reading\nTask: Fetch level from temperature where reading is greater than the total of depth 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(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006979", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: value, lon, reading, qc\n Sensor: cloud_cover | fields: depth, reading, level, lat\nTask: Get lon from dew_point where depth exceeds the count of reading from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006980", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, reading, level, lon\n Sensor: cloud_cover | fields: value, depth, lat, ts\nTask: Get value from air_quality where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006981", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, qc, reading, unit\n Sensor: air_quality | fields: level, lon, reading, qc\nTask: Retrieve lon from sunlight whose depth is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006982", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: depth, value, qc, ts\n Sensor: snow_depth | fields: depth, qc, lon, level\nTask: Retrieve lat from pressure with reading above the COUNT(reading) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006983", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: unit, level, value, lon\n Sensor: cloud_cover | fields: level, qc, reading, type\nTask: Retrieve value from visibility whose ts is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006984", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, lon, type, unit\n Sensor: sunlight | fields: unit, level, value, type\nTask: Get depth from rainfall where reading exceeds the minimum depth from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "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_fixed_v1_val_006985", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: depth, qc, value, unit\n Sensor: lightning | fields: value, unit, depth, qc\nTask: Retrieve level from cloud_cover that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006986", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: unit, type, level, lon\n Sensor: air_quality | fields: value, depth, qc, type\nTask: Get level from uv_index where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006987", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: value, lon, unit, ts\n Sensor: wind_speed | fields: depth, qc, ts, value\nTask: Get level from frost where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006988", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, unit, reading, qc\n Sensor: uv_index | fields: depth, qc, value, unit\nTask: Get lon from snow_depth where qc appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006989", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lon, lat, ts, unit\n Sensor: soil_moisture | fields: lon, type, value, lat\nTask: Fetch reading from drought_index that have at least one corresponding soil_moisture measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006990", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, lat, lon, depth\n Sensor: evaporation | fields: lat, value, depth, lon\nTask: Fetch depth from air_quality where reading is greater than the count of of reading in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006991", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: value, depth, level, reading\n Sensor: soil_moisture | fields: unit, value, depth, level\nTask: Fetch level from lightning where type exists in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006992", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: value, qc, unit, lat\n Sensor: rainfall | fields: level, lon, type, value\nTask: Retrieve depth from evaporation that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006993", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lon, unit, qc, lat\n Sensor: evaporation | fields: depth, reading, ts, unit\nTask: Fetch reading from snow_depth that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006994", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: reading, value, lat, qc\n Sensor: temperature | fields: value, lon, ts, unit\nTask: Retrieve level from wind_speed with reading above the SUM(depth) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006995", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: unit, value, reading, ts\n Sensor: sunlight | fields: lat, type, ts, value\nTask: Get lon from pressure where value exceeds the average depth from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006996", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: ts, lon, value, reading\n Sensor: drought_index | fields: level, qc, lat, reading\nTask: Retrieve lat from soil_moisture that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_006997", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: type, depth, level, reading\n Sensor: visibility | fields: depth, ts, lon, reading\nTask: Retrieve reading from rainfall whose ts is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_006998", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lat, ts, level, type\n Sensor: uv_index | fields: lon, depth, level, type\nTask: Fetch level from pressure that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_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_fixed_v1_val_006999", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, value, unit, ts\n Sensor: soil_moisture | fields: unit, reading, depth, type\nTask: Fetch lat from frost that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007000", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, lat, depth, qc\n Sensor: soil_moisture | fields: value, qc, lon, level\nTask: Retrieve lat from drought_index with reading above the AVG(reading) of soil_moisture 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(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007001", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lat, value, depth, lon\n Sensor: turbidity | fields: reading, type, lat, lon\nTask: Fetch depth from sunlight that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007002", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, reading, qc, lat\n Sensor: uv_index | fields: unit, value, reading, type\nTask: Get lat from frost where value exceeds the maximum reading from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007003", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, unit, depth, type\n Sensor: lightning | fields: qc, lon, reading, unit\nTask: Get depth 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=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007004", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, lat, type, value\n Sensor: snow_depth | fields: reading, type, qc, lon\nTask: Fetch lon from cloud_cover where ts exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007005", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: qc, unit, value, lat\n Sensor: visibility | fields: level, ts, reading, depth\nTask: Get value from lightning where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007006", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, ts, level, value\n Sensor: turbidity | fields: reading, depth, value, lat\nTask: Fetch lat from air_quality where value is greater than the total of depth in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007007", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: unit, lat, type, ts\n Sensor: sunlight | fields: level, value, reading, lat\nTask: Fetch depth from turbidity where reading is greater than the total of value in sunlight for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007008", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: type, qc, unit, ts\n Sensor: uv_index | fields: level, reading, ts, value\nTask: Get level from cloud_cover where reading exceeds the average depth from uv_index for the same type.\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(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007009", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lat, unit, level, lon\n Sensor: uv_index | fields: lat, ts, value, type\nTask: Get level from drought_index where reading exceeds the total depth from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007010", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lon, qc, depth, unit\n Sensor: sunlight | fields: qc, lat, type, depth\nTask: Retrieve level from drought_index that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007011", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: unit, qc, lat, ts\n Sensor: humidity | fields: type, level, qc, depth\nTask: Retrieve lon from pressure whose ts is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "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_fixed_v1_val_007012", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, value, unit, ts\n Sensor: snow_depth | fields: lat, lon, unit, level\nTask: Fetch reading from wind_speed where qc exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007013", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: qc, lat, ts, lon\n Sensor: temperature | fields: value, level, lon, type\nTask: Retrieve depth from dew_point with value above the MAX(reading) of temperature readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007014", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, lon, unit, lat\n Sensor: air_quality | fields: reading, ts, lon, level\nTask: Retrieve lat from dew_point whose depth is found in air_quality records where type 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(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007015", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: depth, ts, type, qc\n Sensor: cloud_cover | fields: ts, level, lat, reading\nTask: Get reading from drought_index where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007016", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, depth, lat, level\n Sensor: air_quality | fields: depth, lat, unit, type\nTask: Retrieve lon from wind_speed whose unit is found in air_quality records where unit 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(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007017", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: reading, ts, unit, lon\n Sensor: soil_moisture | fields: level, type, lat, reading\nTask: Retrieve lon from rainfall that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007018", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lon, lat, reading, qc\n Sensor: rainfall | fields: type, lat, qc, value\nTask: Retrieve value from wind_speed with reading above the COUNT(depth) of rainfall readings sharing the same ts.\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(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007019", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: level, qc, ts, value\n Sensor: temperature | fields: lat, type, qc, ts\nTask: Get value from visibility where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007020", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, depth, ts, lon\n Sensor: dew_point | fields: value, unit, lon, qc\nTask: Get level from sunlight where depth appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007021", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, depth, type, reading\n Sensor: uv_index | fields: value, qc, level, reading\nTask: Get level 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=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007022", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lat, depth, level, ts\n Sensor: visibility | fields: lon, value, level, reading\nTask: Retrieve depth from drought_index with value above the MAX(value) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007023", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: value, reading, qc, type\n Sensor: drought_index | fields: qc, ts, value, unit\nTask: Get lat from wind_speed where reading exceeds the total depth from drought_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "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_fixed_v1_val_007024", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lon, reading, value, type\n Sensor: visibility | fields: type, lon, ts, qc\nTask: Fetch depth from pressure where value is greater than the minimum of reading in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007025", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, unit, lat, reading\n Sensor: dew_point | fields: lat, ts, depth, value\nTask: Fetch reading from pressure that have at least one corresponding dew_point measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007026", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: level, reading, depth, value\n Sensor: dew_point | fields: type, level, reading, qc\nTask: Retrieve depth from rainfall whose type is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007027", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: depth, type, lon, qc\n Sensor: air_quality | fields: ts, lon, reading, depth\nTask: Get lat from visibility where unit appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007028", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lat, value, reading, unit\n Sensor: temperature | fields: depth, ts, value, qc\nTask: Get lon from sunlight where a corresponding entry exists in temperature with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007029", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: reading, value, lon, depth\n Sensor: humidity | fields: level, value, unit, depth\nTask: Retrieve lat from uv_index with value above the MIN(reading) of humidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007030", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lon, lat, value, type\n Sensor: snow_depth | fields: value, qc, unit, ts\nTask: Retrieve level 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=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007031", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: value, type, unit, ts\n Sensor: turbidity | fields: ts, level, unit, depth\nTask: Fetch lon from frost that have at least one corresponding turbidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007032", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, type, reading, depth\n Sensor: rainfall | fields: lon, type, ts, reading\nTask: Fetch value from lightning that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "value", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007033", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, ts, reading, type\n Sensor: lightning | fields: type, depth, unit, level\nTask: Fetch value from air_quality where reading is greater than the average of reading in lightning for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007034", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, reading, lat, unit\n Sensor: turbidity | fields: type, value, depth, lon\nTask: Retrieve reading from rainfall with depth above the MIN(depth) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007035", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, lon, ts, value\n Sensor: drought_index | fields: unit, type, depth, value\nTask: Get lon from air_quality where value exceeds the count of depth from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007036", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lon, type, reading, lat\n Sensor: lightning | fields: reading, ts, value, depth\nTask: Fetch depth from wind_speed where depth is greater than the average of depth in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007037", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: depth, level, type, ts\n Sensor: temperature | fields: depth, lat, reading, ts\nTask: Fetch value from soil_moisture where depth exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007038", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, unit, depth, reading\n Sensor: humidity | fields: depth, lat, reading, level\nTask: Retrieve lat from air_quality that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007039", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lat, ts, qc, level\n Sensor: soil_moisture | fields: reading, qc, ts, unit\nTask: Fetch value from temperature that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "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_fixed_v1_val_007040", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: ts, lon, unit, level\n Sensor: pressure | fields: unit, type, value, lat\nTask: Fetch lat from soil_moisture where type exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007041", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, depth, value, level\n Sensor: turbidity | fields: lat, ts, level, reading\nTask: Retrieve lat from rainfall that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007042", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: depth, value, lat, level\n Sensor: sunlight | fields: ts, reading, level, unit\nTask: Get lon from dew_point where ts appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007043", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: depth, unit, lat, level\n Sensor: air_quality | fields: value, lon, unit, ts\nTask: Retrieve lat from sunlight with value above the MIN(reading) of air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007044", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: type, unit, ts, depth\n Sensor: rainfall | fields: lon, unit, level, ts\nTask: Fetch reading from soil_moisture where depth is greater than the maximum of value in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007045", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, lon, unit, lat\n Sensor: evaporation | fields: level, unit, lon, value\nTask: Get lon from soil_moisture where type appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007046", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: value, reading, level, depth\n Sensor: visibility | fields: ts, type, unit, value\nTask: Get depth from sunlight where value exceeds the maximum value from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007047", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: value, type, lat, reading\n Sensor: uv_index | fields: lon, reading, value, level\nTask: Get lat from drought_index where value exceeds the count of depth from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007048", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lat, type, lon, qc\n Sensor: uv_index | fields: lat, depth, value, type\nTask: Get depth from pressure where value exceeds the total depth from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007049", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: unit, ts, level, type\n Sensor: air_quality | fields: ts, lat, level, unit\nTask: Get lat from soil_moisture where unit appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007050", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: type, reading, ts, qc\n Sensor: frost | fields: reading, value, depth, qc\nTask: Retrieve reading from wind_speed with depth above the MAX(value) 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(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007051", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: qc, lat, reading, type\n Sensor: turbidity | fields: lat, type, depth, ts\nTask: Get reading from soil_moisture where a corresponding entry exists in turbidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007052", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, level, value, lat\n Sensor: visibility | fields: value, qc, reading, lon\nTask: Retrieve lon from evaporation that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007053", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: ts, reading, unit, value\n Sensor: evaporation | fields: type, unit, lat, qc\nTask: Retrieve reading from visibility that have at least one matching reading in evaporation sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007054", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, type, depth, value\n Sensor: air_quality | fields: lon, qc, depth, reading\nTask: Retrieve reading from snow_depth that have at least one matching reading in air_quality sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007055", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, qc, lat, value\n Sensor: drought_index | fields: lon, reading, value, ts\nTask: Fetch level from uv_index that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007056", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lon, qc, depth, level\n Sensor: turbidity | fields: depth, type, ts, lon\nTask: Retrieve level from evaporation whose depth is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007057", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: type, lat, depth, qc\n Sensor: cloud_cover | fields: type, lat, reading, depth\nTask: Get lat from snow_depth where reading exceeds the total value from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007058", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: type, qc, ts, reading\n Sensor: temperature | fields: type, unit, lon, value\nTask: Retrieve value from air_quality with value above the MIN(reading) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007059", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lat, lon, ts, depth\n Sensor: humidity | fields: lat, type, reading, ts\nTask: Retrieve value 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=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007060", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lon, unit, depth, ts\n Sensor: snow_depth | fields: lon, depth, qc, reading\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=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007061", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: qc, level, lat, value\n Sensor: frost | fields: qc, unit, lon, ts\nTask: Get level from pressure where qc appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007062", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: level, reading, lon, type\n Sensor: pressure | fields: value, reading, unit, lat\nTask: Get lon from rainfall where ts appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007063", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: depth, lat, type, ts\n Sensor: visibility | fields: lon, type, unit, depth\nTask: Get depth from cloud_cover where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007064", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, depth, lon, unit\n Sensor: turbidity | fields: ts, level, value, lon\nTask: Get lon from dew_point where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007065", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, depth, value, lon\n Sensor: evaporation | fields: lon, ts, value, reading\nTask: Retrieve depth from sunlight whose qc is found in evaporation records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007066", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: ts, unit, qc, depth\n Sensor: evaporation | fields: lon, type, lat, unit\nTask: Get value from sunlight where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007067", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: unit, qc, level, reading\n Sensor: evaporation | fields: value, qc, reading, type\nTask: Get level 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=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007068", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: depth, lat, type, reading\n Sensor: evaporation | fields: lat, depth, reading, unit\nTask: Get level from soil_moisture where qc appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007069", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: type, qc, depth, lon\n Sensor: soil_moisture | fields: ts, unit, depth, level\nTask: Retrieve reading 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=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007070", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: reading, qc, lat, ts\n Sensor: visibility | fields: type, qc, unit, lat\nTask: Fetch reading from sunlight where reading is greater than the count of of reading in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007071", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: reading, value, depth, type\n Sensor: uv_index | fields: ts, type, lon, reading\nTask: Fetch depth from snow_depth where qc exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007072", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, depth, lon, value\n Sensor: sunlight | fields: ts, lon, value, qc\nTask: Get depth from cloud_cover where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007073", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: reading, ts, lon, type\n Sensor: wind_speed | fields: depth, ts, type, lon\nTask: Retrieve lat from visibility with reading above the SUM(depth) of wind_speed readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007074", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: reading, type, level, qc\n Sensor: wind_speed | fields: level, value, qc, type\nTask: Retrieve lon from lightning with value above the MAX(depth) of wind_speed readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007075", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: ts, unit, lat, reading\n Sensor: rainfall | fields: level, lat, type, ts\nTask: Fetch level from soil_moisture where depth is greater than the maximum of depth in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007076", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: ts, value, reading, lat\n Sensor: sunlight | fields: depth, lat, value, level\nTask: Get depth from air_quality where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007077", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, value, qc, level\n Sensor: wind_speed | fields: unit, value, qc, lon\nTask: Fetch value 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=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007078", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, level, lon, depth\n Sensor: turbidity | fields: level, value, qc, type\nTask: Retrieve lon from pressure that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007079", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: unit, ts, value, reading\n Sensor: air_quality | fields: type, reading, lon, unit\nTask: Get lat from temperature where qc appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007080", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: unit, lat, depth, value\n Sensor: temperature | fields: ts, lat, level, depth\nTask: Retrieve lat from air_quality whose type is found in temperature records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007081", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, level, lon, type\n Sensor: turbidity | fields: lat, ts, qc, unit\nTask: Get level from snow_depth where a corresponding entry exists in turbidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007082", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: value, qc, lon, unit\n Sensor: evaporation | fields: level, qc, unit, lat\nTask: Retrieve lon 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=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007083", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: depth, level, unit, type\n Sensor: rainfall | fields: type, reading, lat, level\nTask: Fetch lat from sunlight where ts exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007084", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lat, ts, value, depth\n Sensor: sunlight | fields: ts, unit, reading, lon\nTask: Get reading from temperature where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007085", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: reading, ts, qc, value\n Sensor: frost | fields: value, level, lat, reading\nTask: Fetch level from cloud_cover where value is greater than the count of of depth in frost for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007086", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: value, depth, qc, reading\n Sensor: cloud_cover | fields: lon, reading, lat, qc\nTask: Get level from wind_speed where depth appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007087", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: ts, qc, depth, unit\n Sensor: frost | fields: reading, value, qc, unit\nTask: Retrieve depth from wind_speed whose ts is found in frost records where depth 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(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007088", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, depth, level, lat\n Sensor: turbidity | fields: unit, depth, reading, lat\nTask: Retrieve depth from dew_point whose unit is found in turbidity records where ts 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(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007089", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, lon, level, unit\n Sensor: soil_moisture | fields: lon, qc, value, reading\nTask: Fetch depth from cloud_cover where unit exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007090", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: unit, lat, depth, value\n Sensor: sunlight | fields: value, reading, level, ts\nTask: Get reading 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=\"brt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007091", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: qc, lon, unit, lat\n Sensor: rainfall | fields: type, value, depth, reading\nTask: Retrieve value from lightning that have at least one matching reading in rainfall sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007092", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: unit, ts, lon, level\n Sensor: cloud_cover | fields: depth, unit, lon, level\nTask: Get reading from dew_point where a corresponding entry exists in cloud_cover with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007093", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: level, type, value, lon\n Sensor: cloud_cover | fields: ts, value, lat, depth\nTask: Get lon from evaporation where type appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007094", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, depth, value, qc\n Sensor: humidity | fields: depth, qc, lon, value\nTask: Get lon from soil_moisture where unit appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007095", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: ts, level, lat, unit\n Sensor: snow_depth | fields: level, type, lon, depth\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=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007096", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: depth, unit, value, lon\n Sensor: evaporation | fields: level, type, lon, unit\nTask: Retrieve value from turbidity that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007097", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, depth, level, value\n Sensor: cloud_cover | fields: unit, type, lon, level\nTask: Get lon from lightning where ts appears in cloud_cover readings with matching type.\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=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007098", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: reading, lon, type, depth\n Sensor: air_quality | fields: ts, qc, reading, level\nTask: Retrieve depth 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=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007099", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lon, unit, qc, value\n Sensor: visibility | fields: unit, lon, depth, value\nTask: Fetch level from air_quality where unit exists in visibility sensor data for the same depth.\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=\"depth\",\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": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007100", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, lat, unit, value\n Sensor: air_quality | fields: type, reading, qc, unit\nTask: Get level from pressure where unit appears in air_quality readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007101", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, unit, type, reading\n Sensor: rainfall | fields: level, ts, lon, qc\nTask: Retrieve value from humidity with reading above the MIN(depth) of rainfall 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\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007102", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: type, reading, lat, ts\n Sensor: snow_depth | fields: lon, qc, ts, type\nTask: Retrieve depth from soil_moisture whose type is found in snow_depth records where type 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(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "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_fixed_v1_val_007103", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: reading, unit, lat, type\n Sensor: uv_index | fields: lat, reading, ts, depth\nTask: Get level from pressure where value exceeds the count of reading from uv_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007104", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: level, type, unit, reading\n Sensor: snow_depth | fields: lat, level, unit, value\nTask: Get lon from frost where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007105", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: value, lat, unit, type\n Sensor: air_quality | fields: lat, qc, lon, type\nTask: Fetch depth from frost where value is greater than the count of of depth in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007106", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, reading, level, unit\n Sensor: pressure | fields: reading, type, depth, qc\nTask: Fetch value 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=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007107", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, reading, depth, unit\n Sensor: frost | fields: level, type, reading, lon\nTask: Get level from soil_moisture where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007108", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: level, value, lat, ts\n Sensor: dew_point | fields: reading, ts, level, lon\nTask: Get level from humidity where value exceeds the maximum value from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "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_fixed_v1_val_007109", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: ts, type, depth, qc\n Sensor: drought_index | fields: depth, lat, reading, ts\nTask: Fetch lat from rainfall that have at least one corresponding drought_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007110", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, unit, level, lat\n Sensor: temperature | fields: qc, type, lon, level\nTask: Get value from turbidity where reading exceeds the maximum value from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007111", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lat, level, value, ts\n Sensor: wind_speed | fields: value, depth, type, lon\nTask: Get level from humidity where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007112", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, qc, unit, depth\n Sensor: frost | fields: level, reading, unit, ts\nTask: Fetch lat from turbidity where reading is greater than the minimum of value in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007113", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, lat, level, type\n Sensor: turbidity | fields: level, lat, unit, reading\nTask: Fetch value from lightning that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007114", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, lat, lon, level\n Sensor: air_quality | fields: ts, value, lon, unit\nTask: Fetch depth from rainfall where reading is greater than the minimum of depth in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007115", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: qc, unit, reading, depth\n Sensor: sunlight | fields: reading, level, type, value\nTask: Retrieve reading from rainfall whose qc is found in sunlight records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007116", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: value, lat, type, qc\n Sensor: soil_moisture | fields: reading, depth, qc, lat\nTask: Get lat from dew_point where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007117", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: depth, reading, lat, value\n Sensor: rainfall | fields: reading, value, depth, level\nTask: Get value from drought_index where value exceeds the maximum reading from rainfall for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007118", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: depth, ts, lon, reading\n Sensor: dew_point | fields: lat, reading, level, type\nTask: Get level from sunlight where type appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007119", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, ts, qc, reading\n Sensor: air_quality | fields: depth, lat, unit, type\nTask: Get level from pressure where depth appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007120", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, depth, unit, lat\n Sensor: turbidity | fields: depth, ts, lon, level\nTask: Retrieve value from wind_speed that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007121", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, unit, depth, ts\n Sensor: air_quality | fields: lon, reading, type, depth\nTask: Retrieve level from pressure whose depth is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007122", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: value, ts, reading, lat\n Sensor: turbidity | fields: lon, value, level, ts\nTask: Retrieve lon 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=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007123", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: value, level, depth, unit\n Sensor: humidity | fields: qc, type, lon, value\nTask: Retrieve lon from visibility that have at least one matching reading in humidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007124", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: ts, reading, lon, depth\n Sensor: frost | fields: type, lat, depth, level\nTask: Retrieve reading from snow_depth that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007125", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: depth, ts, value, level\n Sensor: dew_point | fields: qc, reading, value, lon\nTask: Get lat from evaporation where ts appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\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": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007126", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: ts, depth, type, unit\n Sensor: uv_index | fields: type, qc, ts, unit\nTask: Retrieve value from frost whose type is found in uv_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007127", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: value, unit, qc, depth\n Sensor: wind_speed | fields: lat, ts, reading, lon\nTask: Fetch reading from temperature where depth is greater than the average of reading in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007128", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: value, level, qc, type\n Sensor: humidity | fields: value, ts, depth, type\nTask: Fetch reading from lightning where ts exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007129", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, type, lon, qc\n Sensor: air_quality | fields: lat, value, unit, type\nTask: Fetch lon from cloud_cover where reading is greater than the maximum of reading in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007130", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: depth, ts, lat, value\n Sensor: dew_point | fields: type, lon, ts, reading\nTask: Get lon from lightning where ts appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007131", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: qc, level, depth, lat\n Sensor: pressure | fields: lat, reading, level, type\nTask: Retrieve level 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=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007132", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: depth, ts, reading, type\n Sensor: lightning | fields: unit, ts, lat, type\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=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007133", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: value, ts, depth, type\n Sensor: cloud_cover | fields: lat, level, lon, value\nTask: Fetch lat from sunlight that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007134", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: value, unit, qc, depth\n Sensor: cloud_cover | fields: type, lat, lon, value\nTask: Get depth from snow_depth where qc appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007135", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, ts, lat, type\n Sensor: dew_point | fields: unit, level, lon, value\nTask: Retrieve reading from rainfall whose ts is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007136", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lat, lon, ts, depth\n Sensor: humidity | fields: lat, ts, value, reading\nTask: Get value from evaporation where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007137", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: unit, value, reading, depth\n Sensor: evaporation | fields: level, value, unit, depth\nTask: Get depth from turbidity where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007138", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, qc, reading, type\n Sensor: pressure | fields: lat, type, ts, unit\nTask: Retrieve lon from turbidity with value above the SUM(reading) of pressure 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\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007139", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lon, reading, type, depth\n Sensor: cloud_cover | fields: type, qc, lat, depth\nTask: Retrieve lon from evaporation whose qc is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007140", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lon, type, lat, unit\n Sensor: humidity | fields: qc, reading, type, unit\nTask: Retrieve lon from uv_index whose unit is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007141", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: type, qc, reading, lat\n Sensor: pressure | fields: depth, qc, type, unit\nTask: Fetch lon from turbidity that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007142", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: reading, value, level, unit\n Sensor: uv_index | fields: lat, depth, reading, qc\nTask: Get level from sunlight where depth appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007143", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lat, type, level, ts\n Sensor: rainfall | fields: value, lon, unit, qc\nTask: Retrieve depth from dew_point whose unit is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007144", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: level, lon, ts, qc\n Sensor: evaporation | fields: type, ts, qc, depth\nTask: Get value from visibility where depth exceeds the average value from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007145", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: ts, type, level, reading\n Sensor: uv_index | fields: reading, type, qc, level\nTask: Get value from soil_moisture where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007146", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: reading, depth, unit, type\n Sensor: air_quality | fields: reading, unit, value, type\nTask: Retrieve value from sunlight whose ts is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007147", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, depth, type, reading\n Sensor: visibility | fields: lat, level, lon, type\nTask: Retrieve value from drought_index that have at least one matching reading in visibility sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007148", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: reading, type, lon, lat\n Sensor: rainfall | fields: type, value, lon, unit\nTask: Retrieve depth 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=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007149", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: depth, qc, ts, type\n Sensor: humidity | fields: qc, lon, depth, reading\nTask: Retrieve level from uv_index with depth above the COUNT(depth) of humidity 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(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007150", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: ts, reading, type, unit\n Sensor: air_quality | fields: depth, level, type, reading\nTask: Get lat 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=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007151", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, depth, value, qc\n Sensor: evaporation | fields: level, lat, depth, unit\nTask: Fetch level from turbidity where type exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007152", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lon, ts, level, type\n Sensor: uv_index | fields: reading, lon, type, unit\nTask: Fetch depth from lightning that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007153", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: unit, ts, level, lon\n Sensor: uv_index | fields: unit, depth, qc, level\nTask: Retrieve depth from drought_index that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007154", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: type, lon, qc, unit\n Sensor: uv_index | fields: level, depth, type, unit\nTask: Fetch value from frost that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007155", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, lon, ts, level\n Sensor: sunlight | fields: lat, type, reading, qc\nTask: Fetch lat from snow_depth where depth is greater than the count of of depth in sunlight for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007156", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, qc, level, lat\n Sensor: sunlight | fields: reading, value, lat, level\nTask: Fetch lat from lightning where ts exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007157", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: type, reading, depth, unit\n Sensor: cloud_cover | fields: ts, qc, type, reading\nTask: Retrieve lon from air_quality with reading above the AVG(value) of cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007158", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: depth, lat, value, type\n Sensor: sunlight | fields: qc, lon, value, level\nTask: Get value from drought_index where reading exceeds the average reading from sunlight for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007159", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, lon, ts, reading\n Sensor: drought_index | fields: depth, reading, type, qc\nTask: Get level from humidity where depth exceeds the total reading from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007160", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: value, ts, lat, unit\n Sensor: rainfall | fields: type, depth, ts, lon\nTask: Retrieve reading from soil_moisture whose depth is found in rainfall records where qc 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(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007161", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, depth, type, unit\n Sensor: uv_index | fields: value, unit, type, qc\nTask: Get value from soil_moisture where depth appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007162", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: ts, reading, lat, type\n Sensor: temperature | fields: depth, ts, type, unit\nTask: Retrieve reading from visibility that have at least one matching reading in temperature sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007163", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: depth, lat, ts, value\n Sensor: cloud_cover | fields: type, lon, value, level\nTask: Get level from visibility where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007164", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, qc, unit, value\n Sensor: visibility | fields: reading, ts, level, depth\nTask: Retrieve value from pressure with value above the MAX(reading) of visibility readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "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_fixed_v1_val_007165", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: unit, ts, reading, qc\n Sensor: frost | fields: unit, qc, depth, ts\nTask: Fetch depth from humidity where reading is greater than the total of depth in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007166", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, depth, lat, lon\n Sensor: rainfall | fields: level, type, unit, qc\nTask: Get value from wind_speed where value exceeds the maximum reading from rainfall for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007167", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, lon, reading, value\n Sensor: visibility | fields: ts, reading, qc, level\nTask: Retrieve reading from drought_index whose unit is found in visibility records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007168", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: value, level, depth, lon\n Sensor: snow_depth | fields: value, level, unit, lat\nTask: Retrieve depth from rainfall with value above the AVG(depth) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007169", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, ts, lon, qc\n Sensor: dew_point | fields: unit, reading, lon, ts\nTask: Get depth from turbidity where ts appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007170", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: level, depth, lon, value\n Sensor: cloud_cover | fields: lat, reading, ts, qc\nTask: Fetch level 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=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007171", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: value, ts, reading, lat\n Sensor: frost | fields: type, unit, reading, qc\nTask: Retrieve reading from soil_moisture with value above the MIN(depth) of frost readings sharing the same ts.\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(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007172", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: unit, level, lat, ts\n Sensor: soil_moisture | fields: reading, ts, type, level\nTask: Fetch lon from sunlight that have at least one corresponding soil_moisture measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007173", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, value, lat, level\n Sensor: rainfall | fields: lat, unit, level, qc\nTask: Fetch value from humidity where type exists in rainfall sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007174", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, ts, lat, qc\n Sensor: snow_depth | fields: qc, ts, reading, lat\nTask: Get level from soil_moisture where value exceeds the average value from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007175", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, level, lon, type\n Sensor: humidity | fields: depth, lat, type, unit\nTask: Get level from soil_moisture where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007176", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lon, value, unit, level\n Sensor: drought_index | fields: unit, lon, reading, value\nTask: Get value from frost where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007177", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lon, reading, lat, unit\n Sensor: dew_point | fields: type, value, level, qc\nTask: Retrieve value from snow_depth whose qc is found in dew_point records where depth 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(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007178", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: ts, type, depth, lat\n Sensor: pressure | fields: lat, type, qc, unit\nTask: Retrieve lat from humidity whose unit is found in pressure records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007179", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: reading, level, value, type\n Sensor: cloud_cover | fields: unit, lat, qc, level\nTask: Retrieve reading from wind_speed whose unit is found in cloud_cover records where ts 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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "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_fixed_v1_val_007180", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: level, value, qc, reading\n Sensor: humidity | fields: reading, level, type, value\nTask: Fetch depth from visibility that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007181", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lon, lat, unit, level\n Sensor: soil_moisture | fields: qc, lat, type, level\nTask: Get value from air_quality where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "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_fixed_v1_val_007182", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, depth, level, unit\n Sensor: lightning | fields: type, lat, ts, value\nTask: Retrieve reading 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=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007183", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: level, lon, qc, value\n Sensor: rainfall | fields: ts, lat, level, value\nTask: Fetch value from visibility where value is greater than the total of depth in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007184", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: level, value, lat, ts\n Sensor: soil_moisture | fields: unit, ts, lat, type\nTask: Retrieve depth 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=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007185", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lon, lat, unit, type\n Sensor: visibility | fields: value, level, qc, depth\nTask: Get lon from lightning where value exceeds the minimum depth from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007186", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: type, lat, reading, depth\n Sensor: lightning | fields: lat, unit, lon, qc\nTask: Fetch lon from uv_index that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007187", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lat, ts, unit, type\n Sensor: rainfall | fields: unit, value, type, reading\nTask: Retrieve level from cloud_cover with depth above the MAX(reading) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007188", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: reading, lat, qc, lon\n Sensor: soil_moisture | fields: reading, lat, lon, type\nTask: Get depth from wind_speed where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007189", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: reading, type, unit, value\n Sensor: drought_index | fields: qc, ts, unit, lat\nTask: Retrieve value from evaporation with reading above the AVG(reading) of drought_index readings sharing the same 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(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007190", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: type, value, depth, reading\n Sensor: visibility | fields: reading, level, value, lon\nTask: Fetch reading from air_quality where type exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007191", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: depth, unit, reading, lat\n Sensor: air_quality | fields: unit, lon, ts, lat\nTask: Retrieve reading from evaporation whose type is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007192", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: reading, depth, lon, ts\n Sensor: uv_index | fields: qc, depth, lat, reading\nTask: Retrieve lat from drought_index that have at least one matching reading in uv_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007193", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: reading, lat, lon, unit\n Sensor: pressure | fields: unit, ts, reading, level\nTask: Get lon from air_quality where reading exceeds the total value from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007194", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: reading, ts, unit, qc\n Sensor: air_quality | fields: ts, lon, value, level\nTask: Get depth from uv_index where depth exceeds the count of depth from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007195", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, type, unit, depth\n Sensor: drought_index | fields: lon, unit, value, depth\nTask: Get lat from humidity where unit appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007196", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: reading, unit, depth, type\n Sensor: dew_point | fields: qc, reading, type, lat\nTask: Retrieve level from snow_depth whose ts is found in dew_point records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007197", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, unit, ts, lat\n Sensor: snow_depth | fields: lat, ts, reading, value\nTask: Fetch depth from dew_point where value is greater than the minimum of value in snow_depth for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "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_fixed_v1_val_007198", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, lon, ts, reading\n Sensor: wind_speed | fields: depth, type, unit, lon\nTask: Retrieve lon from temperature that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007199", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: value, lat, depth, level\n Sensor: sunlight | fields: value, unit, lat, reading\nTask: Retrieve value from air_quality that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007200", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, level, lon, ts\n Sensor: uv_index | fields: reading, lat, value, ts\nTask: Fetch lon from soil_moisture that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007201", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, reading, qc, lat\n Sensor: visibility | fields: depth, value, reading, qc\nTask: Retrieve level from rainfall whose unit is found in visibility 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(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007202", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: level, depth, value, qc\n Sensor: lightning | fields: lat, ts, depth, value\nTask: Get value from air_quality where reading exceeds the count of value from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007203", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, ts, level, unit\n Sensor: drought_index | fields: depth, qc, ts, type\nTask: Fetch level from frost where depth exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007204", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, depth, qc, type\n Sensor: air_quality | fields: depth, qc, lat, lon\nTask: Fetch reading from soil_moisture where ts exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\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": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007205", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: reading, level, unit, value\n Sensor: rainfall | fields: lat, type, unit, qc\nTask: Retrieve value from drought_index that have at least one matching reading in rainfall sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007206", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: depth, type, level, value\n Sensor: air_quality | fields: lon, value, ts, reading\nTask: Retrieve value from turbidity whose depth is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007207", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: depth, lat, ts, level\n Sensor: pressure | fields: reading, depth, ts, unit\nTask: Get reading from frost where reading exceeds the average value from pressure 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(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007208", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: ts, value, reading, lon\n Sensor: air_quality | fields: unit, ts, reading, level\nTask: Fetch lon from soil_moisture where ts exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007209", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: qc, reading, depth, lon\n Sensor: temperature | fields: unit, lon, ts, type\nTask: Fetch depth from air_quality where ts exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007210", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, lat, depth, type\n Sensor: pressure | fields: unit, lat, type, lon\nTask: Get reading from dew_point where depth appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007211", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, type, reading, lat\n Sensor: humidity | fields: lat, level, unit, ts\nTask: Get value from air_quality where qc appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007212", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: level, type, reading, qc\n Sensor: wind_speed | fields: level, value, ts, type\nTask: Fetch reading from evaporation where depth is greater than the minimum of depth in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007213", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: reading, unit, level, type\n Sensor: cloud_cover | fields: ts, level, unit, value\nTask: Get depth from humidity where ts appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007214", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, qc, type, reading\n Sensor: visibility | fields: lon, qc, lat, ts\nTask: Get level from humidity where type appears in visibility readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007215", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, qc, value, lat\n Sensor: soil_moisture | fields: qc, depth, ts, lat\nTask: Get value from humidity where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007216", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: ts, type, reading, qc\n Sensor: snow_depth | fields: lat, depth, lon, type\nTask: Get level from visibility where reading exceeds the minimum depth from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007217", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: value, type, lat, unit\n Sensor: drought_index | fields: qc, level, unit, type\nTask: Fetch depth from temperature where type exists in drought_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(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007218", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, qc, level, unit\n Sensor: turbidity | fields: reading, level, lon, type\nTask: Fetch lon from sunlight where depth exists in turbidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007219", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: depth, value, unit, ts\n Sensor: rainfall | fields: level, type, unit, qc\nTask: Fetch value from dew_point where ts exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "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_fixed_v1_val_007220", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, level, depth, unit\n Sensor: snow_depth | fields: lat, unit, value, type\nTask: Fetch reading from cloud_cover where depth exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007221", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: depth, value, ts, unit\n Sensor: lightning | fields: lon, reading, depth, unit\nTask: Get lon from cloud_cover where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007222", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lat, reading, qc, type\n Sensor: frost | fields: value, reading, depth, ts\nTask: Fetch level from uv_index where type exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007223", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: value, lat, qc, ts\n Sensor: humidity | fields: level, depth, type, qc\nTask: Retrieve value from turbidity whose qc is found in humidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007224", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: unit, lon, level, ts\n Sensor: pressure | fields: type, lon, qc, depth\nTask: Fetch reading from uv_index where depth is greater than the average of depth in pressure for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007225", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: qc, ts, lat, value\n Sensor: temperature | fields: reading, unit, lat, lon\nTask: Retrieve depth 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=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007226", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, type, value, reading\n Sensor: temperature | fields: depth, type, ts, level\nTask: Get depth from snow_depth where type appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007227", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, unit, ts, lat\n Sensor: sunlight | fields: reading, value, lon, qc\nTask: Fetch depth from rainfall where qc exists in sunlight sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007228", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, lon, unit, level\n Sensor: sunlight | fields: depth, reading, type, level\nTask: Fetch value from cloud_cover where qc exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007229", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: ts, unit, qc, lon\n Sensor: uv_index | fields: level, lon, unit, qc\nTask: Retrieve depth from lightning with value above the SUM(depth) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\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": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007230", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: level, type, unit, reading\n Sensor: lightning | fields: unit, level, depth, reading\nTask: Retrieve value from wind_speed that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007231", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, level, lat, lon\n Sensor: air_quality | fields: lat, ts, type, qc\nTask: Fetch depth from visibility that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007232", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: unit, level, value, qc\n Sensor: evaporation | fields: reading, lon, level, qc\nTask: Retrieve depth from turbidity whose ts is found in evaporation records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007233", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: type, qc, unit, ts\n Sensor: visibility | fields: type, lat, ts, lon\nTask: Retrieve lon from soil_moisture with value above the SUM(depth) of visibility 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(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007234", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, value, qc, level\n Sensor: rainfall | fields: value, type, level, lon\nTask: Retrieve value from dew_point whose qc is found in rainfall records where type 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(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007235", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: type, ts, unit, level\n Sensor: temperature | fields: qc, lat, value, depth\nTask: Get depth from air_quality where depth exceeds the average value from temperature for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007236", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, lat, unit, depth\n Sensor: sunlight | fields: lon, lat, ts, unit\nTask: Fetch lat from frost that have at least one corresponding sunlight measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007237", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lon, unit, ts, lat\n Sensor: lightning | fields: depth, value, reading, qc\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=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007238", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lon, lat, unit, type\n Sensor: evaporation | fields: lat, depth, qc, type\nTask: Retrieve level from snow_depth whose unit is found in evaporation records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007239", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: level, unit, type, ts\n Sensor: turbidity | fields: reading, unit, lon, qc\nTask: Get value from air_quality where depth appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007240", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lat, type, qc, depth\n Sensor: soil_moisture | fields: value, qc, level, reading\nTask: Get lon from snow_depth where unit appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007241", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: level, value, ts, unit\n Sensor: humidity | fields: ts, lon, unit, lat\nTask: Retrieve reading from cloud_cover whose depth is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007242", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, qc, level, type\n Sensor: soil_moisture | fields: reading, type, qc, lon\nTask: Fetch value from cloud_cover where ts exists in soil_moisture sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007243", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, type, value, depth\n Sensor: cloud_cover | fields: lon, level, type, unit\nTask: Fetch level from humidity where reading is greater than the minimum of depth in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007244", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: depth, lon, ts, level\n Sensor: lightning | fields: value, qc, depth, ts\nTask: Fetch depth from evaporation that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007245", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, ts, level, value\n Sensor: cloud_cover | fields: unit, ts, reading, lat\nTask: Retrieve level from visibility that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "level", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007246", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: level, type, unit, qc\n Sensor: lightning | fields: reading, level, lon, type\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=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007247", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, lat, ts, lon\n Sensor: humidity | fields: level, reading, qc, unit\nTask: Retrieve lon from wind_speed whose qc 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=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007248", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: reading, depth, unit, lon\n Sensor: evaporation | fields: depth, ts, reading, unit\nTask: Get depth from cloud_cover where depth exceeds the count of reading from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007249", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, lon, reading, depth\n Sensor: wind_speed | fields: value, lat, level, type\nTask: Get reading from soil_moisture where unit appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007250", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lat, lon, ts, depth\n Sensor: air_quality | fields: depth, value, ts, lon\nTask: Fetch value from drought_index where reading is greater than the maximum of reading in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\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": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007251", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, ts, qc, value\n Sensor: visibility | fields: reading, qc, depth, lon\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=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007252", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, unit, depth, level\n Sensor: lightning | fields: lon, reading, lat, level\nTask: Retrieve depth from wind_speed whose unit is found in lightning records where unit 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=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007253", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: depth, lat, unit, level\n Sensor: evaporation | fields: qc, reading, value, depth\nTask: Fetch value from air_quality that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007254", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, type, level, reading\n Sensor: temperature | fields: lat, level, type, unit\nTask: Fetch lat from sunlight that have at least one corresponding temperature measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007255", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: reading, value, qc, depth\n Sensor: temperature | fields: value, lon, unit, reading\nTask: Get depth from cloud_cover where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007256", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: depth, level, type, value\n Sensor: wind_speed | fields: level, type, ts, unit\nTask: Get depth from snow_depth where value exceeds the average reading from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007257", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: value, lon, unit, qc\n Sensor: drought_index | fields: type, value, depth, ts\nTask: Retrieve level from air_quality that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007258", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, type, lon, unit\n Sensor: visibility | fields: level, unit, qc, value\nTask: Fetch level from air_quality where qc exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007259", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: level, reading, type, lon\n Sensor: lightning | fields: lat, reading, lon, level\nTask: Retrieve level from visibility that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\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", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007260", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: level, type, value, qc\n Sensor: sunlight | fields: qc, lon, ts, unit\nTask: Retrieve depth from humidity with value above the AVG(depth) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007261", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: qc, unit, lon, reading\n Sensor: rainfall | fields: lat, value, ts, lon\nTask: Retrieve reading from dew_point that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007262", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, level, lat, ts\n Sensor: humidity | fields: lon, ts, qc, depth\nTask: Get lon from soil_moisture where ts appears in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007263", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: value, reading, ts, unit\n Sensor: cloud_cover | fields: lat, ts, depth, lon\nTask: Fetch value from frost where value is greater than the count of of depth in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007264", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: type, lat, ts, level\n Sensor: cloud_cover | fields: reading, level, lon, depth\nTask: Retrieve depth from wind_speed with reading above the AVG(value) of cloud_cover readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007265", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, depth, value, unit\n Sensor: humidity | fields: type, level, value, ts\nTask: Retrieve level from dew_point with value above the SUM(value) of humidity readings sharing the same qc.\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(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007266", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: qc, lat, reading, level\n Sensor: soil_moisture | fields: depth, lat, qc, ts\nTask: Retrieve lon from uv_index whose type is found in soil_moisture records where unit 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(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007267", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: level, depth, ts, lon\n Sensor: uv_index | fields: unit, reading, lat, depth\nTask: Retrieve depth from frost with value above the MIN(value) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007268", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: unit, lat, type, lon\n Sensor: humidity | fields: unit, type, value, lat\nTask: Fetch value from uv_index where reading is greater than the total of value in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "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_fixed_v1_val_007269", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: qc, type, depth, lon\n Sensor: air_quality | fields: level, reading, depth, lat\nTask: Fetch lat from turbidity where depth exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007270", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lat, qc, level, ts\n Sensor: temperature | fields: lat, value, depth, level\nTask: Fetch level from air_quality that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007271", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: type, lon, depth, level\n Sensor: humidity | fields: type, lon, ts, depth\nTask: Fetch reading from rainfall where depth is greater than the total of depth in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007272", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: type, value, reading, ts\n Sensor: sunlight | fields: depth, unit, value, type\nTask: Get value from uv_index where ts appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007273", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: reading, level, value, depth\n Sensor: sunlight | fields: unit, level, value, qc\nTask: Retrieve value from humidity with value above the MIN(reading) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007274", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: level, unit, lon, depth\n Sensor: temperature | fields: value, depth, level, reading\nTask: Get lon from humidity where type appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007275", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, unit, type, value\n Sensor: evaporation | fields: ts, unit, reading, lat\nTask: Fetch lat from visibility that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lat", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007276", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: ts, value, depth, lon\n Sensor: wind_speed | fields: ts, lon, type, level\nTask: Get value from sunlight where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007277", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lat, unit, depth, qc\n Sensor: air_quality | fields: lon, qc, ts, lat\nTask: Fetch lon from snow_depth that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007278", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: unit, level, lat, type\n Sensor: pressure | fields: type, lat, value, unit\nTask: Get reading from uv_index where reading exceeds the total reading from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007279", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, value, level, reading\n Sensor: air_quality | fields: qc, value, lat, level\nTask: Retrieve value from wind_speed whose unit is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007280", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, unit, level, reading\n Sensor: rainfall | fields: depth, ts, value, qc\nTask: Retrieve reading from frost with depth above the MAX(value) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "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_fixed_v1_val_007281", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: type, depth, level, value\n Sensor: drought_index | fields: unit, lon, ts, depth\nTask: Retrieve lat from dew_point with depth above the MIN(reading) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007282", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, unit, ts, value\n Sensor: evaporation | fields: depth, value, lon, ts\nTask: Retrieve reading from rainfall whose type is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007283", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, reading, lon, type\n Sensor: evaporation | fields: level, ts, unit, reading\nTask: Retrieve depth from rainfall with value above the SUM(depth) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007284", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, qc, lat, depth\n Sensor: visibility | fields: qc, reading, unit, value\nTask: Retrieve lat from turbidity that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007285", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: depth, lat, type, ts\n Sensor: lightning | fields: ts, depth, unit, lat\nTask: Fetch lat from uv_index where qc exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007286", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, lat, lon, value\n Sensor: drought_index | fields: reading, level, ts, qc\nTask: Fetch depth from air_quality where depth is greater than the minimum of value in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007287", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, qc, level, lat\n Sensor: sunlight | fields: ts, lat, qc, unit\nTask: Fetch lon from snow_depth where reading is greater than the count of of depth in sunlight for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007288", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, lon, depth, value\n Sensor: wind_speed | fields: ts, value, unit, reading\nTask: Retrieve lon from humidity whose qc is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "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_fixed_v1_val_007289", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: depth, type, reading, value\n Sensor: visibility | fields: level, lat, unit, type\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=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007290", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, qc, reading, lat\n Sensor: turbidity | fields: ts, qc, value, depth\nTask: Fetch reading from snow_depth where type exists in turbidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "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_fixed_v1_val_007291", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lat, reading, lon, value\n Sensor: cloud_cover | fields: depth, unit, type, lat\nTask: Retrieve depth from humidity with depth above the SUM(value) of cloud_cover readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007292", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: reading, value, qc, ts\n Sensor: uv_index | fields: reading, depth, lon, type\nTask: Get level from temperature where reading exceeds the average reading from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007293", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: level, lon, type, qc\n Sensor: turbidity | fields: depth, qc, reading, level\nTask: Retrieve lon 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=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007294", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lon, reading, qc, lat\n Sensor: uv_index | fields: reading, lat, ts, value\nTask: Get value from snow_depth where depth appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007295", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, lon, depth, qc\n Sensor: temperature | fields: type, lon, qc, reading\nTask: Fetch value from dew_point where depth exists in temperature sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007296", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: depth, lon, reading, value\n Sensor: snow_depth | fields: level, depth, ts, type\nTask: Get lon from visibility where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007297", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: unit, type, reading, lon\n Sensor: humidity | fields: lat, unit, level, lon\nTask: Retrieve depth from sunlight whose type is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007298", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lat, depth, type, qc\n Sensor: snow_depth | fields: qc, unit, reading, ts\nTask: Fetch lon from drought_index where unit exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007299", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: type, value, depth, lon\n Sensor: drought_index | fields: reading, type, lat, qc\nTask: Get lat from visibility where reading exceeds the count of reading from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\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": "clr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007300", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: qc, unit, level, value\n Sensor: lightning | fields: ts, value, type, lon\nTask: Retrieve reading from sunlight that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007301", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: value, qc, depth, lat\n Sensor: rainfall | fields: unit, value, lon, type\nTask: Retrieve lon from sunlight that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007302", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, type, qc, ts\n Sensor: snow_depth | fields: reading, qc, ts, lat\nTask: Retrieve depth from soil_moisture whose unit is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007303", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: depth, reading, type, value\n Sensor: drought_index | fields: qc, lat, depth, type\nTask: Retrieve lat from frost whose depth is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007304", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, unit, ts, lon\n Sensor: dew_point | fields: lat, qc, depth, value\nTask: Retrieve reading from frost that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007305", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lon, type, reading, lat\n Sensor: visibility | fields: unit, level, type, depth\nTask: Fetch reading from temperature that have at least one corresponding visibility measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007306", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: depth, ts, unit, lon\n Sensor: wind_speed | fields: depth, type, lon, ts\nTask: Retrieve value from sunlight that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007307", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, ts, type, qc\n Sensor: rainfall | fields: ts, unit, depth, value\nTask: Get lat from sunlight where reading exceeds the maximum depth from rainfall for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007308", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, lat, ts, value\n Sensor: lightning | fields: ts, lat, depth, type\nTask: Retrieve value from wind_speed that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007309", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: value, unit, reading, lat\n Sensor: frost | fields: type, reading, value, level\nTask: Fetch lon from humidity where qc exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007310", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, ts, depth, lon\n Sensor: snow_depth | fields: value, depth, lon, ts\nTask: Get reading from wind_speed where qc appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007311", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: ts, type, qc, unit\n Sensor: drought_index | fields: value, depth, type, level\nTask: Fetch lon from soil_moisture where type exists in drought_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(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007312", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, reading, level, lon\n Sensor: dew_point | fields: type, ts, value, lat\nTask: Get reading from evaporation where depth exceeds the average reading from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "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_fixed_v1_val_007313", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: type, unit, lat, qc\n Sensor: humidity | fields: ts, unit, lon, depth\nTask: Fetch reading from sunlight that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007314", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: reading, value, lon, qc\n Sensor: drought_index | fields: qc, lat, value, lon\nTask: Fetch value 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=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007315", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lat, ts, reading, unit\n Sensor: pressure | fields: unit, ts, level, depth\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=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007316", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, lat, level, value\n Sensor: frost | fields: ts, value, level, depth\nTask: Fetch lon 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=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007317", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, value, reading, type\n Sensor: soil_moisture | fields: depth, reading, lat, type\nTask: Fetch level from rainfall that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007318", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: level, unit, lat, value\n Sensor: temperature | fields: unit, level, lon, ts\nTask: Get depth from air_quality where a corresponding entry exists in temperature with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007319", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: value, reading, lon, depth\n Sensor: air_quality | fields: type, unit, depth, value\nTask: Retrieve lon from pressure whose type is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007320", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: ts, lon, level, unit\n Sensor: sunlight | fields: reading, unit, type, lon\nTask: Retrieve level from drought_index with reading above the MIN(reading) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007321", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: type, unit, qc, level\n Sensor: frost | fields: reading, level, depth, value\nTask: Get reading from visibility where unit appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007322", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: reading, depth, ts, value\n Sensor: evaporation | fields: qc, type, reading, level\nTask: Get value from temperature where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007323", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: ts, type, value, depth\n Sensor: frost | fields: lon, qc, lat, level\nTask: Get lon from sunlight where ts appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007324", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: type, reading, level, unit\n Sensor: wind_speed | fields: unit, depth, reading, value\nTask: Get level from air_quality where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007325", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: type, lat, unit, level\n Sensor: uv_index | fields: lat, depth, level, value\nTask: Retrieve level from wind_speed with depth above the SUM(value) of uv_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007326", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: ts, lat, value, depth\n Sensor: cloud_cover | fields: ts, type, unit, lat\nTask: Fetch lon from visibility where value is greater than the average of value in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "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_fixed_v1_val_007327", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, qc, level, lat\n Sensor: pressure | fields: lon, lat, reading, value\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=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007328", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, qc, ts, reading\n Sensor: humidity | fields: level, lon, depth, value\nTask: Retrieve value from uv_index with reading above the AVG(depth) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007329", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: qc, unit, reading, lon\n Sensor: humidity | fields: lat, qc, depth, value\nTask: Fetch depth from temperature where reading is greater than the maximum of reading in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007330", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, lat, lon, depth\n Sensor: air_quality | fields: reading, lon, type, lat\nTask: Fetch lon from drought_index where value is greater than the total of value in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007331", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, lon, level, reading\n Sensor: rainfall | fields: ts, type, depth, lat\nTask: Get level from evaporation where value exceeds the total value from rainfall for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007332", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, type, value, reading\n Sensor: evaporation | fields: unit, ts, qc, lon\nTask: Get level from dew_point where depth appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "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_fixed_v1_val_007333", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lat, reading, level, lon\n Sensor: cloud_cover | fields: value, reading, lon, qc\nTask: Retrieve level from humidity that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007334", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lat, reading, value, unit\n Sensor: air_quality | fields: value, lon, level, lat\nTask: Fetch level from dew_point where value is greater than the average of reading in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007335", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: reading, qc, unit, depth\n Sensor: snow_depth | fields: reading, qc, value, level\nTask: Fetch depth from sunlight where reading is greater than the average of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007336", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, lon, value, type\n Sensor: soil_moisture | fields: depth, qc, lon, level\nTask: Get lat from drought_index where value exceeds the average value from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\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": "stn", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007337", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: qc, depth, value, ts\n Sensor: uv_index | fields: value, level, type, lon\nTask: Retrieve level from humidity with value above the MAX(value) of uv_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "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_fixed_v1_val_007338", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: unit, type, lon, level\n Sensor: dew_point | fields: value, lon, lat, qc\nTask: Retrieve depth from visibility whose qc 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=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007339", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: type, depth, lat, qc\n Sensor: cloud_cover | fields: lon, type, value, level\nTask: Retrieve lat from air_quality whose ts 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=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007340", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, qc, ts, type\n Sensor: temperature | fields: ts, level, qc, value\nTask: Get depth from humidity where type appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007341", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, lon, lat, level\n Sensor: dew_point | fields: lat, type, reading, lon\nTask: Fetch value from humidity where depth is greater than the maximum of depth in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007342", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: level, lat, unit, lon\n Sensor: cloud_cover | fields: lon, value, reading, ts\nTask: Retrieve reading from dew_point with depth above the SUM(value) of cloud_cover readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "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_fixed_v1_val_007343", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: value, unit, qc, type\n Sensor: sunlight | fields: level, lon, lat, reading\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=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007344", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, level, depth, value\n Sensor: visibility | fields: level, lat, type, depth\nTask: Get level from pressure where depth exceeds the minimum value from visibility for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007345", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, unit, level, depth\n Sensor: visibility | fields: qc, ts, type, unit\nTask: Fetch reading from turbidity where ts exists in visibility sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007346", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, value, qc, unit\n Sensor: frost | fields: type, qc, unit, reading\nTask: Fetch lon from uv_index where value is greater than the maximum of reading in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007347", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: qc, reading, type, lon\n Sensor: lightning | fields: unit, depth, type, ts\nTask: Fetch level from sunlight where ts exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007348", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: unit, lat, reading, level\n Sensor: lightning | fields: lat, lon, unit, ts\nTask: Retrieve lon from pressure with value above the SUM(reading) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007349", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: level, lat, qc, unit\n Sensor: wind_speed | fields: unit, reading, lat, ts\nTask: Retrieve level 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=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "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_fixed_v1_val_007350", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lon, unit, reading, type\n Sensor: evaporation | fields: ts, type, depth, qc\nTask: Get lat from frost where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007351", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: value, ts, type, unit\n Sensor: uv_index | fields: value, lat, unit, ts\nTask: Get lon from evaporation where ts appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "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_fixed_v1_val_007352", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: type, qc, value, lon\n Sensor: humidity | fields: ts, reading, unit, lat\nTask: Fetch lon from turbidity where reading is greater than the count of of reading in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007353", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: value, level, depth, reading\n Sensor: visibility | fields: depth, lon, type, ts\nTask: Retrieve reading from sunlight that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007354", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: unit, qc, value, reading\n Sensor: soil_moisture | fields: unit, qc, reading, lon\nTask: Get depth from uv_index where depth appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\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": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007355", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: reading, value, ts, lat\n Sensor: pressure | fields: ts, unit, lon, level\nTask: Fetch value from drought_index where depth is greater than the average of reading in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007356", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, level, lon, depth\n Sensor: pressure | fields: level, reading, lat, unit\nTask: Retrieve reading from frost with reading above the MIN(depth) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007357", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: reading, ts, lat, unit\n Sensor: humidity | fields: type, unit, qc, lat\nTask: Fetch reading from uv_index where type exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "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_fixed_v1_val_007358", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, reading, type, lat\n Sensor: temperature | fields: lon, reading, ts, value\nTask: Retrieve depth from air_quality whose depth is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007359", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, level, lon, unit\n Sensor: rainfall | fields: lon, lat, level, reading\nTask: Retrieve lat from pressure with reading above the COUNT(depth) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007360", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: qc, depth, ts, lat\n Sensor: pressure | fields: depth, lon, ts, lat\nTask: Get lon from air_quality where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007361", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: reading, lon, unit, type\n Sensor: frost | fields: value, level, ts, unit\nTask: Get lon from rainfall where reading exceeds the minimum depth from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007362", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: reading, lat, unit, level\n Sensor: visibility | fields: lat, level, unit, qc\nTask: Fetch level from turbidity where depth exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007363", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, value, qc, ts\n Sensor: snow_depth | fields: reading, level, unit, value\nTask: Fetch reading from soil_moisture where type exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "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_fixed_v1_val_007364", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: ts, type, reading, depth\n Sensor: turbidity | fields: depth, ts, type, lon\nTask: Retrieve lat from air_quality with value above the MIN(reading) of turbidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007365", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, lat, unit, type\n Sensor: frost | fields: ts, type, lat, value\nTask: Retrieve level from wind_speed that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007366", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, unit, ts, type\n Sensor: visibility | fields: level, lat, value, lon\nTask: Get reading from air_quality where type appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007367", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: qc, value, depth, unit\n Sensor: pressure | fields: value, type, qc, lon\nTask: Retrieve level from frost that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007368", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: ts, unit, depth, type\n Sensor: pressure | fields: lat, depth, type, unit\nTask: Fetch lon from lightning where value is greater than the average of depth in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007369", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lon, type, depth, unit\n Sensor: turbidity | fields: ts, depth, qc, value\nTask: Retrieve level from air_quality that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007370", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lat, ts, type, unit\n Sensor: sunlight | fields: value, ts, qc, unit\nTask: Fetch lon 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=\"brt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007371", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: ts, depth, qc, value\n Sensor: evaporation | fields: lat, type, lon, qc\nTask: Retrieve value from air_quality that have at least one matching reading in evaporation sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007372", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, lon, reading, depth\n Sensor: visibility | fields: lon, ts, level, lat\nTask: Retrieve level from uv_index with depth above the MAX(reading) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007373", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lat, ts, lon, type\n Sensor: pressure | fields: ts, reading, value, lat\nTask: Retrieve level from temperature that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007374", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: ts, unit, lat, level\n Sensor: soil_moisture | fields: depth, qc, ts, type\nTask: Get value 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=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007375", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lat, type, unit, ts\n Sensor: temperature | fields: reading, value, lat, unit\nTask: Retrieve reading from wind_speed that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007376", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: level, ts, qc, value\n Sensor: wind_speed | fields: unit, lat, ts, level\nTask: Get value 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=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007377", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: level, unit, ts, qc\n Sensor: visibility | fields: ts, type, lon, level\nTask: Fetch value 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=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007378", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lon, type, qc, value\n Sensor: humidity | fields: unit, value, lon, lat\nTask: Retrieve lon from rainfall with value above the MAX(reading) of humidity 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\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007379", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: reading, qc, level, depth\n Sensor: uv_index | fields: reading, qc, lon, type\nTask: Get level from soil_moisture where value exceeds the average depth from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007380", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, depth, unit, level\n Sensor: cloud_cover | fields: lon, ts, qc, reading\nTask: Fetch lon from snow_depth that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007381", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: value, lat, type, level\n Sensor: snow_depth | fields: qc, depth, lat, type\nTask: Fetch lon from humidity where type exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007382", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, lat, type, level\n Sensor: soil_moisture | fields: type, qc, value, ts\nTask: Fetch reading from evaporation where qc exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007383", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, qc, ts, level\n Sensor: humidity | fields: ts, qc, lon, type\nTask: Retrieve level from soil_moisture whose type is found in humidity records where type 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=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007384", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: reading, lon, depth, qc\n Sensor: turbidity | fields: value, type, qc, reading\nTask: Fetch reading from lightning where reading is greater than the total of value in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007385", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, reading, lon, ts\n Sensor: turbidity | fields: type, reading, qc, ts\nTask: Get value from frost where qc appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007386", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: value, level, unit, lon\n Sensor: air_quality | fields: type, lat, ts, lon\nTask: Retrieve level from humidity that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007387", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, unit, qc, value\n Sensor: visibility | fields: qc, value, depth, unit\nTask: Fetch level from cloud_cover where unit 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=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007388", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: unit, depth, ts, value\n Sensor: lightning | fields: reading, lat, lon, level\nTask: Fetch depth from drought_index that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007389", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: unit, level, depth, lat\n Sensor: frost | fields: lat, value, reading, depth\nTask: Retrieve value from pressure that have at least one matching reading in frost sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007390", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: qc, value, lon, type\n Sensor: lightning | fields: level, depth, qc, type\nTask: Retrieve value from dew_point whose unit is found in lightning records where qc 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(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007391", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: unit, type, level, lon\n Sensor: pressure | fields: depth, level, type, unit\nTask: Get level from cloud_cover where type appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007392", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: reading, lon, value, unit\n Sensor: humidity | fields: qc, level, depth, lon\nTask: Fetch lat from cloud_cover where reading is greater than the maximum of reading in humidity for matching unit.\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(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "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_fixed_v1_val_007393", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, unit, depth, value\n Sensor: drought_index | fields: value, depth, unit, level\nTask: Get level from evaporation where type appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007394", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: level, value, reading, qc\n Sensor: drought_index | fields: level, lon, type, ts\nTask: Get lon from snow_depth where unit appears in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "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_fixed_v1_val_007395", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: ts, lon, type, unit\n Sensor: air_quality | fields: qc, unit, reading, depth\nTask: Fetch lon from evaporation where qc exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007396", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: type, level, unit, lon\n Sensor: humidity | fields: qc, reading, type, lat\nTask: Get value from air_quality where value exceeds the maximum reading from humidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007397", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, lon, level, depth\n Sensor: rainfall | fields: lon, unit, qc, value\nTask: Get lon from dew_point where unit appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007398", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, lat, level, lon\n Sensor: wind_speed | fields: ts, qc, unit, depth\nTask: Retrieve lat 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=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007399", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, lat, ts, unit\n Sensor: temperature | fields: type, unit, qc, level\nTask: Fetch reading from frost that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007400", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, unit, level, lat\n Sensor: drought_index | fields: reading, value, lon, level\nTask: Fetch lon from lightning that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007401", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: type, value, qc, depth\n Sensor: dew_point | fields: qc, lon, unit, depth\nTask: Fetch value from humidity where ts exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007402", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, depth, lat, value\n Sensor: drought_index | fields: type, depth, level, qc\nTask: Fetch lon from uv_index where reading is greater than the minimum of reading in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007403", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: ts, level, depth, type\n Sensor: evaporation | fields: lon, qc, lat, value\nTask: Get level from visibility where reading exceeds the maximum reading from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007404", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: level, qc, lon, ts\n Sensor: lightning | fields: type, value, lat, lon\nTask: Retrieve depth from soil_moisture whose unit is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "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_fixed_v1_val_007405", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lat, depth, ts, level\n Sensor: uv_index | fields: ts, reading, qc, lon\nTask: Fetch reading from sunlight where ts exists in uv_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "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_fixed_v1_val_007406", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: qc, ts, lat, unit\n Sensor: rainfall | fields: level, qc, lat, lon\nTask: Fetch lon from pressure that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007407", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: unit, ts, reading, qc\n Sensor: cloud_cover | fields: lat, depth, type, ts\nTask: Retrieve reading from air_quality that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007408", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: value, reading, lon, ts\n Sensor: air_quality | fields: qc, depth, level, value\nTask: Fetch lat from pressure where value is greater than the count of of reading in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007409", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, value, depth, unit\n Sensor: sunlight | fields: lon, type, depth, value\nTask: Get lon from frost where qc appears in sunlight readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007410", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: level, unit, lat, reading\n Sensor: soil_moisture | fields: qc, unit, type, lon\nTask: Get lon from drought_index where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007411", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, qc, level, depth\n Sensor: pressure | fields: depth, reading, lat, ts\nTask: Get lon from uv_index where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007412", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: reading, qc, depth, level\n Sensor: air_quality | fields: ts, value, lon, lat\nTask: Retrieve value from rainfall that have at least one matching reading in air_quality sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007413", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: level, type, lon, unit\n Sensor: pressure | fields: value, level, lat, lon\nTask: Get reading from frost where unit appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007414", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: value, reading, lat, qc\n Sensor: humidity | fields: unit, level, reading, type\nTask: Fetch value from turbidity where unit exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007415", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: depth, level, lat, ts\n Sensor: wind_speed | fields: lat, depth, ts, lon\nTask: Get depth from sunlight where ts appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007416", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, qc, lat, ts\n Sensor: turbidity | fields: value, ts, depth, lon\nTask: Fetch lon from soil_moisture where value is greater than the total of value in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007417", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lat, qc, reading, lon\n Sensor: humidity | fields: qc, reading, level, unit\nTask: Get value from evaporation where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007418", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: type, depth, ts, lon\n Sensor: rainfall | fields: ts, value, lon, reading\nTask: Fetch depth from drought_index where value is greater than the count of of value in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007419", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, lon, reading, qc\n Sensor: uv_index | fields: depth, value, unit, ts\nTask: Retrieve lat from humidity whose unit is found in uv_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007420", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, value, reading, lat\n Sensor: uv_index | fields: unit, depth, level, lon\nTask: Get lon from turbidity where reading exceeds the average value from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007421", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lon, lat, unit, qc\n Sensor: temperature | fields: lon, depth, value, lat\nTask: Get lon from rainfall where depth appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007422", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lon, type, depth, ts\n Sensor: soil_moisture | fields: lat, ts, depth, unit\nTask: Fetch lon from evaporation where depth exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007423", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: level, value, lon, unit\n Sensor: rainfall | fields: lat, reading, unit, depth\nTask: Get lat from visibility where value exceeds the maximum depth from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007424", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: qc, unit, lat, level\n Sensor: frost | fields: lat, qc, level, value\nTask: Get reading from wind_speed where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007425", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, lat, ts, type\n Sensor: rainfall | fields: lat, level, reading, value\nTask: Fetch lat from cloud_cover that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007426", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, reading, depth, value\n Sensor: turbidity | fields: value, lat, ts, depth\nTask: Fetch lat from frost where depth exists in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007427", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: depth, qc, lon, level\n Sensor: visibility | fields: value, level, ts, type\nTask: Get reading from humidity where qc appears in visibility readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007428", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: value, type, lat, level\n Sensor: lightning | fields: depth, type, unit, ts\nTask: Get value from dew_point where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007429", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: unit, value, depth, level\n Sensor: humidity | fields: depth, ts, lon, unit\nTask: Retrieve lat from drought_index whose type is found in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007430", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: ts, qc, lon, unit\n Sensor: frost | fields: lat, depth, ts, level\nTask: Get level from soil_moisture where depth appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007431", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, qc, type, level\n Sensor: humidity | fields: lat, value, reading, type\nTask: Fetch lon 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=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007432", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, unit, qc, lon\n Sensor: cloud_cover | fields: unit, level, qc, depth\nTask: Get value from dew_point where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007433", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, level, lon, type\n Sensor: soil_moisture | fields: ts, level, lon, depth\nTask: Retrieve depth from evaporation whose qc is found in soil_moisture records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\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": "evaporation", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007434", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, type, level, value\n Sensor: sunlight | fields: level, qc, ts, value\nTask: Retrieve value from evaporation that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007435", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: depth, type, lat, lon\n Sensor: dew_point | fields: lat, reading, type, ts\nTask: Get depth from turbidity where qc appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007436", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: qc, type, depth, unit\n Sensor: pressure | fields: lon, unit, value, depth\nTask: Get lat from visibility where qc appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007437", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, qc, lon, ts\n Sensor: frost | fields: reading, lat, unit, lon\nTask: Retrieve level from rainfall that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007438", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: unit, value, level, reading\n Sensor: soil_moisture | fields: level, unit, depth, lon\nTask: Fetch lon from lightning where depth is greater than the minimum of depth in soil_moisture for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007439", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, type, ts, value\n Sensor: wind_speed | fields: ts, type, depth, unit\nTask: Fetch depth from pressure that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007440", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: ts, qc, depth, lat\n Sensor: humidity | fields: reading, type, ts, depth\nTask: Get reading from uv_index where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007441", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, lon, qc, depth\n Sensor: frost | fields: type, ts, unit, lon\nTask: Fetch depth from lightning where depth is greater than the count of of depth in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007442", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, reading, depth, value\n Sensor: snow_depth | fields: ts, depth, qc, lat\nTask: Get lon from wind_speed where qc appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007443", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: depth, value, lat, qc\n Sensor: wind_speed | fields: lat, ts, value, qc\nTask: Fetch lat from lightning where depth is greater than the total of value in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007444", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: reading, lon, ts, depth\n Sensor: frost | fields: lat, type, depth, value\nTask: Retrieve level from drought_index whose unit is found in frost records where type 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(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007445", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: lon, type, depth, qc\n Sensor: air_quality | fields: reading, depth, unit, lon\nTask: Fetch reading from wind_speed where depth is greater than the count of of depth in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007446", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, reading, level, qc\n Sensor: frost | fields: reading, level, ts, type\nTask: Retrieve reading from visibility whose depth is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007447", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: level, depth, value, qc\n Sensor: air_quality | fields: level, type, lon, depth\nTask: Fetch value from uv_index where ts exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007448", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: level, reading, unit, lat\n Sensor: humidity | fields: unit, level, lon, type\nTask: Get value from uv_index where depth exceeds the maximum depth from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007449", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: ts, unit, value, type\n Sensor: drought_index | fields: depth, unit, type, reading\nTask: Fetch reading from pressure where depth is greater than the total of value in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007450", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: qc, level, value, type\n Sensor: rainfall | fields: reading, value, lat, unit\nTask: Fetch reading from uv_index where type exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007451", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: unit, lat, lon, reading\n Sensor: soil_moisture | fields: value, reading, qc, lon\nTask: Retrieve level from wind_speed with reading above the COUNT(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007452", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: unit, level, type, depth\n Sensor: rainfall | fields: ts, qc, reading, depth\nTask: Get reading from frost where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007453", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: type, ts, reading, lon\n Sensor: temperature | fields: ts, lon, type, value\nTask: Get level from turbidity where depth appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007454", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, qc, unit, lat\n Sensor: rainfall | fields: reading, depth, unit, value\nTask: Get reading from snow_depth where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007455", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lon, unit, depth, reading\n Sensor: lightning | fields: value, level, qc, depth\nTask: Fetch value from air_quality where value is greater than the maximum of reading in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007456", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, lat, reading, ts\n Sensor: turbidity | fields: lon, ts, depth, lat\nTask: Fetch value from air_quality where depth is greater than the average of depth in turbidity for matching 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(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007457", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, level, unit, ts\n Sensor: cloud_cover | fields: depth, lat, type, lon\nTask: Get lon from sunlight where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007458", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: level, value, reading, ts\n Sensor: visibility | fields: reading, unit, ts, lon\nTask: Retrieve depth from frost with value above the SUM(reading) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007459", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: reading, depth, lat, lon\n Sensor: humidity | fields: reading, ts, depth, unit\nTask: Fetch level from sunlight where depth exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007460", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, type, depth, reading\n Sensor: visibility | fields: value, lon, level, qc\nTask: Retrieve depth from uv_index with depth above the SUM(reading) of visibility readings sharing the same type.\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(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007461", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: reading, qc, ts, lat\n Sensor: temperature | fields: qc, depth, value, level\nTask: Retrieve lon from turbidity whose ts is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007462", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lon, lat, qc, reading\n Sensor: pressure | fields: type, unit, reading, lat\nTask: Fetch lat from temperature that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007463", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: value, reading, lat, unit\n Sensor: sunlight | fields: level, reading, lon, ts\nTask: Retrieve level from evaporation that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007464", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lon, lat, reading, value\n Sensor: pressure | fields: depth, qc, lat, level\nTask: Retrieve lat from sunlight with value above the COUNT(value) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007465", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | 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=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007466", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: qc, level, type, lat\n Sensor: temperature | fields: type, value, reading, lat\nTask: Retrieve level from lightning whose unit is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007467", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, unit, lat, lon\n Sensor: frost | fields: depth, lon, lat, value\nTask: Fetch reading from humidity that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007468", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: level, depth, lat, type\n Sensor: drought_index | fields: lon, level, type, lat\nTask: Fetch value from soil_moisture where type exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007469", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, lat, qc, reading\n Sensor: wind_speed | fields: lat, lon, level, value\nTask: Get level 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=\"gst\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007470", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: type, reading, level, qc\n Sensor: air_quality | fields: lon, ts, value, unit\nTask: Fetch lon from rainfall where ts exists in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007471", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: qc, reading, unit, level\n Sensor: visibility | fields: depth, level, value, type\nTask: Fetch lon from frost that have at least one corresponding visibility measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007472", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, reading, value, lon\n Sensor: wind_speed | fields: reading, ts, level, type\nTask: Retrieve lat from soil_moisture whose ts is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007473", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, lon, qc, ts\n Sensor: visibility | fields: unit, level, lat, qc\nTask: Fetch lon from pressure where depth is greater than the maximum of reading in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007474", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, value, level, depth\n Sensor: lightning | fields: type, value, reading, level\nTask: Fetch lon from dew_point where qc exists in lightning sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007475", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, unit, depth, lat\n Sensor: drought_index | fields: qc, depth, lon, unit\nTask: Retrieve level from snow_depth whose depth is found in drought_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007476", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: depth, type, reading, ts\n Sensor: lightning | fields: lat, unit, type, ts\nTask: Retrieve level from cloud_cover that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007477", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: reading, unit, level, type\n Sensor: temperature | fields: value, level, qc, ts\nTask: Get level from dew_point where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007478", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, type, qc, unit\n Sensor: soil_moisture | fields: depth, qc, lon, level\nTask: Fetch level from visibility that have at least one corresponding soil_moisture measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007479", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, type, depth, level\n Sensor: wind_speed | fields: level, depth, type, lon\nTask: Get value from pressure where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007480", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: depth, unit, qc, level\n Sensor: lightning | fields: depth, type, ts, qc\nTask: Retrieve depth 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=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007481", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: level, lon, value, qc\n Sensor: snow_depth | fields: reading, type, ts, qc\nTask: Get lon from turbidity where depth exceeds the minimum reading from snow_depth for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "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_fixed_v1_val_007482", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: level, value, reading, unit\n Sensor: uv_index | fields: lat, lon, value, ts\nTask: Retrieve lat from snow_depth that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007483", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: depth, lat, qc, unit\n Sensor: rainfall | fields: depth, reading, level, type\nTask: Fetch reading from wind_speed where value is greater than the average of value in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "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_fixed_v1_val_007484", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: level, qc, unit, lat\n Sensor: uv_index | fields: level, depth, qc, unit\nTask: Get lon from humidity where depth appears in uv_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007485", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: reading, lon, lat, qc\n Sensor: pressure | fields: reading, level, lon, depth\nTask: Fetch lon from turbidity where reading is greater than the maximum of value in pressure for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007486", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: reading, depth, type, lat\n Sensor: pressure | fields: reading, unit, value, lat\nTask: Get lon from evaporation where type appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007487", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, qc, reading, ts\n Sensor: cloud_cover | fields: ts, lon, reading, qc\nTask: Get lon from frost where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007488", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: type, ts, reading, depth\n Sensor: humidity | fields: unit, qc, reading, type\nTask: Retrieve lon from drought_index whose ts is found in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007489", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: reading, type, lon, qc\n Sensor: cloud_cover | fields: depth, lat, level, unit\nTask: Retrieve level from dew_point with depth above the MIN(value) of cloud_cover readings sharing 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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007490", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: depth, qc, level, reading\n Sensor: rainfall | fields: type, lon, reading, unit\nTask: Get lon from sunlight where value exceeds the total depth from rainfall for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007491", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: reading, type, value, unit\n Sensor: sunlight | fields: level, value, type, lat\nTask: Retrieve lat from rainfall with reading above the SUM(depth) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007492", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: unit, qc, lat, ts\n Sensor: wind_speed | fields: level, qc, lat, lon\nTask: Retrieve level from snow_depth whose depth is found in wind_speed records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007493", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: unit, lon, reading, type\n Sensor: cloud_cover | fields: qc, ts, lat, type\nTask: Get lat from temperature where a corresponding entry exists in cloud_cover with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007494", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lat, value, level, depth\n Sensor: frost | fields: unit, reading, depth, level\nTask: Retrieve depth from air_quality that have at least one matching reading in frost sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007495", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: depth, ts, unit, value\n Sensor: drought_index | fields: lon, ts, depth, lat\nTask: Get level from lightning where ts appears in drought_index readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007496", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: depth, qc, level, lon\n Sensor: air_quality | fields: unit, reading, ts, lon\nTask: Fetch lat from visibility that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007497", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: ts, lon, depth, type\n Sensor: visibility | fields: unit, level, reading, lat\nTask: Retrieve value from turbidity with reading above the AVG(reading) 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(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007498", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: unit, lon, qc, ts\n Sensor: pressure | fields: lon, level, qc, unit\nTask: Retrieve depth from drought_index that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007499", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, depth, lat, type\n Sensor: turbidity | fields: depth, type, reading, lon\nTask: Fetch depth from visibility that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007500", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, lon, unit, type\n Sensor: sunlight | fields: lat, ts, value, lon\nTask: Fetch value from lightning where depth is greater than the average of value in sunlight for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007501", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: unit, ts, value, lat\n Sensor: cloud_cover | fields: ts, lat, value, depth\nTask: Retrieve reading from wind_speed that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007502", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, level, value, type\n Sensor: snow_depth | fields: depth, ts, lon, level\nTask: Retrieve level from pressure that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007503", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: value, ts, level, unit\n Sensor: temperature | fields: level, unit, lat, depth\nTask: Retrieve depth from evaporation with value above the MIN(value) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007504", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, qc, level, ts\n Sensor: rainfall | fields: lon, level, qc, ts\nTask: Fetch lat from uv_index where depth exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007505", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, ts, reading, level\n Sensor: drought_index | fields: level, qc, type, lat\nTask: Get reading from wind_speed where depth appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007506", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: type, level, reading, value\n Sensor: frost | fields: qc, reading, ts, level\nTask: Retrieve reading from snow_depth with reading above the COUNT(value) of frost 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(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007507", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, depth, type, level\n Sensor: cloud_cover | fields: ts, unit, type, reading\nTask: Get value from uv_index where depth exceeds the total value from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007508", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: level, ts, unit, reading\n Sensor: turbidity | fields: type, ts, lon, value\nTask: Fetch level from wind_speed where depth is greater than the average of reading in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007509", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: level, lon, unit, type\n Sensor: pressure | fields: qc, lon, level, unit\nTask: Get lon from frost where type appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "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_fixed_v1_val_007510", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: reading, value, ts, depth\n Sensor: humidity | fields: level, value, unit, ts\nTask: Get lat from frost where depth exceeds the maximum value from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007511", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, qc, lon, type\n Sensor: uv_index | fields: unit, level, ts, lon\nTask: Fetch reading from evaporation where qc exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007512", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lon, qc, value, unit\n Sensor: soil_moisture | fields: reading, ts, value, level\nTask: Fetch value from uv_index where reading is greater than the count of of reading in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007513", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, value, lon, ts\n Sensor: air_quality | fields: level, unit, type, reading\nTask: Fetch depth from evaporation where depth is greater than the count of of depth in air_quality for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007514", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, ts, qc, reading\n Sensor: wind_speed | fields: value, type, depth, reading\nTask: Retrieve reading from rainfall that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007515", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, reading, unit, level\n Sensor: rainfall | fields: unit, level, reading, ts\nTask: Get value from uv_index where depth exceeds the maximum reading from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007516", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: type, ts, qc, depth\n Sensor: evaporation | fields: lon, value, level, depth\nTask: Get lon from uv_index where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007517", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, unit, value, lat\n Sensor: air_quality | fields: qc, unit, level, lat\nTask: Get value from frost where value exceeds the average depth from air_quality for the same 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(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007518", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: type, ts, qc, reading\n Sensor: temperature | fields: depth, ts, value, lon\nTask: Get lat from visibility where unit appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007519", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: value, lon, ts, level\n Sensor: uv_index | fields: depth, level, type, reading\nTask: Retrieve reading from dew_point whose qc is found in uv_index records where ts 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(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007520", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lon, depth, lat, type\n Sensor: snow_depth | fields: qc, ts, type, lon\nTask: Retrieve depth from frost with reading above the AVG(value) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007521", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: unit, reading, ts, type\n Sensor: frost | fields: unit, ts, type, level\nTask: Get depth from visibility where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007522", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, level, unit, type\n Sensor: drought_index | fields: reading, depth, ts, lon\nTask: Retrieve depth from dew_point with depth above the MIN(depth) of drought_index 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(\"MIN\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007523", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lon, lat, value, depth\n Sensor: cloud_cover | fields: ts, lon, unit, level\nTask: Retrieve reading from turbidity that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007524", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, level, lon, ts\n Sensor: uv_index | fields: level, reading, qc, unit\nTask: Retrieve lat from snow_depth that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007525", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: type, lat, ts, qc\n Sensor: uv_index | fields: ts, lat, reading, qc\nTask: Get reading from air_quality where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "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_fixed_v1_val_007526", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: unit, lon, depth, ts\n Sensor: humidity | fields: lon, lat, depth, unit\nTask: Fetch level from air_quality where value is greater than the total of reading in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007527", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, lon, level, value\n Sensor: lightning | fields: value, level, depth, qc\nTask: Fetch level from air_quality that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007528", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: depth, qc, unit, ts\n Sensor: drought_index | fields: level, lat, qc, unit\nTask: Retrieve depth from frost that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007529", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, lon, qc, depth\n Sensor: soil_moisture | fields: lon, unit, lat, depth\nTask: Get value from sunlight where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007530", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: level, lat, lon, ts\n Sensor: humidity | fields: ts, reading, value, lat\nTask: Fetch depth from pressure that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007531", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lat, value, type, lon\n Sensor: drought_index | fields: unit, level, lon, ts\nTask: Get lat from soil_moisture where depth exceeds the total reading from drought_index for the same depth.\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(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007532", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: qc, value, ts, level\n Sensor: dew_point | fields: level, type, qc, lat\nTask: Retrieve depth 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=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007533", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: value, level, ts, unit\n Sensor: dew_point | fields: unit, level, depth, lat\nTask: Get lon from frost where depth exceeds the maximum value from dew_point for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007534", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, reading, type, unit\n Sensor: temperature | fields: ts, type, depth, value\nTask: Fetch level from pressure where depth is greater than the maximum of reading in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007535", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: value, unit, level, ts\n Sensor: wind_speed | fields: level, lon, depth, lat\nTask: Retrieve level from frost that have at least one matching reading in wind_speed sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007536", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, lat, value, level\n Sensor: snow_depth | fields: depth, ts, reading, qc\nTask: Fetch lon from visibility that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007537", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: ts, level, lon, lat\n Sensor: uv_index | fields: depth, unit, lat, ts\nTask: Retrieve value from humidity that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007538", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, lon, reading, level\n Sensor: visibility | fields: value, type, depth, reading\nTask: Retrieve level from air_quality whose depth is found in visibility records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: type, reading, value, lat\n Sensor: cloud_cover | fields: type, lon, depth, qc\nTask: Get value from lightning where ts appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007540", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lat, type, depth, ts\n Sensor: snow_depth | fields: depth, reading, qc, value\nTask: Get value from uv_index where ts appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "value", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007541", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, qc, depth, reading\n Sensor: air_quality | fields: reading, lat, ts, unit\nTask: Retrieve depth from drought_index with reading above the MAX(reading) of air_quality readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007542", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: qc, lat, depth, type\n Sensor: sunlight | fields: unit, qc, lon, depth\nTask: Retrieve lon from drought_index with value above the AVG(reading) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007543", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, unit, level, reading\n Sensor: rainfall | fields: depth, qc, reading, value\nTask: Retrieve depth from turbidity with depth above the AVG(reading) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007544", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: reading, ts, lon, qc\n Sensor: cloud_cover | fields: level, unit, lat, ts\nTask: Get value from humidity where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007545", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, type, reading, level\n Sensor: frost | fields: qc, ts, depth, reading\nTask: Get depth from dew_point where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007546", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, ts, lat, value\n Sensor: temperature | fields: lat, unit, reading, value\nTask: Get lon from soil_moisture where ts appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007547", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, depth, lon, lat\n Sensor: evaporation | fields: unit, ts, value, type\nTask: Fetch lon from lightning where reading is greater than the count of of depth in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "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_fixed_v1_val_007548", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: unit, depth, lat, level\n Sensor: humidity | fields: qc, level, ts, type\nTask: Fetch lat from sunlight that have at least one corresponding humidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007549", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: ts, depth, lat, lon\n Sensor: sunlight | fields: level, depth, value, lat\nTask: Get lat from temperature where ts appears in sunlight readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007550", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: unit, reading, depth, qc\n Sensor: soil_moisture | fields: level, type, unit, ts\nTask: Get depth from wind_speed where ts appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007551", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: value, unit, ts, reading\n Sensor: lightning | fields: value, unit, type, depth\nTask: Fetch lon from uv_index where reading is greater than the minimum of depth in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007552", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, reading, unit, depth\n Sensor: cloud_cover | fields: ts, depth, lon, level\nTask: Retrieve lon from rainfall with depth above the MIN(reading) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007553", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lat, value, unit, level\n Sensor: lightning | fields: ts, lon, value, level\nTask: Get lat from wind_speed where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007554", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: qc, ts, level, lon\n Sensor: turbidity | fields: lon, depth, unit, qc\nTask: Retrieve lon from snow_depth with value above the SUM(reading) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007555", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: type, level, qc, ts\n Sensor: air_quality | fields: qc, ts, level, lon\nTask: Get level from drought_index where a corresponding entry exists in air_quality with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007556", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lon, depth, type, reading\n Sensor: soil_moisture | fields: reading, ts, unit, level\nTask: Fetch reading from temperature that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007557", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: ts, lon, unit, type\n Sensor: soil_moisture | fields: ts, type, unit, depth\nTask: Fetch reading from frost where unit exists in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007558", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, unit, type, lon\n Sensor: humidity | fields: ts, lat, lon, unit\nTask: Retrieve lon from sunlight whose type is found in humidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007559", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lat, lon, unit, ts\n Sensor: turbidity | fields: depth, reading, lon, value\nTask: Retrieve value from dew_point with depth above the MIN(depth) of turbidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007560", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: level, ts, lat, qc\n Sensor: frost | fields: value, depth, unit, lat\nTask: Retrieve reading from drought_index with depth above the MAX(value) of frost 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\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007561", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, lon, reading, qc\n Sensor: frost | fields: value, ts, reading, unit\nTask: Get value from drought_index where value exceeds the minimum depth from frost 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(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007562", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: level, unit, reading, depth\n Sensor: frost | fields: lon, depth, ts, lat\nTask: Retrieve depth from sunlight that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007563", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, reading, lat, value\n Sensor: soil_moisture | fields: unit, reading, lon, depth\nTask: Fetch value from temperature that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007564", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: value, level, lat, unit\n Sensor: wind_speed | fields: value, type, unit, reading\nTask: Get reading from soil_moisture where value exceeds the count of depth from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007565", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, qc, lat, value\n Sensor: uv_index | fields: value, level, lon, lat\nTask: Get depth from rainfall where reading exceeds the average value from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007566", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: ts, type, lon, unit\n Sensor: turbidity | fields: reading, ts, level, unit\nTask: Retrieve level from dew_point whose qc is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007567", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: type, depth, reading, level\n Sensor: dew_point | fields: unit, value, depth, lon\nTask: Retrieve level from drought_index whose qc is found in dew_point records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007568", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: reading, depth, ts, value\n Sensor: visibility | fields: ts, unit, lat, lon\nTask: Get level from turbidity where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007569", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: depth, ts, reading, type\n Sensor: soil_moisture | fields: lat, lon, value, qc\nTask: Get lon from lightning where unit appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "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_fixed_v1_val_007570", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: depth, value, lat, reading\n Sensor: air_quality | fields: reading, value, level, type\nTask: Get value from sunlight where type appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007571", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: reading, value, lon, ts\n Sensor: dew_point | fields: depth, lat, value, qc\nTask: Retrieve depth from sunlight that have at least one matching reading in dew_point sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007572", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: value, depth, lat, lon\n Sensor: temperature | fields: type, unit, reading, value\nTask: Fetch depth from pressure where value is greater than the total of reading in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007573", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: level, reading, lat, qc\n Sensor: visibility | fields: lat, lon, value, ts\nTask: Retrieve value from humidity whose type is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "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_fixed_v1_val_007574", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: value, level, reading, unit\n Sensor: turbidity | fields: lat, ts, reading, type\nTask: Retrieve lat from visibility whose depth is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007575", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: unit, lat, lon, depth\n Sensor: temperature | fields: qc, reading, level, value\nTask: Retrieve level from visibility that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007576", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, value, ts, lon\n Sensor: soil_moisture | fields: ts, reading, qc, depth\nTask: Fetch lat from drought_index where unit exists in soil_moisture sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007577", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, reading, ts, level\n Sensor: dew_point | fields: level, reading, lon, unit\nTask: Retrieve value 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=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007578", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: unit, reading, ts, qc\n Sensor: air_quality | fields: qc, lon, lat, value\nTask: Fetch value from cloud_cover where depth is greater than the minimum of reading in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007579", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lat, qc, value, reading\n Sensor: snow_depth | fields: qc, ts, lon, value\nTask: Fetch reading from temperature where depth exists in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007580", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, ts, qc, reading\n Sensor: wind_speed | fields: value, level, type, lat\nTask: Get depth from visibility where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\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": "thr", "inner_alias": "gst", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007581", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: type, ts, value, reading\n Sensor: uv_index | fields: reading, level, lat, unit\nTask: Fetch depth from air_quality where unit exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007582", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: level, value, reading, depth\n Sensor: rainfall | fields: value, lat, reading, depth\nTask: Fetch reading from evaporation where depth is greater than the total of depth in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007583", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, level, ts, qc\n Sensor: temperature | fields: unit, reading, value, lon\nTask: Get level from sunlight where depth exceeds the count of reading from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007584", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: qc, unit, reading, lon\n Sensor: soil_moisture | fields: level, reading, depth, lat\nTask: Get value from snow_depth where reading exceeds the total reading from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "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_fixed_v1_val_007585", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: unit, lat, reading, level\n Sensor: evaporation | fields: type, value, lon, qc\nTask: Get level from dew_point where value exceeds the minimum value from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007586", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lat, value, unit, reading\n Sensor: rainfall | fields: level, ts, depth, lon\nTask: Retrieve depth from pressure that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007587", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, depth, lat, reading\n Sensor: rainfall | fields: type, ts, unit, level\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=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007588", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, lat, depth, level\n Sensor: sunlight | fields: reading, ts, depth, qc\nTask: Fetch level from visibility where qc exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007589", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: unit, level, depth, lon\n Sensor: temperature | fields: qc, ts, level, value\nTask: Retrieve value from evaporation that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007590", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: reading, qc, lat, lon\n Sensor: sunlight | fields: value, type, reading, depth\nTask: Fetch lat from snow_depth that have at least one corresponding sunlight measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007591", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: type, depth, lon, qc\n Sensor: drought_index | fields: depth, type, reading, unit\nTask: Fetch reading from soil_moisture where ts exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007592", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lon, ts, value, qc\n Sensor: cloud_cover | fields: lat, lon, reading, type\nTask: Get value from evaporation where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007593", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: value, depth, unit, lat\n Sensor: dew_point | fields: qc, unit, value, ts\nTask: Get lat from cloud_cover where reading exceeds the maximum depth from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007594", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: reading, level, qc, lon\n Sensor: cloud_cover | fields: unit, depth, ts, reading\nTask: Fetch lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007595", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: level, depth, unit, value\n Sensor: evaporation | fields: value, depth, unit, ts\nTask: Retrieve value from uv_index that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007596", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: ts, reading, unit, level\n Sensor: cloud_cover | fields: level, value, ts, depth\nTask: Fetch reading from lightning where depth is greater than the maximum of depth in cloud_cover for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "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_fixed_v1_val_007597", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: qc, lon, depth, unit\n Sensor: soil_moisture | fields: value, depth, type, qc\nTask: Get depth from drought_index where reading exceeds the count of reading from soil_moisture for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007598", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, unit, lat, depth\n Sensor: evaporation | fields: type, level, qc, lon\nTask: Get level 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=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "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_fixed_v1_val_007599", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: qc, unit, lon, depth\n Sensor: humidity | fields: type, unit, qc, lon\nTask: Get value from rainfall where unit appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007600", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, reading, lat, level\n Sensor: pressure | fields: lat, reading, level, ts\nTask: Fetch depth from soil_moisture where depth exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007601", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, qc, ts, depth\n Sensor: temperature | fields: lat, unit, value, reading\nTask: Fetch value from wind_speed that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007602", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: type, reading, lat, level\n Sensor: humidity | fields: value, level, type, lon\nTask: Fetch depth from cloud_cover where reading is greater than the maximum of depth in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007603", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lon, qc, depth, unit\n Sensor: visibility | fields: value, lat, type, ts\nTask: Fetch level from air_quality where depth is greater than the count of of reading in visibility for matching type.\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(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007604", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: type, ts, lat, reading\n Sensor: humidity | fields: lat, depth, lon, reading\nTask: Fetch lon from dew_point where depth is greater than the maximum of reading in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007605", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, level, depth, type\n Sensor: sunlight | fields: lon, ts, depth, lat\nTask: Retrieve reading from temperature with depth above the SUM(depth) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007606", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: unit, type, qc, depth\n Sensor: cloud_cover | fields: reading, value, lon, ts\nTask: Fetch reading from snow_depth where type exists in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007607", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: qc, depth, ts, type\n Sensor: uv_index | fields: lat, ts, level, lon\nTask: Get depth from turbidity where depth exceeds the count of reading from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007608", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: reading, value, lon, ts\n Sensor: lightning | fields: ts, reading, lon, qc\nTask: Fetch level from drought_index where value is greater than the maximum of value in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007609", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: reading, level, ts, lat\n Sensor: soil_moisture | fields: level, lon, type, reading\nTask: Get lon from sunlight where type appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007610", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, depth, type, level\n Sensor: frost | fields: lat, level, depth, type\nTask: Fetch value 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=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007611", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, lon, value, unit\n Sensor: dew_point | fields: qc, unit, ts, level\nTask: Get lon from snow_depth where qc appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007612", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, type, level, unit\n Sensor: lightning | fields: depth, unit, qc, ts\nTask: Fetch value from cloud_cover where ts exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007613", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: depth, qc, value, level\n Sensor: evaporation | fields: qc, ts, lat, value\nTask: Get lat from rainfall where depth exceeds the total value from evaporation for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007614", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, lon, level, value\n Sensor: evaporation | fields: lat, depth, ts, lon\nTask: Fetch level from pressure that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007615", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lat, lon, type, depth\n Sensor: lightning | fields: type, qc, reading, value\nTask: Retrieve value from turbidity that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007616", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, lat, level, value\n Sensor: rainfall | fields: ts, value, lat, level\nTask: Get lon from snow_depth where reading exceeds the minimum reading from rainfall for the same unit.\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(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007617", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: depth, value, type, qc\n Sensor: visibility | fields: qc, depth, type, reading\nTask: Fetch lon 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=\"clr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007618", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, type, reading, qc\n Sensor: cloud_cover | fields: level, type, lat, value\nTask: Fetch depth from soil_moisture where unit exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007619", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, lon, depth, qc\n Sensor: lightning | fields: reading, unit, lon, value\nTask: Retrieve reading from humidity whose ts is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007620", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: value, qc, type, unit\n Sensor: temperature | fields: ts, value, lon, qc\nTask: Get lat from snow_depth where type appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007621", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, lon, type, value\n Sensor: soil_moisture | fields: ts, value, lon, depth\nTask: Fetch lat from sunlight where value is greater than the average of value in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007622", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: depth, unit, ts, level\n Sensor: snow_depth | fields: lon, qc, ts, level\nTask: Retrieve depth from evaporation whose depth is found in snow_depth records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007623", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, level, depth, qc\n Sensor: pressure | fields: lon, type, qc, ts\nTask: Retrieve reading from evaporation with reading above the MAX(depth) of pressure 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\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007624", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, unit, ts, depth\n Sensor: frost | fields: value, level, type, reading\nTask: Get level from lightning where type appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007625", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, lon, depth, type\n Sensor: visibility | fields: type, ts, level, value\nTask: Fetch level from evaporation that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007626", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: type, reading, depth, unit\n Sensor: drought_index | fields: type, ts, unit, depth\nTask: Get lat from evaporation where depth appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007627", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, level, qc, ts\n Sensor: frost | fields: type, ts, qc, value\nTask: Retrieve reading from rainfall whose type is found in frost records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007628", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, qc, type, depth\n Sensor: humidity | fields: lon, type, unit, qc\nTask: Get depth from rainfall where a corresponding entry exists in humidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007629", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lat, ts, qc, unit\n Sensor: uv_index | fields: level, unit, reading, type\nTask: Get depth from snow_depth where ts appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007630", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: qc, ts, type, level\n Sensor: visibility | fields: reading, lat, ts, unit\nTask: Get depth from soil_moisture where type appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007631", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, value, reading, level\n Sensor: humidity | fields: reading, value, type, depth\nTask: Retrieve reading from uv_index that have at least one matching reading in humidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007632", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lon, level, ts, value\n Sensor: dew_point | fields: unit, qc, lon, ts\nTask: Retrieve lat from uv_index whose type is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007633", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: value, lat, ts, type\n Sensor: soil_moisture | fields: qc, lat, ts, level\nTask: Fetch reading 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=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007634", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: qc, unit, lon, lat\n Sensor: rainfall | fields: level, unit, lat, depth\nTask: Retrieve depth from lightning whose unit is found in rainfall records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007635", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: ts, reading, type, lon\n Sensor: evaporation | fields: value, depth, lon, type\nTask: Get lon from sunlight where value exceeds the count of reading from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007636", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, ts, unit, level\n Sensor: drought_index | fields: lon, value, lat, unit\nTask: Get level from visibility where reading exceeds the maximum reading from drought_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007637", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: reading, qc, value, lat\n Sensor: dew_point | fields: level, lon, type, reading\nTask: Fetch lon from air_quality where depth is greater than the total of value in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "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_fixed_v1_val_007638", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, value, reading, unit\n Sensor: pressure | fields: unit, level, type, depth\nTask: Retrieve value from air_quality with reading above the MIN(reading) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007639", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, lat, value, ts\n Sensor: uv_index | fields: lon, unit, qc, lat\nTask: Fetch value from visibility where reading is greater than the count of of depth in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007640", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: qc, value, reading, depth\n Sensor: cloud_cover | fields: type, lat, depth, value\nTask: Get lon from dew_point where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007641", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: type, unit, lat, lon\n Sensor: cloud_cover | fields: ts, type, lon, unit\nTask: Retrieve value from turbidity with value above the MAX(reading) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007642", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: unit, reading, qc, lon\n Sensor: pressure | fields: depth, ts, reading, qc\nTask: Get reading from humidity where reading exceeds the count of value from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007643", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: unit, level, lat, type\n Sensor: turbidity | fields: ts, level, value, qc\nTask: Get depth from cloud_cover where type appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007644", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: unit, ts, level, lat\n Sensor: pressure | fields: value, qc, type, reading\nTask: Fetch depth from sunlight that have at least one corresponding pressure measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007645", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lon, qc, lat, value\n Sensor: pressure | fields: level, ts, unit, qc\nTask: Get lat from snow_depth where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007646", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: ts, qc, level, reading\n Sensor: cloud_cover | fields: depth, unit, lon, qc\nTask: Fetch reading from frost where depth is greater than the average of value in cloud_cover for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007647", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: reading, lon, level, ts\n Sensor: frost | fields: reading, lat, type, level\nTask: Get lat from snow_depth where depth exceeds the maximum value from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\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", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007648", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lon, unit, qc, type\n Sensor: wind_speed | fields: depth, type, ts, reading\nTask: Retrieve lat from humidity whose unit is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007649", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: unit, reading, depth, lat\n Sensor: humidity | fields: lat, depth, lon, unit\nTask: Get value from dew_point where depth exceeds the total value from humidity for the same unit.\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(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007650", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, lat, lon, ts\n Sensor: turbidity | fields: lat, ts, value, unit\nTask: Get depth from air_quality where depth exceeds the count of value from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007651", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, type, lat, level\n Sensor: frost | fields: depth, qc, ts, level\nTask: Fetch depth from temperature that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007652", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: depth, lat, level, qc\n Sensor: evaporation | fields: depth, ts, level, qc\nTask: Retrieve lat from snow_depth whose type is found in evaporation records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007653", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: value, ts, depth, level\n Sensor: visibility | fields: reading, ts, lat, qc\nTask: Retrieve reading from drought_index whose depth is found in visibility records where unit 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(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007654", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: unit, level, lon, value\n Sensor: evaporation | fields: qc, lat, type, ts\nTask: Retrieve lon from sunlight that have at least one matching reading in evaporation sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007655", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: unit, reading, ts, lat\n Sensor: cloud_cover | fields: level, reading, value, lon\nTask: Retrieve depth from humidity that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007656", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, depth, type, qc\n Sensor: temperature | fields: lat, depth, lon, qc\nTask: Fetch lon from soil_moisture where depth exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007657", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, unit, lat, value\n Sensor: rainfall | fields: ts, depth, lon, level\nTask: Get lat from uv_index where ts appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007658", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: value, type, lon, reading\n Sensor: turbidity | fields: depth, ts, type, level\nTask: Fetch value 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=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007659", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: lon, value, lat, depth\n Sensor: rainfall | fields: depth, ts, level, lat\nTask: Retrieve reading from frost with reading above the SUM(reading) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007660", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: reading, unit, lat, value\n Sensor: dew_point | fields: reading, type, unit, depth\nTask: Fetch lon from snow_depth where depth is greater than the total of value in dew_point for matching qc.\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(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007661", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: depth, type, lat, qc\n Sensor: uv_index | fields: value, type, qc, lon\nTask: Retrieve lat from wind_speed whose type 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=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007662", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lon, value, reading, type\n Sensor: humidity | fields: lon, value, reading, ts\nTask: Retrieve value from temperature whose ts 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=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007663", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, lat, type, level\n Sensor: drought_index | fields: lon, value, ts, depth\nTask: Fetch level from evaporation where unit exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007664", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: type, value, qc, lon\n Sensor: cloud_cover | fields: qc, lon, type, reading\nTask: Get depth from visibility where ts appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007665", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: type, qc, reading, value\n Sensor: frost | fields: qc, type, unit, lat\nTask: Fetch lat from visibility that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007666", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: type, ts, lat, level\n Sensor: dew_point | fields: lon, ts, qc, type\nTask: Retrieve depth from lightning with reading above the MAX(depth) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007667", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: reading, ts, value, level\n Sensor: pressure | fields: lon, reading, level, unit\nTask: Retrieve reading 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=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007668", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: depth, value, reading, type\n Sensor: turbidity | fields: depth, qc, lat, value\nTask: Retrieve lat from humidity that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007669", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, qc, level, type\n Sensor: rainfall | fields: lat, type, unit, ts\nTask: Get lat from lightning where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007670", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, qc, value, lon\n Sensor: pressure | fields: type, lat, level, unit\nTask: Get level from sunlight where value exceeds the average reading from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007671", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: reading, depth, lat, unit\n Sensor: pressure | fields: unit, level, lon, reading\nTask: Retrieve lat from snow_depth whose unit is found in pressure records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007672", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lon, value, unit, type\n Sensor: rainfall | fields: depth, unit, reading, type\nTask: Fetch value from uv_index where qc exists in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007673", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: lon, level, unit, ts\n Sensor: snow_depth | fields: depth, qc, lon, reading\nTask: Fetch depth from temperature where reading is greater than the maximum of depth in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007674", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lon, value, depth, type\n Sensor: wind_speed | fields: type, depth, qc, lat\nTask: Fetch lat 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=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007675", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: depth, value, qc, unit\n Sensor: humidity | fields: qc, type, ts, level\nTask: Retrieve level from frost whose type is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007676", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: reading, qc, depth, unit\n Sensor: uv_index | fields: ts, level, lat, qc\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=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007677", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, lon, ts, level\n Sensor: visibility | fields: unit, level, depth, lon\nTask: Get value from air_quality where qc appears in visibility 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(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007678", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lat, type, ts, qc\n Sensor: humidity | fields: reading, unit, lat, qc\nTask: Fetch reading from pressure where reading is greater than the average of depth in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007679", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lat, lon, ts, unit\n Sensor: temperature | fields: reading, qc, level, depth\nTask: Fetch value from pressure that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007680", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: type, lat, ts, reading\n Sensor: humidity | fields: lon, value, qc, unit\nTask: Get lat from visibility where type appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007681", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, lat, unit, type\n Sensor: lightning | fields: reading, value, qc, type\nTask: Get value from dew_point where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007682", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lat, type, level, reading\n Sensor: pressure | fields: ts, depth, qc, type\nTask: Get value from uv_index where a corresponding entry exists in pressure with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007683", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, ts, depth, qc\n Sensor: dew_point | fields: level, lat, qc, type\nTask: Get value from sunlight where qc appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "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_fixed_v1_val_007684", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: level, lon, type, depth\n Sensor: dew_point | fields: value, lon, reading, unit\nTask: Fetch lon from uv_index that have at least one corresponding dew_point measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007685", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, type, value, unit\n Sensor: snow_depth | fields: lon, type, lat, value\nTask: Retrieve value from humidity with value above the SUM(value) of snow_depth readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "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_fixed_v1_val_007686", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: reading, lat, level, ts\n Sensor: uv_index | fields: type, reading, unit, ts\nTask: Get reading from evaporation where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007687", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: qc, reading, lon, unit\n Sensor: pressure | fields: lat, unit, level, lon\nTask: Retrieve depth from humidity whose type is found in pressure records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007688", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: type, lat, ts, depth\n Sensor: cloud_cover | fields: value, depth, level, type\nTask: Get depth from lightning where reading exceeds the total value from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", 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=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007689", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, type, level, qc\n Sensor: evaporation | fields: lat, unit, reading, lon\nTask: Get lat from soil_moisture where depth appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007690", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, unit, value, ts\n Sensor: air_quality | fields: depth, ts, qc, value\nTask: Fetch depth 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=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007691", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: depth, qc, level, type\n Sensor: pressure | fields: depth, qc, lat, ts\nTask: Retrieve reading from temperature that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007692", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: depth, lon, ts, type\n Sensor: evaporation | fields: type, lon, reading, unit\nTask: Fetch level from sunlight that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007693", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: level, lat, reading, depth\n Sensor: drought_index | fields: lat, reading, lon, unit\nTask: Get lon 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=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007694", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lon, qc, ts, value\n Sensor: uv_index | fields: type, ts, depth, level\nTask: Retrieve reading from evaporation that have at least one matching reading in uv_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007695", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: value, reading, depth, ts\n Sensor: turbidity | fields: unit, qc, reading, depth\nTask: Fetch reading from humidity where value is greater than the count of of reading in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007696", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, qc, depth, unit\n Sensor: uv_index | fields: level, value, lat, reading\nTask: Fetch depth from evaporation where value is greater than the average of reading in uv_index for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007697", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: ts, depth, level, lon\n Sensor: humidity | fields: unit, lat, qc, depth\nTask: Fetch lon from cloud_cover where qc exists in humidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007698", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, reading, lat, lon\n Sensor: sunlight | fields: value, lat, qc, depth\nTask: Retrieve level from soil_moisture with reading above the COUNT(value) of sunlight 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\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007699", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lon, value, lat, type\n Sensor: uv_index | fields: unit, type, value, ts\nTask: Get lon from humidity where depth appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007700", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lat, value, ts, lon\n Sensor: rainfall | fields: qc, type, lat, ts\nTask: Fetch level from turbidity where value is greater than the minimum of value in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007701", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, qc, value, type\n Sensor: drought_index | fields: level, depth, value, type\nTask: Fetch value from snow_depth where depth is greater than the average of value in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007702", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: level, type, ts, unit\n Sensor: soil_moisture | fields: lat, unit, ts, type\nTask: Retrieve level from sunlight whose unit is found in soil_moisture records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007703", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: reading, qc, lon, depth\n Sensor: drought_index | fields: level, lat, depth, type\nTask: Fetch lon from frost where value is greater than the maximum of value in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007704", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: ts, qc, value, depth\n Sensor: frost | fields: value, lon, unit, type\nTask: Get reading from humidity where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "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_fixed_v1_val_007705", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: unit, depth, lat, lon\n Sensor: turbidity | fields: depth, unit, lon, level\nTask: Get lat from wind_speed where type appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007706", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: type, level, lat, lon\n Sensor: visibility | fields: level, lon, value, unit\nTask: Get value from air_quality where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007707", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, depth, value, lon\n Sensor: uv_index | fields: level, depth, unit, type\nTask: Fetch lon from frost that have at least one corresponding uv_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007708", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: type, value, ts, level\n Sensor: drought_index | fields: qc, reading, lon, value\nTask: Retrieve lon from lightning with depth above the SUM(reading) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007709", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lat, reading, depth, type\n Sensor: dew_point | fields: unit, level, lon, reading\nTask: Get lat 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=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007710", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: ts, level, value, reading\n Sensor: sunlight | fields: type, depth, lat, ts\nTask: Retrieve depth from soil_moisture with depth above the MAX(depth) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007711", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, type, qc, ts\n Sensor: soil_moisture | fields: qc, level, type, ts\nTask: Retrieve lat from cloud_cover with depth above the MAX(value) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007712", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: reading, depth, unit, lon\n Sensor: air_quality | fields: lat, unit, type, level\nTask: Get level from dew_point where value exceeds the count of reading from air_quality for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007713", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: reading, ts, lon, type\n Sensor: air_quality | fields: lat, ts, type, unit\nTask: Fetch depth from sunlight where reading is greater than the minimum of reading in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007714", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, depth, level, type\n Sensor: soil_moisture | fields: ts, reading, unit, lat\nTask: Fetch level from turbidity where depth is greater than the maximum of value in soil_moisture for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007715", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, type, ts, qc\n Sensor: cloud_cover | fields: level, type, value, lon\nTask: Get level from drought_index where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007716", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, lon, unit, type\n Sensor: humidity | fields: qc, lon, depth, value\nTask: Fetch value from rainfall where reading is greater than the total of value in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007717", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: lat, level, value, depth\n Sensor: sunlight | fields: level, reading, ts, lon\nTask: Get value from rainfall where depth appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007718", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: type, reading, depth, value\n Sensor: soil_moisture | fields: reading, ts, type, unit\nTask: Retrieve reading from lightning with reading above the SUM(value) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007719", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: value, ts, depth, lon\n Sensor: lightning | fields: lat, depth, ts, lon\nTask: Get level from soil_moisture where reading exceeds the average value from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007720", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, qc, type, unit\n Sensor: cloud_cover | fields: depth, qc, type, value\nTask: Fetch value from soil_moisture where ts exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "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_fixed_v1_val_007721", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: depth, level, qc, unit\n Sensor: drought_index | fields: lon, value, depth, unit\nTask: Retrieve value from evaporation with reading above the MAX(value) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007722", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: value, ts, reading, lon\n Sensor: snow_depth | fields: lat, reading, value, qc\nTask: Get depth from rainfall where depth appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007723", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: value, lon, unit, lat\n Sensor: air_quality | fields: depth, lon, lat, value\nTask: Get depth from lightning where value exceeds the maximum reading from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007724", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: unit, value, type, lon\n Sensor: visibility | fields: level, unit, reading, type\nTask: Retrieve depth from wind_speed that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007725", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lon, qc, type, reading\n Sensor: dew_point | fields: value, qc, ts, type\nTask: Get level from snow_depth where depth exceeds the minimum reading from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "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_fixed_v1_val_007726", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, depth, unit, ts\n Sensor: dew_point | fields: qc, lon, unit, value\nTask: Get value from rainfall where depth exceeds the count of value from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007727", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: type, value, ts, qc\n Sensor: wind_speed | fields: depth, unit, lon, qc\nTask: Fetch level from evaporation where value is greater than the minimum of reading in wind_speed for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007728", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, qc, lat, depth\n Sensor: cloud_cover | fields: unit, depth, ts, reading\nTask: Get level from temperature where depth appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007729", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: unit, lat, level, depth\n Sensor: snow_depth | fields: level, depth, qc, reading\nTask: Retrieve reading from humidity with reading above the AVG(reading) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007730", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: level, unit, qc, lon\n Sensor: turbidity | fields: lat, lon, value, level\nTask: Retrieve reading from humidity whose unit is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007731", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, reading, lon, qc\n Sensor: uv_index | fields: lon, lat, qc, level\nTask: Get level from turbidity where ts appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007732", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: depth, lat, qc, reading\n Sensor: humidity | fields: type, lat, ts, qc\nTask: Get lat from temperature where type appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007733", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: ts, reading, qc, level\n Sensor: snow_depth | fields: lon, lat, ts, value\nTask: Retrieve lon from soil_moisture that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007734", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: type, unit, level, lat\n Sensor: turbidity | fields: lat, unit, type, level\nTask: Get reading from humidity where depth exceeds the maximum reading from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007735", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: depth, qc, ts, lon\n Sensor: frost | fields: reading, qc, lon, level\nTask: Retrieve level from humidity whose qc is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007736", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: ts, unit, reading, lat\n Sensor: soil_moisture | fields: level, lon, unit, qc\nTask: Fetch level from cloud_cover that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007737", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: qc, value, type, ts\n Sensor: visibility | fields: qc, level, lon, reading\nTask: Retrieve lon from rainfall whose qc is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007738", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, reading, lat, value\n Sensor: snow_depth | fields: type, reading, value, depth\nTask: Get lat from temperature where ts appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007739", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: type, lon, qc, value\n Sensor: cloud_cover | fields: value, ts, type, lon\nTask: Fetch reading 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=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007740", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, lon, ts, lat\n Sensor: turbidity | fields: reading, type, ts, lat\nTask: Get value from air_quality where ts appears in turbidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007741", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: qc, lat, ts, level\n Sensor: uv_index | fields: depth, reading, value, lon\nTask: Fetch value from sunlight that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007742", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, level, lat, ts\n Sensor: pressure | fields: lat, value, reading, ts\nTask: Get lon from wind_speed where reading exceeds the average depth from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007743", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: ts, qc, depth, unit\n Sensor: soil_moisture | fields: ts, value, level, lon\nTask: Fetch level from cloud_cover where reading is greater than the maximum of depth in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007744", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: type, reading, lat, lon\n Sensor: cloud_cover | fields: depth, type, level, qc\nTask: Fetch lon from rainfall where ts exists in cloud_cover sensor data for the same ts.\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=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007745", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: ts, level, type, unit\n Sensor: lightning | fields: lat, lon, reading, qc\nTask: Fetch lon from pressure where value is greater than the total of value in lightning for matching type.\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=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007746", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: depth, lat, unit, reading\n Sensor: temperature | fields: lon, unit, depth, reading\nTask: Retrieve lat from turbidity whose qc is found in temperature 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(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007747", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lat, reading, level, type\n Sensor: snow_depth | fields: reading, unit, lon, value\nTask: Get value from pressure where type appears in snow_depth readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007748", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: lon, ts, unit, qc\n Sensor: rainfall | fields: reading, lon, unit, value\nTask: Get depth from wind_speed where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007749", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, ts, qc, reading\n Sensor: drought_index | fields: reading, value, lon, type\nTask: Retrieve depth from lightning with value above the MIN(depth) of drought_index 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\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007750", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, lon, reading, qc\n Sensor: turbidity | fields: depth, lon, reading, lat\nTask: Fetch level from drought_index where depth exists in turbidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007751", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: unit, reading, ts, lon\n Sensor: soil_moisture | fields: lat, value, level, depth\nTask: Fetch value from air_quality that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007752", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, value, unit, level\n Sensor: humidity | fields: value, ts, type, level\nTask: Get reading from pressure where depth exceeds the maximum reading from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007753", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: qc, depth, level, value\n Sensor: air_quality | fields: depth, type, lon, ts\nTask: Fetch value from evaporation where depth exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\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": "evaporation", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007754", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: type, value, unit, ts\n Sensor: humidity | fields: depth, reading, level, ts\nTask: Fetch lon from visibility where depth is greater than the total of depth in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007755", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: lat, qc, type, level\n Sensor: uv_index | fields: qc, value, ts, depth\nTask: Get lat from drought_index where unit appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007756", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: qc, depth, lon, value\n Sensor: evaporation | fields: level, lat, value, reading\nTask: Get lat from visibility where depth exceeds the total depth from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007757", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, ts, level, value\n Sensor: uv_index | fields: lat, depth, value, qc\nTask: Fetch value from turbidity that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007758", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: depth, lon, type, ts\n Sensor: uv_index | fields: reading, lon, type, ts\nTask: Retrieve level from wind_speed with value above the MAX(depth) of uv_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007759", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lon, reading, level, unit\n Sensor: lightning | fields: reading, level, ts, type\nTask: Retrieve value from evaporation with value above the COUNT(depth) of lightning readings sharing the same 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(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "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_fixed_v1_val_007760", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, reading, ts, value\n Sensor: dew_point | fields: depth, qc, lon, value\nTask: Fetch lat 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=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007761", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: unit, lat, lon, reading\n Sensor: visibility | fields: type, reading, lat, unit\nTask: Fetch lat from humidity where depth is greater than the count of of reading in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007762", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: lat, reading, value, lon\n Sensor: wind_speed | fields: lat, qc, depth, ts\nTask: Fetch value from temperature that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007763", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, reading, ts, unit\n Sensor: frost | fields: lon, lat, reading, type\nTask: Retrieve value from dew_point with value above the AVG(depth) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007764", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, level, type, value\n Sensor: uv_index | fields: value, depth, lat, reading\nTask: Fetch reading from temperature where type exists in uv_index 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(\"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": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007765", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: ts, qc, unit, level\n Sensor: pressure | fields: reading, lon, ts, type\nTask: Fetch level from evaporation where value is greater than the minimum of reading in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007766", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, value, ts, qc\n Sensor: wind_speed | fields: ts, unit, depth, type\nTask: Get depth from lightning where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007767", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: depth, qc, unit, ts\n Sensor: air_quality | fields: ts, level, depth, reading\nTask: Fetch level from temperature where depth is greater than the minimum of reading in air_quality for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007768", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: level, type, depth, reading\n Sensor: cloud_cover | fields: value, level, unit, ts\nTask: Get value from sunlight where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007769", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lat, qc, unit, level\n Sensor: soil_moisture | fields: value, ts, level, depth\nTask: Retrieve depth from evaporation that have at least one matching reading in soil_moisture sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007770", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, type, unit, lon\n Sensor: cloud_cover | fields: lat, value, depth, reading\nTask: Retrieve level from frost with value above the COUNT(depth) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007771", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lat, type, level, depth\n Sensor: drought_index | fields: unit, level, value, reading\nTask: Retrieve reading from turbidity that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007772", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: type, lon, reading, value\n Sensor: pressure | fields: lat, qc, depth, type\nTask: Retrieve lat from visibility with value above the MIN(depth) of pressure readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007773", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lon, depth, type, reading\n Sensor: frost | fields: lat, unit, lon, value\nTask: Retrieve depth from pressure that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007774", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: reading, lon, type, lat\n Sensor: lightning | fields: type, level, ts, qc\nTask: Retrieve depth from drought_index whose ts is found in lightning records where qc 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(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007775", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, reading, type, unit\n Sensor: dew_point | fields: reading, level, type, lat\nTask: Fetch reading from evaporation that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "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_fixed_v1_val_007776", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: depth, ts, unit, reading\n Sensor: snow_depth | fields: value, qc, reading, lat\nTask: Fetch level from rainfall where depth exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007777", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lat, ts, depth, reading\n Sensor: soil_moisture | fields: lat, type, qc, reading\nTask: Fetch value from sunlight where depth is greater than the count of of value in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007778", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: ts, depth, type, level\n Sensor: lightning | fields: type, ts, level, reading\nTask: Retrieve lat from cloud_cover whose qc is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007779", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: type, lat, value, depth\n Sensor: soil_moisture | fields: level, type, unit, reading\nTask: Fetch depth from uv_index where ts exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\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": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007780", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, unit, reading, value\n Sensor: pressure | fields: type, level, lat, reading\nTask: Get lat from wind_speed where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007781", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: unit, reading, value, qc\n Sensor: drought_index | fields: level, reading, type, ts\nTask: Retrieve depth from pressure with value above the COUNT(value) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007782", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: level, depth, ts, reading\n Sensor: soil_moisture | fields: ts, value, unit, reading\nTask: Retrieve value from frost with depth above the MIN(depth) of soil_moisture readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007783", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, qc, lat, value\n Sensor: turbidity | fields: unit, reading, level, lon\nTask: Retrieve level from humidity whose unit is found in turbidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007784", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: qc, unit, value, reading\n Sensor: soil_moisture | fields: ts, reading, level, type\nTask: Fetch level from sunlight where unit exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007785", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, lon, ts, level\n Sensor: turbidity | fields: type, lon, level, lat\nTask: Get depth from frost where depth exceeds the average reading from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007786", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lat, unit, qc, type\n Sensor: air_quality | fields: level, unit, ts, value\nTask: Get level from evaporation where unit appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007787", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, type, ts, reading\n Sensor: rainfall | fields: depth, qc, reading, lat\nTask: Fetch lon from humidity that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007788", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: ts, type, depth, reading\n Sensor: lightning | fields: ts, lon, level, value\nTask: Get reading from pressure where ts appears in lightning readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007789", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: level, value, lat, unit\n Sensor: turbidity | fields: qc, lat, unit, level\nTask: Fetch reading from lightning where unit exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007790", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: unit, value, depth, level\n Sensor: uv_index | fields: unit, depth, lon, qc\nTask: Fetch value from humidity that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007791", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lon, unit, lat, ts\n Sensor: sunlight | fields: lon, depth, unit, lat\nTask: Retrieve lat from visibility with value above the COUNT(reading) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007792", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: value, reading, unit, lon\n Sensor: uv_index | fields: type, depth, level, reading\nTask: Fetch lat from drought_index that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007793", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: qc, type, value, level\n Sensor: temperature | fields: value, type, level, reading\nTask: Fetch lat from visibility where depth exists in temperature 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(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007794", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, level, value, lon\n Sensor: rainfall | fields: depth, lat, type, qc\nTask: Get level from wind_speed where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007795", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: depth, lat, type, qc\n Sensor: cloud_cover | fields: depth, unit, lon, qc\nTask: Retrieve lon from turbidity with depth above the MIN(depth) of cloud_cover readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007796", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: level, unit, value, lat\n Sensor: turbidity | fields: lat, type, ts, unit\nTask: Retrieve reading from frost that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007797", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: value, lon, ts, level\n Sensor: soil_moisture | fields: lat, value, depth, unit\nTask: Fetch level from humidity where reading is greater than the count of of value in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007798", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, type, reading, unit\n Sensor: soil_moisture | fields: unit, level, lat, depth\nTask: Fetch depth from uv_index that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\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": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007799", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: qc, ts, lat, value\n Sensor: cloud_cover | fields: reading, lat, qc, unit\nTask: Get level from uv_index where value exceeds the total value from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007800", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: qc, type, reading, lon\n Sensor: sunlight | fields: level, ts, qc, type\nTask: Get level from wind_speed where value exceeds the total reading from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007801", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: lat, level, qc, lon\n Sensor: wind_speed | fields: value, level, depth, reading\nTask: Retrieve value from air_quality that have at least one matching reading in wind_speed sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007802", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lon, unit, qc, ts\n Sensor: uv_index | fields: type, depth, value, lon\nTask: Fetch reading from wind_speed where reading is greater than the minimum of depth in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007803", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: ts, qc, lon, value\n Sensor: frost | fields: value, ts, reading, qc\nTask: Retrieve depth from uv_index with depth above the SUM(value) of frost 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(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007804", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: type, depth, lat, qc\n Sensor: frost | fields: type, unit, value, level\nTask: Retrieve level from uv_index that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007805", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, unit, type, ts\n Sensor: pressure | fields: value, qc, level, depth\nTask: Fetch value from dew_point that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007806", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: qc, value, type, unit\n Sensor: snow_depth | fields: type, lat, qc, reading\nTask: Get level from lightning where reading exceeds the count of reading from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007807", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, value, depth, lon\n Sensor: sunlight | fields: unit, type, lon, level\nTask: Retrieve level 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=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007808", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, ts, reading, lon\n Sensor: soil_moisture | fields: depth, level, reading, ts\nTask: Get reading from drought_index where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007809", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: reading, level, value, depth\n Sensor: dew_point | fields: lon, qc, value, lat\nTask: Get reading from pressure where value exceeds the maximum depth from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007810", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lat, unit, reading, level\n Sensor: snow_depth | fields: type, qc, value, reading\nTask: Retrieve level from visibility whose qc is found in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007811", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: type, unit, lat, qc\n Sensor: drought_index | fields: level, reading, unit, ts\nTask: Retrieve value from rainfall that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007812", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: unit, ts, reading, qc\n Sensor: wind_speed | fields: level, type, ts, unit\nTask: Get reading from rainfall where reading exceeds the count of reading from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007813", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, reading, level, lon\n Sensor: visibility | fields: value, qc, lon, reading\nTask: Fetch level from snow_depth where depth is greater than the maximum of reading in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007814", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: ts, lat, unit, reading\n Sensor: visibility | fields: lon, type, lat, ts\nTask: Get value from air_quality where reading exceeds the count of reading from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007815", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, value, lon, depth\n Sensor: visibility | fields: unit, qc, type, ts\nTask: Fetch depth from uv_index that have at least one corresponding visibility measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007816", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lon, lat, level, qc\n Sensor: sunlight | fields: type, reading, value, qc\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=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007817", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, lon, type, ts\n Sensor: air_quality | fields: unit, ts, level, lon\nTask: Get lat from drought_index where type appears in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007818", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: reading, level, type, lat\n Sensor: evaporation | fields: value, level, qc, type\nTask: Fetch depth from humidity where depth is greater than the minimum of reading 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\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007819", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: value, lat, level, lon\n Sensor: turbidity | fields: ts, lon, qc, level\nTask: Fetch value from humidity where reading is greater than the maximum of reading in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007820", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, depth, ts, type\n Sensor: evaporation | fields: type, level, lat, qc\nTask: Retrieve value from rainfall that have at least one matching reading in evaporation sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007821", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, depth, lat, qc\n Sensor: frost | fields: type, value, lat, unit\nTask: Fetch lon from turbidity that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007822", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: qc, lon, ts, type\n Sensor: air_quality | fields: type, lon, depth, reading\nTask: Fetch reading from visibility where depth is greater than the maximum of value in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007823", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lon, value, type, reading\n Sensor: lightning | fields: lat, type, lon, qc\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=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007824", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: depth, qc, lon, reading\n Sensor: frost | fields: qc, type, reading, lon\nTask: Fetch lon from humidity where depth exists in frost sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "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_fixed_v1_val_007825", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: qc, unit, lon, ts\n Sensor: drought_index | fields: ts, lon, type, value\nTask: Fetch depth from turbidity where value is greater than the total of value in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "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_fixed_v1_val_007826", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: level, ts, unit, depth\n Sensor: sunlight | fields: lat, type, ts, unit\nTask: Get value from rainfall where ts appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007827", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, value, qc, lat\n Sensor: wind_speed | fields: level, type, lat, lon\nTask: Get reading from turbidity where unit appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007828", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, value, reading, level\n Sensor: wind_speed | fields: lon, reading, depth, qc\nTask: Get reading from lightning where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007829", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, ts, value, lat\n Sensor: humidity | fields: level, depth, reading, lat\nTask: Fetch value 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=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007830", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: level, lat, type, unit\n Sensor: pressure | fields: reading, level, lat, lon\nTask: Get lon from cloud_cover where value exceeds the maximum value from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007831", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: reading, qc, level, type\n Sensor: lightning | fields: ts, level, lat, unit\nTask: Retrieve depth from humidity with depth above the SUM(value) of lightning readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007832", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, lon, ts, unit\n Sensor: drought_index | fields: depth, type, level, reading\nTask: Fetch value from cloud_cover where type exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007833", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, reading, lon, depth\n Sensor: humidity | fields: lat, ts, level, type\nTask: Get reading from air_quality where unit appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007834", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: value, lat, qc, level\n Sensor: pressure | fields: depth, ts, qc, level\nTask: Get lon from turbidity where depth appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007835", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: type, lon, level, value\n Sensor: frost | fields: ts, reading, value, lat\nTask: Fetch value from turbidity that have at least one corresponding frost measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007836", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lon, level, qc, ts\n Sensor: air_quality | fields: level, ts, reading, type\nTask: Fetch depth from lightning where value is greater than the average of reading in air_quality for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007837", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: value, qc, unit, lat\n Sensor: sunlight | fields: depth, ts, reading, type\nTask: Fetch level from dew_point where value is greater than the average of depth in sunlight for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007838", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: reading, ts, depth, lat\n Sensor: pressure | fields: reading, type, level, depth\nTask: Get depth from frost where value exceeds the minimum value from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007839", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, type, depth, qc\n Sensor: uv_index | fields: lat, reading, ts, type\nTask: Get depth from cloud_cover where reading exceeds the count of depth from uv_index for the same qc.\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(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007840", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: reading, value, level, type\n Sensor: wind_speed | fields: unit, reading, lon, level\nTask: Retrieve lat 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=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007841", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, reading, lon, unit\n Sensor: humidity | fields: ts, qc, lat, depth\nTask: Get value from air_quality where value exceeds the total reading from humidity for the same depth.\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(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007842", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: reading, depth, unit, lat\n Sensor: evaporation | fields: value, level, qc, lon\nTask: Get reading from visibility where a corresponding entry exists in evaporation with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007843", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, type, lon, unit\n Sensor: temperature | fields: level, lat, lon, reading\nTask: Get value from air_quality where type appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007844", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, level, type, unit\n Sensor: lightning | fields: lon, level, qc, value\nTask: Get reading from sunlight where reading exceeds the minimum reading from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007845", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: depth, type, level, ts\n Sensor: uv_index | fields: level, qc, value, lat\nTask: Get level from snow_depth where value exceeds the maximum value from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\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": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007846", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: reading, ts, depth, value\n Sensor: humidity | fields: lon, ts, depth, level\nTask: Get reading from dew_point where reading exceeds the average value from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007847", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: level, ts, type, value\n Sensor: sunlight | fields: ts, qc, level, lon\nTask: Get level from soil_moisture where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007848", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: ts, type, lon, lat\n Sensor: rainfall | fields: lon, lat, unit, ts\nTask: Retrieve level from wind_speed with value above the MAX(value) of rainfall readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "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_fixed_v1_val_007849", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: reading, ts, lat, unit\n Sensor: evaporation | fields: level, lon, type, reading\nTask: Retrieve depth from soil_moisture whose ts is found in evaporation records where depth 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(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007850", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, ts, unit, value\n Sensor: snow_depth | fields: qc, lon, value, ts\nTask: Fetch level from soil_moisture where value is greater than the average of reading in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007851", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: unit, value, ts, reading\n Sensor: lightning | fields: qc, type, value, unit\nTask: Retrieve lon from air_quality that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007852", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lon, unit, type, value\n Sensor: humidity | fields: type, qc, lat, lon\nTask: Get depth from cloud_cover where a corresponding entry exists in humidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007853", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, unit, type, lon\n Sensor: drought_index | fields: reading, unit, lon, qc\nTask: Retrieve level from soil_moisture whose unit is found in drought_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007854", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: ts, type, lon, reading\n Sensor: temperature | fields: reading, unit, level, depth\nTask: Fetch level from uv_index where value is greater than the total of value in temperature for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007855", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: unit, level, lon, reading\n Sensor: evaporation | fields: depth, reading, ts, lat\nTask: Get reading from sunlight where depth exceeds the count of depth from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "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_fixed_v1_val_007856", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: reading, unit, qc, type\n Sensor: air_quality | fields: value, level, reading, qc\nTask: Get lat from drought_index where reading exceeds the count of value from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007857", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: reading, lat, lon, ts\n Sensor: turbidity | fields: lat, lon, value, qc\nTask: Retrieve lat from dew_point that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007858", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lat, ts, level, qc\n Sensor: dew_point | fields: level, depth, lat, qc\nTask: Retrieve depth from uv_index whose ts is found in dew_point records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007859", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: value, lon, depth, type\n Sensor: snow_depth | fields: lon, unit, type, reading\nTask: Retrieve lat from lightning whose type is found in snow_depth records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007860", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, unit, reading, lat\n Sensor: air_quality | fields: value, depth, unit, qc\nTask: Retrieve level from drought_index with reading above the MIN(depth) of air_quality 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(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007861", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lat, lon, value, level\n Sensor: soil_moisture | fields: lon, unit, ts, level\nTask: Get value from wind_speed where ts appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "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_fixed_v1_val_007862", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lon, unit, depth, ts\n Sensor: wind_speed | fields: depth, qc, type, reading\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=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007863", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: depth, value, level, lat\n Sensor: humidity | fields: depth, reading, level, qc\nTask: Retrieve value from frost whose ts is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007864", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, depth, ts, lat\n Sensor: sunlight | fields: unit, lon, value, qc\nTask: Fetch value from dew_point where value is greater than the average of reading in sunlight for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007865", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, unit, depth, reading\n Sensor: cloud_cover | fields: lat, level, ts, value\nTask: Get level from humidity where ts appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007866", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: qc, level, ts, lat\n Sensor: soil_moisture | fields: type, depth, lat, reading\nTask: Fetch depth from snow_depth where value is greater than the maximum of depth in soil_moisture for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007867", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, qc, type, ts\n Sensor: wind_speed | fields: value, lon, reading, type\nTask: Fetch lat from temperature where depth is greater than the average of reading in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007868", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: depth, reading, lon, unit\n Sensor: turbidity | fields: value, qc, unit, lat\nTask: Fetch depth from soil_moisture that have at least one corresponding turbidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007869", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: type, unit, level, lon\n Sensor: frost | fields: unit, level, reading, qc\nTask: Fetch lon 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=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007870", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, unit, reading, lon\n Sensor: turbidity | fields: lon, reading, type, qc\nTask: Get reading from sunlight where depth exceeds the count of reading from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007871", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: type, lon, reading, depth\n Sensor: uv_index | fields: value, qc, unit, lat\nTask: Get depth from frost where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007872", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: depth, qc, reading, value\n Sensor: evaporation | fields: level, reading, type, lon\nTask: Get lon from turbidity where ts appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007873", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lon, lat, ts, type\n Sensor: wind_speed | fields: ts, lat, qc, value\nTask: Fetch value from frost that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007874", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, type, depth, ts\n Sensor: frost | fields: lon, lat, type, ts\nTask: Get value from evaporation where a corresponding entry exists in frost with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007875", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, ts, type, depth\n Sensor: air_quality | fields: level, unit, qc, lat\nTask: Fetch level from visibility where qc exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007876", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, ts, level, type\n Sensor: temperature | fields: lat, reading, value, ts\nTask: Retrieve value from rainfall that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007877", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: reading, lon, lat, depth\n Sensor: pressure | fields: ts, unit, level, value\nTask: Retrieve reading from sunlight with depth above the AVG(reading) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007878", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, qc, lon, depth\n Sensor: drought_index | fields: lat, qc, type, ts\nTask: Fetch lon from wind_speed where depth is greater than the minimum of reading in drought_index for matching depth.\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(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007879", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: type, reading, value, level\n Sensor: drought_index | fields: ts, level, lat, unit\nTask: Fetch level from soil_moisture where type exists in drought_index sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007880", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: ts, type, reading, unit\n Sensor: cloud_cover | fields: lon, qc, depth, reading\nTask: Retrieve value from wind_speed that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007881", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, lon, unit, type\n Sensor: cloud_cover | fields: qc, reading, ts, lat\nTask: Get lat from dew_point where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007882", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, lat, level, type\n Sensor: wind_speed | fields: level, lon, qc, ts\nTask: Get reading from soil_moisture where reading exceeds the count of value from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007883", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, level, lat, unit\n Sensor: frost | fields: value, lon, ts, level\nTask: Get value from wind_speed where depth exceeds the count of reading from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007884", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, value, unit, ts\n Sensor: snow_depth | fields: ts, lat, level, lon\nTask: Retrieve lat from wind_speed with depth above the MIN(reading) of snow_depth readings sharing the same qc.\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(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007885", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, ts, level, value\n Sensor: soil_moisture | fields: lon, value, ts, depth\nTask: Retrieve lon from drought_index whose qc is found in soil_moisture records where ts 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(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007886", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lon, type, qc, ts\n Sensor: temperature | fields: value, depth, reading, type\nTask: Get lon from uv_index where depth exceeds the maximum value from temperature for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007887", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: type, level, reading, ts\n Sensor: visibility | fields: qc, lat, value, lon\nTask: Fetch lat from rainfall where type exists in visibility sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007888", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, level, lon, ts\n Sensor: cloud_cover | fields: type, value, qc, lat\nTask: Get reading from dew_point where depth appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007889", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: value, lon, type, qc\n Sensor: cloud_cover | fields: qc, unit, level, ts\nTask: Get lon from drought_index where a corresponding entry exists in cloud_cover with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007890", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: level, reading, depth, lat\n Sensor: frost | fields: qc, lat, type, reading\nTask: Retrieve lat from cloud_cover whose qc is found in frost records where qc 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(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "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_fixed_v1_val_007891", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: reading, qc, depth, lat\n Sensor: humidity | fields: value, lat, type, level\nTask: Get value from uv_index where reading exceeds the minimum value from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007892", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: level, lat, ts, qc\n Sensor: soil_moisture | fields: reading, value, type, lon\nTask: Retrieve level 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=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007893", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, lon, lat, level\n Sensor: soil_moisture | fields: reading, depth, ts, level\nTask: Fetch depth from visibility where qc exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007894", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, depth, unit, lon\n Sensor: cloud_cover | fields: lat, qc, reading, value\nTask: Fetch depth from turbidity where ts 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=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007895", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lat, depth, level, type\n Sensor: soil_moisture | fields: value, qc, depth, reading\nTask: Get depth from visibility where value exceeds the minimum depth from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007896", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: type, ts, level, lon\n Sensor: pressure | fields: value, qc, type, lon\nTask: Get depth from frost where unit appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007897", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: depth, level, type, value\n Sensor: evaporation | fields: type, depth, unit, lat\nTask: Get depth from frost where type appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "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_fixed_v1_val_007898", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: value, lat, depth, reading\n Sensor: visibility | fields: reading, ts, depth, level\nTask: Retrieve reading from evaporation that have at least one matching reading in visibility sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007899", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, unit, qc, value\n Sensor: lightning | fields: reading, lon, type, ts\nTask: Retrieve reading from soil_moisture with depth above the MAX(depth) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007900", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, lon, qc, type\n Sensor: drought_index | fields: ts, level, lat, value\nTask: Get lat from soil_moisture where value exceeds the count of reading from drought_index for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007901", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lat, reading, qc, value\n Sensor: frost | fields: ts, qc, reading, level\nTask: Get value from temperature where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007902", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lon, unit, level, reading\n Sensor: drought_index | fields: lat, lon, qc, ts\nTask: Retrieve depth from humidity whose depth is found in drought_index records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007903", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lon, depth, type, unit\n Sensor: evaporation | fields: depth, level, reading, type\nTask: Get reading from uv_index where type appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007904", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: level, type, lon, qc\n Sensor: cloud_cover | fields: qc, reading, level, type\nTask: Get depth from visibility where value exceeds the total value from cloud_cover for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007905", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: ts, lon, level, qc\n Sensor: sunlight | fields: lon, ts, value, reading\nTask: Get depth from air_quality where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007906", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: reading, ts, type, lat\n Sensor: visibility | fields: qc, level, lat, reading\nTask: Get reading from uv_index where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007907", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, reading, unit, depth\n Sensor: snow_depth | fields: ts, level, value, reading\nTask: Fetch reading from drought_index where unit exists in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007908", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: value, lat, reading, unit\n Sensor: air_quality | fields: ts, depth, level, qc\nTask: Retrieve lat from dew_point with depth above the SUM(depth) of air_quality 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(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007909", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, ts, level, lat\n Sensor: uv_index | fields: value, type, unit, lon\nTask: Get value from soil_moisture where qc appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\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": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007910", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: level, lat, type, unit\n Sensor: rainfall | fields: level, type, unit, lat\nTask: Get reading from visibility where unit appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007911", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: ts, reading, value, depth\n Sensor: drought_index | fields: value, reading, depth, lon\nTask: Get level from wind_speed where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007912", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: value, qc, lat, type\n Sensor: soil_moisture | fields: qc, depth, type, level\nTask: Get level from pressure where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007913", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: value, lat, level, depth\n Sensor: wind_speed | fields: qc, reading, type, ts\nTask: Fetch reading from rainfall that have at least one corresponding wind_speed measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007914", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: type, depth, level, value\n Sensor: turbidity | fields: level, ts, reading, lon\nTask: Get lat from wind_speed where reading exceeds the maximum depth from turbidity for the same ts.\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(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007915", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lat, value, depth, reading\n Sensor: evaporation | fields: value, depth, lat, unit\nTask: Get reading from uv_index where ts appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007916", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: unit, depth, level, lat\n Sensor: humidity | fields: unit, qc, level, ts\nTask: Get depth from drought_index where depth appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007917", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: value, qc, unit, lon\n Sensor: evaporation | fields: ts, qc, level, value\nTask: Fetch lon from turbidity that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007918", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lat, depth, unit, value\n Sensor: air_quality | fields: unit, qc, type, value\nTask: Fetch level from dew_point where reading is greater than the minimum of depth in air_quality for matching type.\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(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007919", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: depth, qc, level, ts\n Sensor: cloud_cover | fields: reading, depth, unit, lat\nTask: Fetch level from snow_depth that have at least one corresponding cloud_cover measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007920", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: ts, level, type, reading\n Sensor: humidity | fields: level, lon, ts, value\nTask: Retrieve lon from turbidity with reading above the AVG(reading) of humidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007921", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, lat, reading, value\n Sensor: wind_speed | fields: type, lat, unit, level\nTask: Retrieve reading from air_quality with value above the AVG(depth) of wind_speed readings sharing the same unit.\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(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007922", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, lon, value, unit\n Sensor: temperature | fields: qc, depth, type, value\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=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007923", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: type, qc, reading, level\n Sensor: pressure | fields: qc, lat, value, level\nTask: Get depth from dew_point where value exceeds the total reading from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007924", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: ts, lat, level, lon\n Sensor: pressure | fields: qc, unit, type, value\nTask: Fetch lat from sunlight where reading is greater than the maximum of depth in pressure for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007925", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, ts, value, lon\n Sensor: wind_speed | fields: lon, reading, depth, lat\nTask: Get depth from lightning where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007926", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: lon, ts, lat, level\n Sensor: snow_depth | fields: ts, level, qc, value\nTask: Retrieve depth from humidity whose unit is found in snow_depth records where unit 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=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007927", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, depth, level, ts\n Sensor: evaporation | fields: unit, depth, reading, ts\nTask: Retrieve level from cloud_cover that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\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": "stn", "inner_alias": "evp", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007928", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: type, ts, unit, qc\n Sensor: turbidity | fields: lat, qc, unit, lon\nTask: Retrieve reading from frost whose qc is found in turbidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007929", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: ts, reading, qc, type\n Sensor: lightning | fields: unit, reading, qc, lat\nTask: Get value from dew_point where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007930", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: ts, depth, unit, lon\n Sensor: humidity | fields: reading, value, qc, lon\nTask: Get depth from pressure where depth exceeds the total reading from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007931", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lon, type, depth, reading\n Sensor: rainfall | fields: lat, reading, level, value\nTask: Fetch depth from lightning where reading is greater than the maximum of reading in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007932", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: level, type, qc, lon\n Sensor: soil_moisture | fields: reading, type, value, depth\nTask: Get lat from wind_speed where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\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": "ref", "inner_alias": "grvl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007933", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: unit, lon, depth, reading\n Sensor: lightning | fields: reading, lon, qc, depth\nTask: Fetch reading from air_quality where value is greater than the minimum of value in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007934", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, value, unit, lon\n Sensor: uv_index | fields: depth, reading, level, lon\nTask: Retrieve reading from temperature with value above the COUNT(reading) of uv_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\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": "thr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007935", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lat, unit, ts, level\n Sensor: snow_depth | fields: reading, depth, level, qc\nTask: Fetch value from dew_point where reading is greater than the count of of reading in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007936", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: qc, ts, depth, value\n Sensor: evaporation | fields: lat, depth, reading, lon\nTask: Fetch value from temperature where reading is greater than the count of of reading in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007937", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, type, ts, lon\n Sensor: drought_index | fields: depth, unit, level, lon\nTask: Retrieve value from soil_moisture with value above the SUM(depth) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007938", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, value, unit, level\n Sensor: temperature | fields: lat, unit, level, type\nTask: Retrieve depth from dew_point whose depth is found in temperature records where ts 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(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007939", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: type, reading, depth, value\n Sensor: soil_moisture | fields: value, ts, lon, lat\nTask: Get depth from air_quality where reading exceeds the average value 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(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007940", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: qc, reading, type, value\n Sensor: soil_moisture | fields: value, ts, lat, reading\nTask: Get level from wind_speed where value exceeds the average reading from soil_moisture for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007941", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: reading, lat, level, unit\n Sensor: turbidity | fields: lat, qc, reading, level\nTask: Retrieve level from snow_depth whose unit is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007942", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: reading, lon, depth, lat\n Sensor: sunlight | fields: type, unit, depth, ts\nTask: Retrieve lat from uv_index whose ts is found in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007943", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, ts, reading, depth\n Sensor: rainfall | fields: reading, qc, lat, level\nTask: Retrieve reading from drought_index with depth above the SUM(reading) of rainfall readings sharing the same depth.\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(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007944", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: ts, qc, lon, depth\n Sensor: humidity | fields: ts, level, unit, lon\nTask: Retrieve value from drought_index with reading above the MAX(value) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007945", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: level, unit, type, qc\n Sensor: drought_index | fields: qc, reading, lon, unit\nTask: Get value from temperature where value exceeds the total reading from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007946", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, depth, qc, unit\n Sensor: snow_depth | fields: reading, ts, level, type\nTask: Fetch value from air_quality where unit exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007947", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: type, depth, unit, lat\n Sensor: soil_moisture | fields: unit, value, reading, ts\nTask: Fetch value from air_quality where reading is greater than the total of value in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007948", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: type, depth, unit, qc\n Sensor: soil_moisture | fields: reading, type, ts, qc\nTask: Retrieve lat from cloud_cover with reading above the COUNT(depth) of soil_moisture readings sharing the same depth.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007949", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, value, lat, qc\n Sensor: humidity | fields: value, reading, lon, unit\nTask: Retrieve lon from air_quality with value above the COUNT(depth) of humidity 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(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007950", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: ts, qc, value, depth\n Sensor: snow_depth | fields: ts, unit, lon, qc\nTask: Retrieve lon from wind_speed whose qc is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007951", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: unit, depth, value, qc\n Sensor: frost | fields: lat, ts, depth, lon\nTask: Fetch reading from uv_index where depth is greater than the total of value in frost for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007952", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, reading, type, unit\n Sensor: snow_depth | fields: value, lon, level, unit\nTask: Retrieve lat from air_quality that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007953", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, level, qc, value\n Sensor: dew_point | fields: qc, lat, level, ts\nTask: Retrieve depth from rainfall with depth above the SUM(value) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007954", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, ts, lat, reading\n Sensor: frost | fields: depth, type, lat, level\nTask: Fetch value from turbidity that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007955", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: value, ts, reading, lat\n Sensor: drought_index | fields: unit, lat, level, lon\nTask: Fetch lon from frost that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007956", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, unit, reading, level\n Sensor: pressure | fields: type, depth, lon, ts\nTask: Fetch lat from turbidity where qc exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007957", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, ts, lon, qc\n Sensor: wind_speed | fields: level, qc, value, reading\nTask: Fetch lon from dew_point where type exists in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007958", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, qc, value, unit\n Sensor: drought_index | fields: depth, qc, reading, ts\nTask: Fetch depth from dew_point where depth exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007959", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lat, unit, reading, depth\n Sensor: evaporation | fields: type, ts, unit, depth\nTask: Fetch reading from temperature that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007960", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: level, type, qc, reading\n Sensor: lightning | fields: value, lon, ts, depth\nTask: Retrieve value from wind_speed whose depth is found in lightning records where type 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(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007961", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: value, depth, type, reading\n Sensor: cloud_cover | fields: qc, ts, lon, reading\nTask: Get depth from humidity where unit appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007962", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: qc, reading, level, type\n Sensor: evaporation | fields: type, reading, ts, unit\nTask: Retrieve depth from lightning that have at least one matching reading in evaporation sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007963", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: qc, type, ts, depth\n Sensor: temperature | fields: type, ts, value, lon\nTask: Get lon from snow_depth where unit appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007964", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: depth, type, level, value\n Sensor: evaporation | fields: reading, depth, level, unit\nTask: Fetch depth from frost where depth is greater than the average of reading in evaporation for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007965", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: reading, lat, unit, lon\n Sensor: snow_depth | fields: depth, type, unit, lat\nTask: Fetch value from humidity that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007966", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lon, unit, depth, reading\n Sensor: turbidity | fields: ts, level, unit, type\nTask: Retrieve lon from wind_speed whose type is found in turbidity records where ts 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(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007967", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, type, reading, depth\n Sensor: lightning | fields: depth, ts, type, reading\nTask: Fetch lat from soil_moisture where ts exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007968", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: depth, unit, value, qc\n Sensor: frost | fields: lon, qc, unit, value\nTask: Fetch depth from temperature that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007969", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, reading, depth, value\n Sensor: snow_depth | fields: qc, value, ts, depth\nTask: Fetch reading from drought_index where depth exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007970", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, reading, depth, type\n Sensor: soil_moisture | fields: value, qc, level, lon\nTask: Fetch depth from snow_depth that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007971", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: depth, ts, unit, lat\n Sensor: wind_speed | fields: ts, level, lat, unit\nTask: Fetch depth from visibility where unit exists in wind_speed sensor data for the same qc.\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=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007972", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, lon, lat, reading\n Sensor: sunlight | fields: unit, type, lat, qc\nTask: Get lon from air_quality where unit appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007973", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: ts, lat, type, lon\n Sensor: air_quality | fields: ts, lon, qc, unit\nTask: Retrieve reading from cloud_cover whose qc is found in air_quality records where depth 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(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007974", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: ts, lon, depth, lat\n Sensor: temperature | fields: value, level, qc, lat\nTask: Fetch level from drought_index where depth is greater than the maximum of value in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007975", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, reading, unit, qc\n Sensor: rainfall | fields: lon, level, qc, reading\nTask: Get depth from soil_moisture where reading exceeds the count of depth from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007976", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: qc, value, depth, unit\n Sensor: visibility | fields: type, value, reading, lon\nTask: Get depth from uv_index where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007977", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lon, lat, type, depth\n Sensor: cloud_cover | fields: level, reading, depth, type\nTask: Retrieve lon from drought_index with reading above the MAX(depth) of cloud_cover readings sharing 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(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007978", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: ts, depth, value, lat\n Sensor: air_quality | fields: ts, depth, type, unit\nTask: Retrieve lon from sunlight that have at least one matching reading in air_quality sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007979", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: type, qc, reading, level\n Sensor: evaporation | fields: reading, qc, value, lat\nTask: Retrieve lat from snow_depth with value above the AVG(value) of evaporation readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007980", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, depth, type, value\n Sensor: wind_speed | fields: qc, type, level, lat\nTask: Get reading from sunlight where ts appears in wind_speed readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007981", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, unit, qc, reading\n Sensor: soil_moisture | fields: reading, qc, value, lon\nTask: Get depth from dew_point where type appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007982", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lon, level, value, reading\n Sensor: turbidity | fields: qc, lon, depth, level\nTask: Fetch depth from drought_index where unit exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007983", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lat, type, ts, unit\n Sensor: drought_index | fields: qc, reading, ts, value\nTask: Retrieve depth from sunlight with reading above the MAX(value) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007984", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, lon, depth, lat\n Sensor: temperature | fields: depth, lon, level, qc\nTask: Get depth from air_quality where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007985", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: ts, value, unit, lat\n Sensor: lightning | fields: reading, lon, qc, unit\nTask: Retrieve level from humidity whose qc is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007986", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, level, qc, lon\n Sensor: frost | fields: lon, level, unit, lat\nTask: Retrieve level from dew_point with value above the AVG(value) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007987", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lon, reading, lat, unit\n Sensor: pressure | fields: reading, depth, ts, type\nTask: Retrieve lat from uv_index with value above the SUM(depth) of pressure readings sharing 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(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "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_fixed_v1_val_007988", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, reading, type, depth\n Sensor: visibility | fields: unit, type, level, lon\nTask: Retrieve value from lightning that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007989", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: depth, level, value, lat\n Sensor: temperature | fields: reading, type, level, value\nTask: Fetch level from pressure that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007990", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, lat, reading, qc\n Sensor: visibility | fields: qc, depth, lon, value\nTask: Fetch lon from pressure where depth is greater than the average of reading in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007991", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: depth, lon, lat, reading\n Sensor: temperature | fields: qc, level, type, depth\nTask: Fetch depth from humidity where qc exists in temperature sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "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_fixed_v1_val_007992", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, ts, lat, level\n Sensor: air_quality | fields: ts, lon, level, depth\nTask: Retrieve reading from frost with reading above the COUNT(reading) of air_quality readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007993", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: qc, depth, lat, reading\n Sensor: uv_index | fields: lon, lat, reading, depth\nTask: Get reading 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=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007994", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lon, unit, reading, qc\n Sensor: wind_speed | fields: depth, level, qc, value\nTask: Fetch lat from cloud_cover where depth exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007995", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: level, lon, value, ts\n Sensor: lightning | fields: value, lat, qc, unit\nTask: Retrieve value from drought_index with value above the MAX(reading) 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(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007996", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: unit, lat, reading, depth\n Sensor: air_quality | fields: reading, unit, qc, ts\nTask: Fetch lon from wind_speed where depth exists in air_quality sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_007997", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: ts, depth, value, lat\n Sensor: drought_index | fields: value, ts, qc, lon\nTask: Retrieve level from wind_speed with value above the AVG(reading) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007998", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, type, lat, unit\n Sensor: turbidity | fields: unit, depth, qc, value\nTask: Fetch lat from visibility that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_007999", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: value, lon, lat, type\n Sensor: evaporation | fields: unit, level, qc, reading\nTask: Fetch depth from uv_index where depth is greater than the average of value in evaporation for matching qc.\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(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008000", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, level, lat, ts\n Sensor: cloud_cover | fields: unit, depth, level, ts\nTask: Retrieve lat from temperature that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008001", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, reading, qc, value\n Sensor: dew_point | fields: value, qc, lat, depth\nTask: Retrieve level from humidity with value above the COUNT(value) of dew_point 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\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008002", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lon, ts, reading, value\n Sensor: soil_moisture | fields: lat, depth, ts, level\nTask: Get reading from pressure where qc appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008003", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: type, value, depth, ts\n Sensor: air_quality | fields: depth, type, lat, lon\nTask: Retrieve reading 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=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008004", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: value, depth, lon, reading\n Sensor: rainfall | fields: ts, qc, type, unit\nTask: Fetch lon from visibility where qc exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008005", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lat, unit, type, level\n Sensor: wind_speed | fields: unit, value, ts, level\nTask: Fetch lon 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=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008006", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, level, unit, value\n Sensor: turbidity | fields: type, value, qc, lat\nTask: Retrieve lat from lightning whose ts is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008007", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: reading, ts, value, unit\n Sensor: snow_depth | fields: unit, value, reading, level\nTask: Retrieve reading from visibility with depth above the SUM(depth) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008008", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, level, ts, reading\n Sensor: evaporation | fields: level, ts, lat, lon\nTask: Fetch level from temperature where type exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008009", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: ts, depth, qc, lat\n Sensor: cloud_cover | fields: lat, reading, unit, qc\nTask: Fetch reading from rainfall where depth exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008010", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: type, lat, level, value\n Sensor: soil_moisture | fields: lat, type, ts, level\nTask: Get level from turbidity where ts appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008011", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: depth, reading, qc, lon\n Sensor: evaporation | fields: type, ts, reading, lon\nTask: Retrieve depth from soil_moisture whose qc is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008012", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, level, depth, lon\n Sensor: turbidity | fields: ts, lat, value, lon\nTask: Fetch lon from rainfall that have at least one corresponding turbidity measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008013", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, value, type, depth\n Sensor: wind_speed | fields: reading, level, value, ts\nTask: Fetch lon from cloud_cover where qc exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008014", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: value, lon, depth, level\n Sensor: turbidity | fields: lon, qc, level, value\nTask: Retrieve level from temperature with depth above the MAX(reading) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008015", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: unit, type, value, lat\n Sensor: lightning | fields: value, depth, lat, unit\nTask: Get level from sunlight where reading exceeds the minimum depth from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008016", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: value, depth, qc, reading\n Sensor: soil_moisture | fields: ts, level, type, value\nTask: Get lon from wind_speed where depth exceeds the count of depth from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008017", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: reading, level, depth, lon\n Sensor: snow_depth | fields: level, ts, qc, unit\nTask: Retrieve depth from turbidity that have at least one matching reading in snow_depth sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008018", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: depth, reading, lon, unit\n Sensor: rainfall | fields: lat, unit, value, ts\nTask: Retrieve lon from turbidity whose qc is found in rainfall records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008019", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lat, depth, reading, qc\n Sensor: drought_index | fields: reading, depth, value, lat\nTask: Retrieve lon from humidity that have at least one matching reading in drought_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008020", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: ts, qc, value, unit\n Sensor: frost | fields: type, ts, lon, depth\nTask: Retrieve value from wind_speed whose type is found in frost records where depth 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(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008021", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: reading, ts, unit, level\n Sensor: dew_point | fields: lon, type, qc, unit\nTask: Get reading from pressure where depth exceeds the total reading from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008022", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: unit, qc, level, value\n Sensor: snow_depth | fields: ts, lat, value, qc\nTask: Get value from rainfall where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008023", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: unit, ts, level, qc\n Sensor: temperature | fields: type, value, unit, qc\nTask: Get lat from cloud_cover where depth exceeds the average depth from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008024", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: unit, value, reading, qc\n Sensor: temperature | fields: type, value, qc, reading\nTask: Fetch reading 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=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008025", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: unit, qc, type, ts\n Sensor: soil_moisture | fields: type, qc, value, lat\nTask: Retrieve depth from frost with value above the MIN(value) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008026", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, qc, lat, type\n Sensor: wind_speed | fields: ts, qc, type, lat\nTask: Retrieve level from soil_moisture that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008027", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, reading, lat, type\n Sensor: pressure | fields: lon, type, value, lat\nTask: Retrieve lon from frost whose unit is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008028", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: value, reading, depth, qc\n Sensor: soil_moisture | fields: depth, reading, type, value\nTask: Retrieve depth from uv_index that have at least one matching reading in soil_moisture sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008029", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, depth, reading, type\n Sensor: cloud_cover | fields: type, qc, value, reading\nTask: Get depth from pressure where qc appears in cloud_cover readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008030", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, qc, ts, lon\n Sensor: soil_moisture | fields: value, lat, reading, level\nTask: Get lon from wind_speed where unit appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008031", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: depth, qc, unit, lat\n Sensor: snow_depth | fields: reading, level, type, unit\nTask: Get value from soil_moisture where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008032", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: depth, qc, type, level\n Sensor: visibility | fields: type, ts, lat, depth\nTask: Fetch level from drought_index where value is greater than the minimum of depth 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\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008033", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: lon, value, unit, qc\n Sensor: humidity | fields: level, lon, reading, lat\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=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008034", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: unit, lat, ts, level\n Sensor: dew_point | fields: value, ts, lon, reading\nTask: Fetch lat from turbidity where qc exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008035", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, lon, lat, level\n Sensor: soil_moisture | fields: reading, depth, level, ts\nTask: Get lat from rainfall where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008036", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: reading, value, type, level\n Sensor: rainfall | fields: ts, reading, lat, unit\nTask: Retrieve value from dew_point with depth above the AVG(reading) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008037", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, lat, qc, type\n Sensor: humidity | fields: depth, level, lon, qc\nTask: Retrieve lon from frost that have at least one matching reading in humidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008038", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, lat, value, ts\n Sensor: air_quality | fields: value, qc, depth, level\nTask: Fetch lon from frost that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008039", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: unit, reading, lon, ts\n Sensor: sunlight | fields: ts, lon, value, level\nTask: Get lon from visibility where type appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008040", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: ts, lon, value, depth\n Sensor: frost | fields: reading, level, unit, lon\nTask: Retrieve level from air_quality that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008041", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, depth, type, unit\n Sensor: lightning | fields: lat, lon, level, unit\nTask: Retrieve lat from humidity with depth above the AVG(reading) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008042", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: lat, depth, type, level\n Sensor: dew_point | fields: ts, qc, value, unit\nTask: Retrieve value 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=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008043", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: qc, value, level, depth\n Sensor: drought_index | fields: value, level, ts, depth\nTask: Retrieve depth from turbidity with depth above the MAX(depth) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008044", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: qc, depth, value, lon\n Sensor: cloud_cover | fields: lon, type, depth, reading\nTask: Fetch value from sunlight where type exists in cloud_cover sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008045", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, lat, level, type\n Sensor: pressure | fields: lon, ts, unit, reading\nTask: Retrieve depth from lightning whose depth is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008046", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: lat, unit, level, value\n Sensor: turbidity | fields: reading, depth, type, unit\nTask: Fetch level from snow_depth where ts exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008047", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, value, unit, lat\n Sensor: humidity | fields: depth, level, unit, type\nTask: Fetch value from drought_index that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "value", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008048", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, lon, lat, depth\n Sensor: turbidity | fields: ts, depth, unit, level\nTask: Fetch depth from soil_moisture where depth is greater than the total of reading in turbidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008049", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: value, reading, lon, ts\n Sensor: cloud_cover | fields: value, unit, level, ts\nTask: Get lon from evaporation where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008050", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, lat, reading, lon\n Sensor: temperature | fields: reading, ts, lat, level\nTask: Fetch value from wind_speed that have at least one corresponding temperature measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008051", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lat, reading, unit, ts\n Sensor: soil_moisture | fields: qc, type, unit, lon\nTask: Retrieve lon from lightning with depth above the SUM(depth) of soil_moisture readings sharing the same 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(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008052", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: unit, value, lat, lon\n Sensor: temperature | fields: value, level, reading, type\nTask: Retrieve depth from drought_index whose depth is found in temperature records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008053", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, value, unit, lon\n Sensor: uv_index | fields: qc, lat, unit, value\nTask: Get value 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=\"stn\"),\n filter=has_match(\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": "stn", "inner_alias": "flx", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008054", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lat, qc, lon, reading\n Sensor: lightning | fields: type, ts, lat, unit\nTask: Fetch value from snow_depth where depth exists in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008055", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: value, type, unit, ts\n Sensor: air_quality | fields: qc, depth, ts, value\nTask: Fetch lat 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=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008056", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: depth, unit, level, value\n Sensor: evaporation | fields: depth, unit, reading, lon\nTask: Retrieve level from soil_moisture with reading above the COUNT(depth) of evaporation readings sharing the same qc.\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(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008057", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: depth, ts, lon, reading\n Sensor: pressure | fields: qc, lon, value, unit\nTask: Get reading from sunlight where depth exceeds the count of depth from pressure for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "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_fixed_v1_val_008058", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lon, reading, level, ts\n Sensor: wind_speed | fields: lon, unit, qc, reading\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=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008059", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, lat, value, unit\n Sensor: sunlight | fields: lon, depth, unit, value\nTask: Get value from air_quality where reading exceeds the maximum value from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008060", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: value, qc, level, depth\n Sensor: soil_moisture | fields: depth, lon, level, reading\nTask: Get lon from temperature where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008061", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: qc, lat, depth, ts\n Sensor: cloud_cover | fields: lon, depth, type, value\nTask: Fetch level from air_quality where depth exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008062", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: depth, type, reading, unit\n Sensor: pressure | fields: type, lon, lat, depth\nTask: Fetch lon from evaporation where depth is greater than the maximum of reading in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008063", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lat, depth, qc, unit\n Sensor: frost | fields: ts, qc, reading, lon\nTask: Fetch depth from rainfall where qc exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008064", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: reading, value, level, type\n Sensor: snow_depth | fields: level, type, lon, depth\nTask: Retrieve lat from drought_index that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008065", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, value, type, lon\n Sensor: lightning | fields: reading, ts, value, lon\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=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008066", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: unit, level, reading, value\n Sensor: rainfall | fields: value, reading, lon, lat\nTask: Get reading from humidity where ts appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008067", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: qc, lon, level, value\n Sensor: dew_point | fields: type, value, qc, lon\nTask: Retrieve depth from visibility with value above the SUM(depth) of dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008068", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: value, level, type, depth\n Sensor: evaporation | fields: depth, ts, type, unit\nTask: Retrieve depth from wind_speed that have at least one matching reading in evaporation sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008069", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, reading, ts, type\n Sensor: sunlight | fields: depth, lat, lon, type\nTask: Get level from temperature where a corresponding entry exists in sunlight with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008070", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, unit, qc, depth\n Sensor: evaporation | fields: level, type, lon, ts\nTask: Get reading from cloud_cover where value exceeds the total reading from evaporation for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008071", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, depth, unit, lat\n Sensor: lightning | fields: qc, ts, depth, level\nTask: Retrieve reading 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=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008072", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: type, reading, lon, unit\n Sensor: temperature | fields: qc, level, lon, depth\nTask: Retrieve reading from sunlight whose qc is found in temperature 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(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "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_fixed_v1_val_008073", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, qc, unit, lon\n Sensor: dew_point | fields: depth, qc, reading, value\nTask: Retrieve lon from soil_moisture with depth above the SUM(value) of dew_point readings sharing the same qc.\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(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008074", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, depth, qc, ts\n Sensor: dew_point | fields: level, qc, lon, reading\nTask: Fetch reading from frost where unit exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008075", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: unit, type, reading, lat\n Sensor: sunlight | fields: qc, depth, level, ts\nTask: Get depth from temperature where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008076", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: unit, type, ts, value\n Sensor: evaporation | fields: level, depth, value, type\nTask: Fetch depth from cloud_cover where value is greater than the average of value in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008077", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lon, qc, lat, reading\n Sensor: dew_point | fields: level, type, depth, lat\nTask: Fetch lon from air_quality where unit exists in dew_point sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008078", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, reading, lat, type\n Sensor: rainfall | fields: depth, ts, type, reading\nTask: Retrieve value from uv_index that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008079", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: lat, depth, type, qc\n Sensor: rainfall | fields: ts, level, reading, lat\nTask: Fetch lon from air_quality where reading is greater than the average of depth in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008080", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: level, ts, depth, type\n Sensor: rainfall | fields: depth, value, unit, qc\nTask: Retrieve level from lightning with value above the SUM(reading) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008081", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lat, value, unit, ts\n Sensor: humidity | fields: type, lon, qc, ts\nTask: Retrieve depth from uv_index whose qc is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008082", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: lat, depth, type, reading\n Sensor: dew_point | fields: level, lat, reading, value\nTask: Get lat from pressure where depth exceeds the maximum value from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008083", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: level, unit, qc, lon\n Sensor: frost | fields: depth, lon, lat, level\nTask: Get reading from visibility where reading exceeds the count of depth from frost for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008084", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: depth, type, ts, lat\n Sensor: sunlight | fields: qc, type, reading, unit\nTask: Fetch lon from temperature that have at least one corresponding sunlight measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008085", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, level, ts, lat\n Sensor: rainfall | fields: qc, lon, lat, unit\nTask: Fetch value from frost that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008086", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lat, value, type, lon\n Sensor: wind_speed | fields: type, level, lat, ts\nTask: Retrieve value from evaporation that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008087", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: ts, qc, unit, value\n Sensor: frost | fields: value, ts, level, lon\nTask: Get lat from air_quality where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008088", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, reading, ts, value\n Sensor: evaporation | fields: reading, value, depth, ts\nTask: Get reading from temperature where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008089", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, value, depth, lon\n Sensor: sunlight | fields: level, reading, ts, depth\nTask: Fetch depth from pressure where reading is greater than the count of of depth in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008090", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: ts, qc, reading, lat\n Sensor: evaporation | fields: reading, value, depth, level\nTask: Retrieve reading from sunlight with reading above the SUM(reading) of evaporation 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\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008091", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, level, type, qc\n Sensor: rainfall | fields: ts, level, type, reading\nTask: Retrieve depth from temperature that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008092", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: qc, lon, ts, type\n Sensor: rainfall | fields: reading, lon, qc, unit\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=\"stn\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008093", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, lon, unit, qc\n Sensor: visibility | fields: value, unit, qc, lon\nTask: Get level from soil_moisture where depth exceeds the minimum depth from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008094", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, lat, reading, qc\n Sensor: evaporation | fields: value, reading, type, depth\nTask: Fetch level from drought_index where reading is greater than the total of depth in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008095", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: reading, lat, unit, ts\n Sensor: turbidity | fields: lat, depth, ts, lon\nTask: Get lat from visibility where value exceeds the minimum value from turbidity for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "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_fixed_v1_val_008096", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: unit, depth, reading, level\n Sensor: snow_depth | fields: qc, type, lat, level\nTask: Get lat from rainfall where value exceeds the total depth from snow_depth for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008097", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: type, qc, value, unit\n Sensor: rainfall | fields: lat, depth, qc, ts\nTask: Get lat from humidity where a corresponding entry exists in rainfall with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008098", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, lat, reading, lon\n Sensor: drought_index | fields: level, value, lat, lon\nTask: Retrieve depth from pressure with depth above the SUM(reading) of drought_index readings sharing the same 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(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "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_fixed_v1_val_008099", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: lat, type, ts, depth\n Sensor: air_quality | fields: qc, lat, type, ts\nTask: Fetch lon from lightning where depth exists in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "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_fixed_v1_val_008100", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: depth, lat, type, reading\n Sensor: rainfall | fields: reading, level, value, depth\nTask: Retrieve level from uv_index with depth above the SUM(depth) of rainfall readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008101", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: depth, unit, qc, level\n Sensor: uv_index | fields: type, qc, depth, ts\nTask: Fetch lon from temperature that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_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_fixed_v1_val_008102", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: depth, type, ts, lat\n Sensor: sunlight | fields: unit, type, reading, level\nTask: Retrieve depth 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=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008103", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lat, reading, value, level\n Sensor: temperature | fields: qc, unit, type, reading\nTask: Get lat from dew_point where depth exceeds the count of value from temperature for the same qc.\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(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "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_fixed_v1_val_008104", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, lon, lat, value\n Sensor: visibility | fields: lon, value, reading, ts\nTask: Fetch lat from turbidity where value is greater than the count of of depth in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008105", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: level, value, lat, qc\n Sensor: humidity | fields: depth, value, ts, lat\nTask: Retrieve value from cloud_cover with reading above the MIN(value) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008106", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, value, lat, qc\n Sensor: cloud_cover | fields: type, value, ts, lat\nTask: Retrieve reading from air_quality whose qc is found in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008107", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: unit, lon, lat, reading\n Sensor: snow_depth | fields: value, reading, level, unit\nTask: Fetch depth from evaporation that have at least one corresponding snow_depth measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008108", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, unit, value, lat\n Sensor: snow_depth | fields: unit, qc, value, ts\nTask: Fetch lat from frost that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008109", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: type, value, ts, lat\n Sensor: uv_index | fields: unit, reading, ts, lon\nTask: Get value from cloud_cover where reading exceeds the total depth from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008110", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: value, lat, unit, ts\n Sensor: cloud_cover | fields: type, lon, ts, qc\nTask: Fetch depth from dew_point where depth is greater than the maximum of depth in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "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_fixed_v1_val_008111", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: unit, depth, type, lat\n Sensor: uv_index | fields: level, lon, unit, value\nTask: Fetch lon from temperature where reading is greater than the minimum of value in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008112", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: reading, value, depth, type\n Sensor: temperature | fields: value, ts, type, lat\nTask: Get level from wind_speed where value exceeds the maximum depth from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008113", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, type, lat, qc\n Sensor: uv_index | fields: qc, level, lat, lon\nTask: Retrieve level from wind_speed that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_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_fixed_v1_val_008114", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: unit, lat, lon, level\n Sensor: wind_speed | fields: lon, lat, qc, depth\nTask: Get depth from dew_point where ts appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008115", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, ts, type, value\n Sensor: rainfall | fields: qc, level, reading, unit\nTask: Fetch reading from visibility where reading is greater than the minimum of depth in rainfall for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008116", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, depth, lon, lat\n Sensor: sunlight | fields: level, ts, unit, lon\nTask: Fetch lat from soil_moisture where ts exists in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008117", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, depth, ts, type\n Sensor: pressure | fields: depth, type, value, ts\nTask: Fetch reading from dew_point that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008118", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: type, ts, qc, lat\n Sensor: wind_speed | fields: lon, value, qc, lat\nTask: Fetch value from sunlight that have at least one corresponding wind_speed measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008119", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: ts, unit, lon, depth\n Sensor: dew_point | fields: lat, level, value, unit\nTask: Fetch lat from lightning that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008120", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: type, level, ts, unit\n Sensor: drought_index | fields: type, reading, ts, lat\nTask: Retrieve level 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=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008121", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lon, lat, unit, type\n Sensor: uv_index | fields: type, lat, value, level\nTask: Fetch level from frost where qc exists in uv_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008122", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, value, level, unit\n Sensor: soil_moisture | fields: value, lat, depth, ts\nTask: Retrieve lon from uv_index with reading above the SUM(value) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008123", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: unit, lat, type, depth\n Sensor: soil_moisture | fields: depth, qc, value, ts\nTask: Fetch depth from visibility where unit exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008124", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lon, level, ts, depth\n Sensor: drought_index | fields: reading, type, level, value\nTask: Get value from air_quality where a corresponding entry exists in drought_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008125", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, ts, unit, value\n Sensor: dew_point | fields: unit, ts, lon, qc\nTask: Get level from drought_index where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008126", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | 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=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008127", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, lon, qc, level\n Sensor: wind_speed | fields: ts, depth, lon, type\nTask: Retrieve reading from visibility that have at least one matching reading in wind_speed sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008128", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: ts, unit, lon, depth\n Sensor: air_quality | fields: type, depth, lat, lon\nTask: Get level from wind_speed where reading exceeds the total reading from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008129", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, type, ts, reading\n Sensor: air_quality | fields: type, unit, value, level\nTask: Retrieve lat from drought_index that have at least one matching reading in air_quality sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008130", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: value, level, reading, depth\n Sensor: evaporation | fields: lon, ts, type, depth\nTask: Fetch value from sunlight where depth is greater than the count of of value in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008131", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: level, depth, ts, unit\n Sensor: rainfall | fields: lon, ts, reading, type\nTask: Fetch value from uv_index where depth is greater than the minimum of reading in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008132", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: ts, lon, qc, reading\n Sensor: air_quality | fields: reading, type, unit, level\nTask: Retrieve lon from visibility that have at least one matching reading in air_quality sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008133", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: reading, lon, unit, type\n Sensor: air_quality | fields: lat, type, ts, reading\nTask: Get depth from uv_index where reading exceeds the total depth from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008134", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: ts, value, qc, unit\n Sensor: wind_speed | fields: qc, lat, unit, level\nTask: Retrieve depth from dew_point with reading above the SUM(depth) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008135", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, ts, unit, value\n Sensor: soil_moisture | fields: reading, lat, type, ts\nTask: Get depth 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=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008136", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: qc, ts, lon, reading\n Sensor: soil_moisture | fields: lat, depth, type, lon\nTask: Fetch reading from visibility where qc exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008137", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: level, depth, qc, type\n Sensor: dew_point | fields: unit, lon, lat, value\nTask: Get depth from frost where value exceeds the minimum value from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008138", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: depth, ts, unit, lon\n Sensor: air_quality | fields: ts, unit, qc, depth\nTask: Fetch value from visibility where depth is greater than the minimum of reading in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008139", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, lon, unit, depth\n Sensor: evaporation | fields: lat, depth, level, reading\nTask: Fetch lat from cloud_cover that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "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_fixed_v1_val_008140", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: ts, unit, reading, type\n Sensor: humidity | fields: lon, lat, value, depth\nTask: Fetch level from evaporation where reading is greater than the maximum of reading in humidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008141", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, type, value, ts\n Sensor: uv_index | fields: depth, reading, type, level\nTask: Fetch reading from air_quality where value is greater than the minimum of reading in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008142", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, ts, lon, level\n Sensor: uv_index | fields: ts, qc, value, reading\nTask: Fetch reading from frost that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008143", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: type, unit, lat, ts\n Sensor: turbidity | fields: lat, type, unit, qc\nTask: Fetch value from snow_depth where reading is greater than the count of of value in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008144", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: ts, type, depth, level\n Sensor: frost | fields: value, unit, lon, lat\nTask: Get reading from temperature where unit appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008145", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: ts, lat, reading, unit\n Sensor: pressure | fields: type, ts, value, depth\nTask: Fetch depth from drought_index where qc exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "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_fixed_v1_val_008146", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lon, value, lat, depth\n Sensor: wind_speed | fields: depth, level, reading, type\nTask: Get lat from cloud_cover where value exceeds the total reading from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008147", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: reading, value, lat, lon\n Sensor: sunlight | fields: lat, level, type, unit\nTask: Retrieve lat 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=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008148", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: ts, unit, lat, type\n Sensor: humidity | fields: lon, qc, level, unit\nTask: Get level from drought_index where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008149", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: ts, lat, reading, qc\n Sensor: cloud_cover | fields: ts, lon, level, depth\nTask: Fetch depth from dew_point where value is greater than the minimum of reading in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008150", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: qc, depth, level, type\n Sensor: sunlight | fields: value, ts, lon, level\nTask: Fetch level from turbidity where depth exists in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008151", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: type, value, reading, qc\n Sensor: turbidity | fields: type, reading, ts, lat\nTask: Get depth from wind_speed where qc appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008152", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: level, type, lat, depth\n Sensor: pressure | fields: reading, ts, type, value\nTask: Get lon from dew_point where type appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008153", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: reading, qc, depth, type\n Sensor: snow_depth | fields: lon, unit, reading, ts\nTask: Get level from frost where unit appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008154", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, reading, value, lon\n Sensor: frost | fields: unit, reading, lon, level\nTask: Get depth from sunlight where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\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": "stn", "inner_alias": "frs", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008155", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: qc, reading, type, lon\n Sensor: turbidity | fields: qc, reading, value, ts\nTask: Get level from dew_point where depth appears in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008156", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, unit, reading, type\n Sensor: uv_index | fields: lon, lat, unit, qc\nTask: Retrieve value from rainfall that have at least one matching reading in uv_index sharing 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=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008157", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: type, lat, lon, qc\n Sensor: sunlight | fields: qc, lat, lon, level\nTask: Retrieve level from cloud_cover that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008158", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: unit, ts, lon, qc\n Sensor: uv_index | fields: reading, type, qc, depth\nTask: Fetch level from pressure that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008159", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: type, reading, qc, value\n Sensor: pressure | fields: reading, depth, lon, qc\nTask: Retrieve lon from frost whose type is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "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_fixed_v1_val_008160", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: qc, type, reading, value\n Sensor: lightning | fields: reading, qc, lat, type\nTask: Retrieve lon from wind_speed that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008161", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: type, lat, qc, unit\n Sensor: drought_index | fields: ts, unit, value, qc\nTask: Retrieve lat from rainfall whose unit is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008162", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: ts, value, type, lon\n Sensor: dew_point | fields: reading, level, ts, lon\nTask: Get value from frost where type appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008163", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: ts, reading, level, value\n Sensor: sunlight | fields: level, qc, type, reading\nTask: Retrieve lat from cloud_cover whose type is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008164", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: reading, qc, lat, depth\n Sensor: soil_moisture | fields: ts, value, qc, lat\nTask: Retrieve depth from pressure with reading above the SUM(value) of soil_moisture readings sharing the same 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=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008165", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lon, qc, type, level\n Sensor: drought_index | fields: lon, type, qc, level\nTask: Fetch lat from cloud_cover where ts exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\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": "ts", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008166", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: level, lon, ts, unit\n Sensor: humidity | fields: lat, qc, type, depth\nTask: Retrieve lon from dew_point that have at least one matching reading in humidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008167", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, lat, reading, qc\n Sensor: sunlight | fields: qc, type, level, lat\nTask: Fetch value from rainfall that have at least one corresponding sunlight measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008168", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: value, lat, type, ts\n Sensor: uv_index | fields: qc, reading, type, unit\nTask: Retrieve value from drought_index that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008169", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: unit, value, lon, ts\n Sensor: pressure | fields: unit, qc, ts, depth\nTask: Get reading from turbidity where reading exceeds the maximum reading from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008170", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: lon, qc, level, type\n Sensor: uv_index | fields: reading, lat, qc, value\nTask: Get level from rainfall where reading exceeds the minimum value from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008171", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: type, ts, reading, unit\n Sensor: snow_depth | fields: lon, lat, ts, depth\nTask: Retrieve lon 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=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008172", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: depth, level, reading, unit\n Sensor: temperature | fields: type, unit, lon, depth\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=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008173", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: qc, type, lon, depth\n Sensor: temperature | fields: type, lon, reading, ts\nTask: Get lon from sunlight where depth exceeds the total depth from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008174", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: value, ts, unit, lon\n Sensor: cloud_cover | fields: lat, qc, level, ts\nTask: Fetch value from wind_speed where depth is greater than the maximum of value in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008175", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: type, level, depth, lon\n Sensor: air_quality | fields: ts, type, unit, qc\nTask: Retrieve level from rainfall with depth above the AVG(reading) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008176", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lon, unit, qc, lat\n Sensor: dew_point | fields: type, unit, level, lat\nTask: Fetch level from soil_moisture where unit exists in dew_point sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008177", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: value, ts, unit, type\n Sensor: lightning | fields: qc, type, value, unit\nTask: Fetch depth from air_quality where depth exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008178", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: level, lon, value, qc\n Sensor: dew_point | fields: unit, reading, lat, qc\nTask: Retrieve level from uv_index that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "level", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008179", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: level, depth, ts, reading\n Sensor: turbidity | fields: value, type, reading, level\nTask: Retrieve value from pressure with reading above the COUNT(depth) of turbidity readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008180", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: ts, unit, level, depth\n Sensor: pressure | fields: lon, type, level, value\nTask: Fetch reading from snow_depth where ts exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008181", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: type, value, level, ts\n Sensor: uv_index | fields: type, lat, reading, lon\nTask: Retrieve lon from rainfall with value above the SUM(reading) of uv_index readings sharing 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(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "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_fixed_v1_val_008182", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: depth, unit, lon, lat\n Sensor: frost | fields: lat, ts, level, unit\nTask: Get level from evaporation where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008183", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: reading, type, lat, qc\n Sensor: drought_index | fields: ts, lon, unit, type\nTask: Get lon from cloud_cover where reading exceeds the maximum reading from drought_index 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\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008184", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: unit, level, lon, value\n Sensor: lightning | fields: ts, lon, value, level\nTask: Get reading from frost where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008185", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: reading, ts, type, value\n Sensor: turbidity | fields: lat, unit, type, level\nTask: Retrieve lat from rainfall whose unit 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=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008186", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, value, unit, lon\n Sensor: humidity | fields: ts, type, level, depth\nTask: Retrieve lon from wind_speed whose ts is found in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008187", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, value, level, lat\n Sensor: soil_moisture | fields: ts, qc, lat, type\nTask: Get reading from humidity where reading exceeds the minimum depth from soil_moisture for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008188", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, ts, value, unit\n Sensor: dew_point | fields: depth, ts, unit, level\nTask: Retrieve reading from pressure with value above the MAX(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008189", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, type, unit, level\n Sensor: uv_index | fields: value, ts, lat, level\nTask: Fetch depth from drought_index where unit exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008190", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, type, depth, unit\n Sensor: snow_depth | fields: unit, ts, depth, value\nTask: Retrieve depth from uv_index with reading above the COUNT(value) of snow_depth readings sharing the same ts.\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(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008191", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: lon, qc, depth, level\n Sensor: dew_point | fields: value, type, ts, unit\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=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008192", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lat, lon, level, reading\n Sensor: sunlight | fields: qc, ts, value, reading\nTask: Fetch depth from rainfall where depth is greater than the average of value in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008193", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, lat, depth, unit\n Sensor: evaporation | fields: reading, unit, level, value\nTask: Get depth from humidity where depth exceeds the minimum depth from evaporation for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008194", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, qc, reading, unit\n Sensor: air_quality | fields: level, value, reading, type\nTask: Fetch lat from temperature where ts exists in air_quality sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008195", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: reading, lon, qc, ts\n Sensor: frost | fields: qc, type, unit, lon\nTask: Retrieve reading from turbidity that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008196", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: ts, unit, value, type\n Sensor: sunlight | fields: value, qc, reading, unit\nTask: Fetch lon from turbidity where depth exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008197", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: level, ts, value, lat\n Sensor: humidity | fields: qc, level, unit, type\nTask: Retrieve lat from lightning with depth above the MAX(depth) of humidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "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_fixed_v1_val_008198", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, ts, unit, depth\n Sensor: sunlight | fields: level, lon, type, lat\nTask: Retrieve lon from snow_depth with reading above the AVG(value) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008199", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, level, ts, lon\n Sensor: lightning | fields: qc, value, lat, reading\nTask: Get level from uv_index where a corresponding entry exists in lightning with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008200", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: level, depth, value, reading\n Sensor: pressure | fields: value, reading, lat, lon\nTask: Get reading from soil_moisture where reading exceeds the minimum depth from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008201", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: ts, unit, lat, level\n Sensor: sunlight | fields: qc, lat, ts, depth\nTask: Retrieve lon from turbidity whose qc is found in sunlight records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008202", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, value, qc, lon\n Sensor: sunlight | fields: type, qc, value, lon\nTask: Get lon from visibility where depth appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008203", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: ts, qc, lon, unit\n Sensor: evaporation | fields: ts, value, depth, lat\nTask: Get value from wind_speed where ts appears in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008204", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: level, lat, value, ts\n Sensor: humidity | fields: qc, level, lat, depth\nTask: Get level from soil_moisture where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008205", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: unit, reading, ts, depth\n Sensor: humidity | fields: lon, unit, ts, level\nTask: Get value from frost where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008206", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: lon, qc, level, type\n Sensor: evaporation | fields: value, qc, ts, level\nTask: Fetch lon from lightning where qc exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008207", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, lat, value, unit\n Sensor: cloud_cover | fields: lat, qc, ts, reading\nTask: Retrieve value from turbidity whose type is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "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_fixed_v1_val_008208", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: ts, reading, depth, level\n Sensor: dew_point | fields: level, type, unit, qc\nTask: Get depth from rainfall where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008209", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: depth, ts, type, value\n Sensor: sunlight | fields: level, lon, unit, type\nTask: Retrieve value from dew_point that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008210", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, lat, type, unit\n Sensor: wind_speed | fields: ts, unit, lon, depth\nTask: Get level from cloud_cover where unit appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "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_fixed_v1_val_008211", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lon, type, depth, lat\n Sensor: turbidity | fields: depth, qc, lon, unit\nTask: Get lat from temperature where unit appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008212", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, type, ts, unit\n Sensor: turbidity | fields: unit, lon, reading, type\nTask: Get level from evaporation where depth exceeds the total depth from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008213", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, depth, value, ts\n Sensor: temperature | fields: value, ts, type, lon\nTask: Retrieve lat from lightning whose depth is found in temperature records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008214", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, lon, lat, qc\n Sensor: cloud_cover | fields: level, ts, qc, value\nTask: Get depth from evaporation where a corresponding entry exists in cloud_cover with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008215", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: type, ts, value, lat\n Sensor: temperature | fields: depth, lat, ts, type\nTask: Retrieve lat from lightning that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008216", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: level, unit, type, reading\n Sensor: uv_index | fields: unit, type, level, lat\nTask: Get lon from temperature where qc appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008217", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, ts, reading, depth\n Sensor: sunlight | fields: lat, reading, value, depth\nTask: Get reading from pressure where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008218", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, depth, qc, value\n Sensor: lightning | fields: level, lon, qc, depth\nTask: Get depth from sunlight where a corresponding entry exists in lightning with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008219", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, qc, type, value\n Sensor: dew_point | fields: unit, value, lat, reading\nTask: Retrieve lon from rainfall with depth above the COUNT(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008220", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: lat, ts, qc, value\n Sensor: uv_index | fields: reading, lat, level, lon\nTask: Get depth from drought_index where depth exceeds the count of depth from uv_index for the same type.\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(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008221", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: ts, unit, reading, lat\n Sensor: cloud_cover | fields: type, reading, ts, depth\nTask: Get level from soil_moisture where qc appears in cloud_cover readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "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_fixed_v1_val_008222", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: reading, type, value, lat\n Sensor: frost | fields: lat, level, value, qc\nTask: Fetch value from temperature where depth is greater than the maximum of value in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008223", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lat, unit, qc, lon\n Sensor: temperature | fields: level, lat, qc, unit\nTask: Retrieve level from humidity whose ts is found in temperature records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008224", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, lon, lat, unit\n Sensor: pressure | fields: depth, lat, ts, value\nTask: Fetch lat from temperature where value is greater than the average of value in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "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_fixed_v1_val_008225", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: ts, level, depth, lat\n Sensor: humidity | fields: depth, reading, value, unit\nTask: Retrieve lon from turbidity whose qc is found in humidity records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008226", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: qc, lon, reading, unit\n Sensor: uv_index | fields: lat, depth, type, qc\nTask: Get lon from rainfall where depth appears in uv_index readings with matching depth.\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=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008227", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: reading, type, lon, depth\n Sensor: frost | fields: reading, unit, lat, ts\nTask: Get level from visibility where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008228", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, qc, reading, type\n Sensor: snow_depth | fields: lon, unit, ts, value\nTask: Get depth from lightning where reading exceeds the maximum reading from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008229", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: unit, lat, type, reading\n Sensor: cloud_cover | fields: lat, level, qc, depth\nTask: Fetch lat from lightning that have at least one corresponding cloud_cover measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008230", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: qc, lon, value, unit\n Sensor: air_quality | fields: level, lon, qc, unit\nTask: Get level from visibility where ts appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008231", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: ts, lon, type, reading\n Sensor: dew_point | fields: unit, value, lon, type\nTask: Fetch lon from pressure where qc exists in dew_point sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008232", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: depth, lon, lat, unit\n Sensor: turbidity | fields: depth, qc, ts, unit\nTask: Get lat from air_quality where depth appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "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_fixed_v1_val_008233", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: level, value, lat, ts\n Sensor: turbidity | fields: lon, value, unit, type\nTask: Get reading from temperature where depth appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "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_fixed_v1_val_008234", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, lon, unit, ts\n Sensor: dew_point | fields: ts, value, level, depth\nTask: Retrieve lon from turbidity with reading above the SUM(value) of dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "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_fixed_v1_val_008235", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: type, value, qc, ts\n Sensor: visibility | fields: lat, level, type, depth\nTask: Get value from turbidity where reading exceeds the count of depth from visibility for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008236", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: reading, type, lat, lon\n Sensor: drought_index | fields: depth, unit, value, qc\nTask: Get lon from evaporation where ts appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008237", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: value, unit, ts, lat\n Sensor: lightning | fields: reading, lat, level, qc\nTask: Get depth from drought_index where depth exceeds the total depth from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008238", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: reading, type, qc, lon\n Sensor: cloud_cover | fields: type, qc, lon, value\nTask: Get depth from snow_depth where depth exceeds the minimum value from cloud_cover for the same ts.\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(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008239", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: ts, reading, type, lon\n Sensor: uv_index | fields: ts, reading, unit, qc\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=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008240", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, lon, qc, type\n Sensor: pressure | fields: unit, value, qc, level\nTask: Get lon from lightning where qc appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008241", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: value, lon, qc, type\n Sensor: humidity | fields: type, depth, level, reading\nTask: Get lon from uv_index where value exceeds the total reading from humidity for 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(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008242", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, level, unit, value\n Sensor: evaporation | fields: lat, type, qc, ts\nTask: Get depth from lightning where unit appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008243", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, level, unit, qc\n Sensor: cloud_cover | fields: depth, ts, reading, value\nTask: Retrieve value from wind_speed with depth above the SUM(value) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008244", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lon, unit, qc, value\n Sensor: uv_index | fields: value, unit, type, depth\nTask: Fetch level from sunlight that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008245", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: depth, reading, lon, lat\n Sensor: wind_speed | fields: depth, lat, unit, type\nTask: Fetch level from evaporation where qc exists in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008246", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: qc, lon, value, depth\n Sensor: visibility | fields: ts, level, depth, qc\nTask: Fetch lat from lightning where reading is greater than the total of depth in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008247", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lon, lat, value, depth\n Sensor: pressure | fields: value, type, depth, reading\nTask: Get lat from evaporation where depth exceeds the maximum value from pressure for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008248", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: qc, level, lon, reading\n Sensor: evaporation | fields: reading, level, value, unit\nTask: Fetch lat from rainfall that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008249", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: ts, depth, lat, unit\n Sensor: soil_moisture | fields: unit, reading, ts, value\nTask: Fetch lon from lightning where value is greater than the total of reading in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008250", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: unit, depth, ts, lat\n Sensor: wind_speed | fields: value, level, reading, lon\nTask: Fetch lon from visibility where depth is greater than the total of value in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\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": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008251", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: unit, type, lat, ts\n Sensor: drought_index | fields: depth, ts, unit, reading\nTask: Retrieve lat from temperature with depth above the COUNT(reading) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008252", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: type, level, depth, lon\n Sensor: wind_speed | fields: ts, level, lon, reading\nTask: Retrieve lon from dew_point whose ts is found in wind_speed records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008253", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lon, type, ts, qc\n Sensor: lightning | fields: depth, lon, unit, level\nTask: Fetch depth 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=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008254", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, qc, depth, ts\n Sensor: dew_point | fields: qc, value, lat, reading\nTask: Get reading from rainfall where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008255", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, ts, lat, depth\n Sensor: drought_index | fields: depth, ts, lon, qc\nTask: Retrieve lat from snow_depth that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008256", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: reading, lon, lat, unit\n Sensor: lightning | fields: lon, reading, value, ts\nTask: Retrieve lat from uv_index that have at least one matching reading in lightning sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008257", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lon, level, type, qc\n Sensor: soil_moisture | fields: lon, level, reading, type\nTask: Fetch level from lightning where type exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008258", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: ts, type, value, reading\n Sensor: wind_speed | fields: ts, value, level, lat\nTask: Get value from temperature where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008259", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: value, lat, level, ts\n Sensor: humidity | fields: lat, qc, unit, depth\nTask: Get value from evaporation where value exceeds the total depth from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008260", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, level, lat, lon\n Sensor: turbidity | fields: lat, qc, unit, value\nTask: Retrieve depth from uv_index that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008261", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, value, lon, reading\n Sensor: visibility | fields: lon, value, reading, lat\nTask: Retrieve level from cloud_cover that have at least one matching reading in visibility sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008262", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: lon, qc, reading, type\n Sensor: dew_point | fields: reading, unit, ts, lon\nTask: Get lat from sunlight where depth exceeds the total reading from dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008263", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: type, reading, qc, lon\n Sensor: cloud_cover | fields: qc, depth, ts, lat\nTask: Fetch lat 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=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008264", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, lat, lon, qc\n Sensor: rainfall | fields: reading, lat, lon, type\nTask: Retrieve reading from sunlight that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008265", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: ts, value, reading, type\n Sensor: pressure | fields: lat, depth, reading, type\nTask: Fetch lon from air_quality where unit exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008266", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lat, value, unit, reading\n Sensor: drought_index | fields: value, ts, qc, reading\nTask: Fetch reading from evaporation that have at least one corresponding drought_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008267", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: lon, level, lat, depth\n Sensor: humidity | fields: unit, reading, value, lon\nTask: Fetch reading from pressure where type exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008268", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, ts, depth, qc\n Sensor: wind_speed | fields: level, lat, reading, type\nTask: Get value from humidity where value exceeds the minimum depth from wind_speed for 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=\"gst\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008269", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: depth, value, ts, qc\n Sensor: lightning | fields: ts, lat, type, value\nTask: Retrieve depth from air_quality that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008270", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: level, ts, depth, value\n Sensor: uv_index | fields: level, depth, lat, type\nTask: Get lat from temperature where depth exceeds the average depth from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008271", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: ts, lat, unit, reading\n Sensor: dew_point | fields: lat, unit, value, ts\nTask: Retrieve value from evaporation that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008272", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, qc, lat, level\n Sensor: frost | fields: lat, type, lon, depth\nTask: Retrieve depth from dew_point with depth above the SUM(value) of frost 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(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "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_fixed_v1_val_008273", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, unit, ts, depth\n Sensor: rainfall | fields: value, unit, level, lat\nTask: Fetch reading from cloud_cover that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008274", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: value, lat, qc, depth\n Sensor: uv_index | fields: qc, depth, lat, type\nTask: Get value from cloud_cover where a corresponding entry exists in uv_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008275", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: qc, level, type, lon\n Sensor: frost | fields: type, level, value, lat\nTask: Fetch lat from air_quality where qc exists in frost sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "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_fixed_v1_val_008276", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: qc, level, type, lon\n Sensor: visibility | fields: lat, type, qc, level\nTask: Fetch reading from snow_depth that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008277", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, qc, value, ts\n Sensor: snow_depth | fields: reading, level, lon, ts\nTask: Get lat from pressure where depth exceeds the maximum reading from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008278", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: qc, ts, reading, lat\n Sensor: cloud_cover | fields: lat, depth, lon, ts\nTask: Fetch lon from temperature that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008279", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, ts, qc, value\n Sensor: uv_index | fields: type, lon, qc, level\nTask: Get lon from humidity where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008280", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, type, ts, level\n Sensor: lightning | fields: level, lon, lat, type\nTask: Get value from sunlight where unit appears in lightning readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "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_fixed_v1_val_008281", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: depth, lat, qc, type\n Sensor: visibility | fields: lon, ts, qc, value\nTask: Retrieve lon from temperature whose type is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008282", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: lat, value, lon, ts\n Sensor: pressure | fields: reading, unit, level, depth\nTask: Retrieve reading from cloud_cover that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008283", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: unit, ts, lat, value\n Sensor: rainfall | fields: level, lat, reading, unit\nTask: Fetch lon from uv_index where depth is greater than the average of value in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "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_fixed_v1_val_008284", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, lat, reading, qc\n Sensor: snow_depth | fields: unit, value, reading, type\nTask: Retrieve reading from temperature that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008285", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: level, depth, ts, reading\n Sensor: uv_index | fields: depth, ts, value, qc\nTask: Get lon from wind_speed where reading exceeds the maximum reading from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008286", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, qc, value, depth\n Sensor: air_quality | fields: value, lon, ts, level\nTask: Get value from temperature where value exceeds the minimum value from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008287", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: depth, type, qc, reading\n Sensor: wind_speed | fields: ts, unit, value, type\nTask: Get level from lightning where reading exceeds the total value from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008288", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, value, depth, type\n Sensor: temperature | fields: lat, lon, level, type\nTask: Fetch level from dew_point where depth exists in temperature sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008289", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lon, qc, reading, depth\n Sensor: temperature | fields: value, lat, qc, depth\nTask: Get reading from cloud_cover where reading exceeds the maximum reading from temperature for the same depth.\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(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008290", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: depth, ts, unit, qc\n Sensor: sunlight | fields: reading, unit, value, qc\nTask: Get depth from temperature where type appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008291", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, ts, lat, level\n Sensor: frost | fields: value, lon, qc, depth\nTask: Retrieve value from soil_moisture with depth above the SUM(reading) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008292", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: depth, lon, ts, type\n Sensor: cloud_cover | fields: ts, value, level, type\nTask: Fetch reading from wind_speed where qc exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008293", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: type, depth, unit, value\n Sensor: snow_depth | fields: qc, depth, type, value\nTask: Get value from sunlight where reading exceeds the average depth from snow_depth for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008294", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, lon, level, type\n Sensor: wind_speed | fields: qc, unit, value, depth\nTask: Get level from uv_index where a corresponding entry exists in wind_speed with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008295", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lon, lat, reading, ts\n Sensor: turbidity | fields: type, unit, qc, lat\nTask: Get lon from lightning where a corresponding entry exists in turbidity with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008296", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, unit, level, value\n Sensor: dew_point | fields: qc, value, unit, ts\nTask: Retrieve value from pressure whose qc is found in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008297", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: qc, reading, unit, level\n Sensor: uv_index | fields: depth, lat, level, unit\nTask: Retrieve reading from wind_speed with value above the COUNT(depth) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008298", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, value, type, unit\n Sensor: drought_index | fields: type, reading, unit, value\nTask: Get depth from sunlight where depth exceeds the average value from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008299", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: value, qc, lon, type\n Sensor: evaporation | fields: level, reading, lat, unit\nTask: Get level from humidity where a corresponding entry exists in evaporation with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008300", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, lon, level, depth\n Sensor: turbidity | fields: qc, unit, ts, lat\nTask: Retrieve reading from wind_speed whose type is found in turbidity records where ts 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(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008301", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: ts, qc, lon, reading\n Sensor: sunlight | fields: value, type, ts, depth\nTask: Retrieve value from soil_moisture whose depth is found in sunlight records where qc 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(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "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_fixed_v1_val_008302", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: qc, type, reading, unit\n Sensor: uv_index | fields: ts, value, lat, depth\nTask: Retrieve depth from evaporation with depth above the MIN(reading) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008303", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: type, ts, lat, value\n Sensor: pressure | fields: reading, unit, depth, ts\nTask: Get lat from frost where depth exceeds the total depth from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008304", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, type, unit, value\n Sensor: cloud_cover | fields: lon, qc, level, ts\nTask: Get level from visibility where depth appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008305", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, level, unit, type\n Sensor: air_quality | fields: value, type, qc, ts\nTask: Fetch depth from dew_point where depth is greater than the minimum of value in air_quality for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008306", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: reading, ts, lon, depth\n Sensor: frost | fields: lat, value, type, reading\nTask: Get depth from turbidity where depth exceeds the average reading from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008307", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, ts, depth, lat\n Sensor: evaporation | fields: depth, level, value, lat\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=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008308", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: qc, value, unit, lat\n Sensor: turbidity | fields: level, type, depth, unit\nTask: Fetch lon 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=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008309", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: type, level, reading, ts\n Sensor: drought_index | fields: type, reading, qc, value\nTask: Get depth from dew_point where value exceeds the maximum reading from drought_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(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008310", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lat, level, depth, lon\n Sensor: frost | fields: level, type, reading, lat\nTask: Fetch depth from evaporation that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008311", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: level, ts, qc, value\n Sensor: soil_moisture | fields: ts, type, value, level\nTask: Retrieve lat from turbidity that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008312", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: ts, reading, unit, level\n Sensor: dew_point | fields: lat, lon, unit, value\nTask: Get level from humidity where value exceeds the average reading from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "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_fixed_v1_val_008313", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lon, depth, reading, type\n Sensor: snow_depth | fields: depth, level, lon, reading\nTask: Get value from dew_point where unit appears in snow_depth readings with matching type.\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=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008314", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: depth, level, lat, value\n Sensor: dew_point | fields: qc, value, lat, reading\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=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008315", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: ts, depth, lat, value\n Sensor: humidity | fields: level, depth, lon, type\nTask: Get reading from cloud_cover where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008316", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, depth, qc, unit\n Sensor: wind_speed | fields: qc, unit, reading, ts\nTask: Get depth from evaporation where value exceeds the count of depth from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008317", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: depth, ts, level, lat\n Sensor: rainfall | fields: qc, lon, unit, type\nTask: Retrieve level from drought_index whose qc is found in rainfall records where depth 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(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008318", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, lon, lat, ts\n Sensor: humidity | fields: qc, lat, value, ts\nTask: Fetch level from dew_point where depth is greater than the count of of reading in humidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008319", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: reading, lat, qc, level\n Sensor: soil_moisture | fields: qc, lon, depth, reading\nTask: Retrieve lat from visibility whose depth is found in soil_moisture records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008320", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lat, ts, value, level\n Sensor: rainfall | fields: reading, qc, value, depth\nTask: Get lat from humidity where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008321", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: depth, reading, ts, qc\n Sensor: snow_depth | fields: value, type, ts, unit\nTask: Fetch value from uv_index where reading is greater than the minimum of value in snow_depth for matching type.\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(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008322", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: level, type, unit, depth\n Sensor: rainfall | fields: level, type, ts, reading\nTask: Fetch lon from frost that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008323", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, value, reading, type\n Sensor: drought_index | fields: level, lon, type, qc\nTask: Fetch value from rainfall where unit exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008324", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: ts, value, lon, unit\n Sensor: frost | fields: level, unit, ts, lat\nTask: Get reading from temperature where value exceeds the maximum value from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", 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=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008325", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: qc, level, type, lat\n Sensor: uv_index | fields: unit, depth, value, lat\nTask: Retrieve reading from air_quality with depth above the SUM(reading) of uv_index 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(\"SUM\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008326", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, depth, lon, qc\n Sensor: sunlight | fields: level, value, qc, reading\nTask: Retrieve depth from dew_point that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008327", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: unit, lat, reading, value\n Sensor: pressure | fields: unit, depth, lon, lat\nTask: Get lon from visibility where ts appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008328", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, level, type, value\n Sensor: pressure | fields: qc, level, value, depth\nTask: Get lon from sunlight where unit appears in pressure readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008329", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: reading, qc, value, depth\n Sensor: turbidity | fields: reading, type, lon, unit\nTask: Get lon from rainfall where depth appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008330", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: level, qc, reading, lat\n Sensor: wind_speed | fields: reading, ts, level, unit\nTask: Fetch reading from cloud_cover where depth is greater than the average of reading in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008331", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: lat, unit, ts, lon\n Sensor: drought_index | fields: type, depth, ts, reading\nTask: Get reading from lightning where value exceeds the minimum reading from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008332", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, qc, depth, unit\n Sensor: evaporation | fields: reading, unit, lon, type\nTask: Retrieve reading from sunlight whose type is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008333", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: ts, level, qc, lon\n Sensor: cloud_cover | fields: reading, qc, ts, level\nTask: Fetch lon 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=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008334", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: unit, lat, value, ts\n Sensor: wind_speed | fields: unit, lon, type, value\nTask: Retrieve depth 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=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008335", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: reading, lat, depth, ts\n Sensor: snow_depth | fields: unit, level, type, value\nTask: Retrieve depth from soil_moisture with reading above the MIN(depth) of snow_depth readings sharing the same ts.\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(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008336", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: depth, lat, level, value\n Sensor: pressure | fields: lat, unit, qc, type\nTask: Get level from snow_depth where depth exceeds the minimum depth from pressure for the same type.\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(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008337", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: ts, type, lat, level\n Sensor: wind_speed | fields: lat, level, reading, unit\nTask: Get lon from cloud_cover where reading exceeds the count of reading from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008338", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: depth, reading, unit, level\n Sensor: lightning | fields: depth, lat, qc, reading\nTask: Get level from humidity where value exceeds the count of reading from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008339", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: reading, unit, qc, lon\n Sensor: cloud_cover | fields: qc, lat, lon, level\nTask: Retrieve depth from rainfall with value above the SUM(reading) of cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008340", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: type, level, value, reading\n Sensor: visibility | fields: qc, lon, depth, unit\nTask: Fetch reading from air_quality where ts exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008341", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lat, depth, type, value\n Sensor: turbidity | fields: type, lat, ts, qc\nTask: Retrieve level from dew_point that have at least one matching reading in turbidity sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008342", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: level, qc, lon, depth\n Sensor: rainfall | fields: ts, level, lat, depth\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=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "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_fixed_v1_val_008343", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, depth, type, lon\n Sensor: drought_index | fields: reading, lat, unit, lon\nTask: Get level from soil_moisture where reading exceeds the total depth from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008344", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: depth, lon, type, unit\n Sensor: temperature | fields: unit, level, depth, lon\nTask: Retrieve level from snow_depth with reading above the MAX(value) of temperature readings sharing the same unit.\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(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008345", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: unit, lat, qc, reading\n Sensor: pressure | fields: lat, level, qc, depth\nTask: Get level from drought_index where unit appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008346", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: qc, level, depth, ts\n Sensor: dew_point | fields: value, depth, lon, qc\nTask: Get reading from temperature where depth exceeds the average value from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008347", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: unit, type, value, ts\n Sensor: temperature | fields: qc, level, depth, lat\nTask: Get lat from pressure where ts appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008348", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: ts, reading, depth, qc\n Sensor: rainfall | fields: unit, level, qc, value\nTask: Retrieve value from wind_speed whose ts is found in rainfall records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008349", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: depth, value, ts, lat\n Sensor: drought_index | fields: type, value, depth, lat\nTask: Retrieve lat from sunlight with value above the COUNT(depth) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008350", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, reading, lon, ts\n Sensor: air_quality | fields: value, type, level, ts\nTask: Fetch reading 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=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008351", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: reading, qc, lon, value\n Sensor: lightning | fields: type, value, level, lon\nTask: Get depth from wind_speed where value exceeds the total depth from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008352", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: qc, lon, value, lat\n Sensor: rainfall | fields: depth, ts, value, lat\nTask: Get lon from sunlight where reading exceeds the count of value from rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008353", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: level, depth, value, qc\n Sensor: frost | fields: qc, type, value, ts\nTask: Get lat from air_quality where type appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008354", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: type, unit, qc, ts\n Sensor: air_quality | fields: depth, unit, level, lon\nTask: Retrieve lat from dew_point with reading above the SUM(reading) of air_quality readings sharing the same ts.\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(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008355", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lon, reading, lat, value\n Sensor: turbidity | fields: qc, ts, lon, reading\nTask: Fetch lon from cloud_cover where depth is greater than the total of value in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008356", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: lon, value, ts, depth\n Sensor: snow_depth | fields: depth, ts, reading, qc\nTask: Fetch depth from cloud_cover where depth is greater than the count of of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008357", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: level, depth, lat, ts\n Sensor: cloud_cover | fields: reading, depth, ts, level\nTask: Retrieve depth from humidity with depth above the AVG(depth) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008358", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: unit, value, qc, depth\n Sensor: dew_point | fields: type, depth, lon, unit\nTask: Fetch lon from drought_index that have at least one corresponding dew_point measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008359", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, reading, ts, depth\n Sensor: cloud_cover | fields: depth, lat, unit, type\nTask: Fetch reading from pressure where depth exists in cloud_cover sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008360", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: level, ts, lat, reading\n Sensor: soil_moisture | fields: qc, ts, level, type\nTask: Retrieve reading from dew_point that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008361", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: reading, ts, lat, value\n Sensor: turbidity | fields: lon, unit, reading, value\nTask: Fetch value from frost that have at least one corresponding turbidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008362", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, lat, ts, unit\n Sensor: sunlight | fields: lat, lon, reading, level\nTask: Get depth from lightning where a corresponding entry exists in sunlight with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008363", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: qc, ts, lat, value\n Sensor: humidity | fields: reading, level, value, ts\nTask: Get depth from snow_depth where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008364", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: depth, lon, type, level\n Sensor: turbidity | fields: depth, level, qc, ts\nTask: Fetch lon from frost where qc exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008365", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: type, value, qc, ts\n Sensor: snow_depth | fields: depth, reading, value, ts\nTask: Retrieve depth from drought_index that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008366", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: unit, value, lat, lon\n Sensor: frost | fields: value, unit, lat, lon\nTask: Get depth from drought_index where value exceeds the average depth from frost for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008367", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, ts, reading, depth\n Sensor: cloud_cover | fields: depth, qc, reading, level\nTask: Retrieve lat from soil_moisture whose qc is found in cloud_cover records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008368", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lon, qc, value, reading\n Sensor: cloud_cover | fields: reading, unit, depth, lat\nTask: Fetch level from turbidity where value is greater than the total of depth in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008369", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: type, level, depth, lat\n Sensor: temperature | fields: depth, unit, qc, value\nTask: Retrieve depth from turbidity that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008370", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, lon, ts, unit\n Sensor: frost | fields: lat, unit, lon, qc\nTask: Retrieve value from snow_depth with depth above the SUM(reading) of frost readings sharing the same 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(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008371", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: qc, unit, reading, ts\n Sensor: cloud_cover | fields: qc, unit, ts, lon\nTask: Fetch lat from wind_speed where value is greater than the average of depth in cloud_cover for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\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": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008372", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: lat, qc, value, ts\n Sensor: sunlight | fields: reading, unit, lat, level\nTask: Get reading from lightning where depth exceeds the total depth from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008373", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: type, value, unit, depth\n Sensor: soil_moisture | fields: ts, level, reading, qc\nTask: Get level 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=\"prt\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008374", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: lon, level, qc, depth\n Sensor: lightning | fields: value, reading, type, lon\nTask: Retrieve depth from snow_depth that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008375", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: reading, ts, lon, unit\n Sensor: visibility | fields: depth, value, level, unit\nTask: Retrieve value from air_quality that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008376", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: depth, qc, ts, lat\n Sensor: lightning | fields: unit, level, lon, ts\nTask: Retrieve reading from humidity with depth above the COUNT(reading) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008377", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lat, type, level, value\n Sensor: sunlight | fields: ts, depth, unit, level\nTask: Fetch lat from turbidity where value is greater than the count of of reading in sunlight for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008378", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: level, type, value, lon\n Sensor: evaporation | fields: lat, depth, unit, reading\nTask: Retrieve reading from frost whose ts is found in evaporation records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "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_fixed_v1_val_008379", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: ts, unit, lat, level\n Sensor: wind_speed | fields: reading, lat, value, qc\nTask: Retrieve reading 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=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008380", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, depth, ts, type\n Sensor: turbidity | fields: lat, value, ts, type\nTask: Fetch lon from snow_depth that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008381", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: type, unit, qc, reading\n Sensor: humidity | fields: qc, value, reading, ts\nTask: Get value from soil_moisture where type appears in humidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008382", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: depth, ts, lon, value\n Sensor: turbidity | fields: value, qc, ts, reading\nTask: Retrieve reading from pressure that have at least one matching reading in turbidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008383", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: value, qc, reading, ts\n Sensor: cloud_cover | fields: lat, reading, value, qc\nTask: Get value from humidity where depth exceeds the total value from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008384", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lon, ts, value, qc\n Sensor: visibility | fields: reading, level, type, value\nTask: Get value from cloud_cover where qc appears in visibility 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(\"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": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008385", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: depth, reading, qc, unit\n Sensor: cloud_cover | fields: qc, unit, value, type\nTask: Retrieve depth from evaporation that have at least one matching reading in cloud_cover sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008386", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: unit, type, level, ts\n Sensor: dew_point | fields: lon, type, unit, reading\nTask: Retrieve lat from humidity that have at least one matching reading in dew_point sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008387", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, type, lat, level\n Sensor: visibility | fields: ts, type, lon, value\nTask: Get reading from air_quality where depth appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008388", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: unit, depth, value, lon\n Sensor: soil_moisture | fields: ts, type, lat, lon\nTask: Fetch lon from drought_index where ts exists in soil_moisture sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008389", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: qc, ts, value, depth\n Sensor: visibility | fields: level, unit, ts, lon\nTask: Retrieve depth from humidity whose depth is found in visibility records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008390", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, lon, ts, lat\n Sensor: sunlight | fields: type, qc, reading, value\nTask: Get value from pressure where reading exceeds the average depth from sunlight for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008391", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: level, lon, reading, lat\n Sensor: lightning | fields: ts, type, lon, unit\nTask: Fetch lon from temperature that have at least one corresponding lightning measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008392", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: qc, type, unit, depth\n Sensor: evaporation | fields: lon, value, qc, type\nTask: Get level from snow_depth where value exceeds the minimum reading from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008393", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, lon, type, reading\n Sensor: rainfall | fields: lat, lon, reading, level\nTask: Fetch lat 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=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008394", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, lat, lon, type\n Sensor: soil_moisture | fields: level, qc, lon, value\nTask: Retrieve lon from lightning whose unit is found in soil_moisture records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008395", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: reading, qc, value, level\n Sensor: evaporation | fields: qc, value, depth, level\nTask: Fetch lat from lightning where ts exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008396", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: ts, type, lon, level\n Sensor: turbidity | fields: lon, type, depth, unit\nTask: Retrieve depth from evaporation with reading above the SUM(reading) of turbidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008397", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: level, reading, ts, lon\n Sensor: drought_index | fields: level, type, unit, ts\nTask: Retrieve level from pressure whose unit is found in drought_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008398", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, qc, value, lon\n Sensor: soil_moisture | fields: level, lon, lat, type\nTask: Retrieve level from humidity whose depth is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008399", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: level, lon, unit, qc\n Sensor: dew_point | fields: value, type, depth, reading\nTask: Fetch depth from air_quality where depth is greater than the maximum of value in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008400", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: qc, unit, lon, type\n Sensor: cloud_cover | fields: reading, unit, type, value\nTask: Fetch value from drought_index where unit exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008401", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: ts, value, qc, lon\n Sensor: temperature | fields: value, lat, lon, type\nTask: Retrieve value from cloud_cover that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008402", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: qc, value, type, level\n Sensor: soil_moisture | fields: reading, lat, level, qc\nTask: Retrieve depth from humidity whose depth 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=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008403", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lon, value, lat, unit\n Sensor: lightning | fields: value, type, reading, qc\nTask: Fetch level from rainfall that have at least one corresponding lightning measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008404", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: level, depth, lat, ts\n Sensor: pressure | fields: lon, type, unit, ts\nTask: Fetch lon from turbidity that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008405", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, ts, depth, lon\n Sensor: lightning | fields: value, depth, lon, lat\nTask: Get depth from sunlight where depth exceeds the count of depth from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008406", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: reading, lat, level, depth\n Sensor: snow_depth | fields: reading, lon, unit, level\nTask: Fetch value from humidity that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008407", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, reading, qc, value\n Sensor: soil_moisture | fields: reading, value, level, lat\nTask: Fetch depth from visibility where value is greater than the total of reading in soil_moisture for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008408", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: unit, qc, depth, reading\n Sensor: air_quality | fields: unit, reading, ts, type\nTask: Retrieve lat from soil_moisture with value above the MIN(reading) of air_quality readings sharing the same type.\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(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008409", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: value, type, level, unit\n Sensor: uv_index | fields: ts, value, lat, unit\nTask: Get lat from visibility where value exceeds the minimum reading from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "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_fixed_v1_val_008410", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: unit, qc, level, type\n Sensor: turbidity | fields: reading, level, lat, qc\nTask: Get reading from humidity where ts appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008411", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: type, ts, reading, qc\n Sensor: temperature | fields: ts, qc, level, type\nTask: Retrieve lon from turbidity that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008412", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lat, lon, qc, reading\n Sensor: humidity | fields: unit, level, type, qc\nTask: Retrieve lon from uv_index whose ts is found in humidity records where unit 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=\"hgr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008413", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: value, qc, type, depth\n Sensor: air_quality | fields: unit, type, value, lon\nTask: Fetch depth from dew_point where qc exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008414", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lat, qc, type, ts\n Sensor: snow_depth | fields: ts, level, depth, lat\nTask: Get value from rainfall where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008415", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, reading, qc, ts\n Sensor: snow_depth | fields: type, reading, qc, lon\nTask: Get depth from temperature where depth appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008416", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, ts, depth, qc\n Sensor: air_quality | fields: level, ts, reading, value\nTask: Get reading from temperature where qc appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008417", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, ts, lon, qc\n Sensor: wind_speed | fields: level, depth, lon, type\nTask: Get lon from drought_index where type appears in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008418", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lat, value, reading, depth\n Sensor: turbidity | fields: ts, type, level, depth\nTask: Fetch depth from air_quality where depth exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008419", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: ts, reading, type, qc\n Sensor: drought_index | fields: lon, unit, lat, qc\nTask: Fetch lat 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=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "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_fixed_v1_val_008420", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: reading, lat, unit, qc\n Sensor: wind_speed | fields: type, reading, value, depth\nTask: Get depth from temperature where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008421", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: depth, type, ts, qc\n Sensor: lightning | fields: qc, lat, depth, ts\nTask: Get lat from sunlight where depth exceeds the count of depth from lightning for 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(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "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_fixed_v1_val_008422", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: qc, ts, level, lat\n Sensor: air_quality | fields: unit, ts, value, qc\nTask: Retrieve depth from wind_speed with value above the AVG(value) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008423", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: reading, level, qc, unit\n Sensor: pressure | fields: level, lon, value, reading\nTask: Retrieve value from rainfall that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008424", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: ts, lat, depth, reading\n Sensor: drought_index | fields: type, lat, reading, value\nTask: Get reading from uv_index where reading exceeds the average value from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008425", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: depth, qc, level, lon\n Sensor: pressure | fields: level, value, unit, lat\nTask: Get depth from rainfall where depth exceeds the count of depth from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008426", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, reading, level, depth\n Sensor: rainfall | fields: lat, qc, value, type\nTask: Get depth from evaporation where type appears in rainfall readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008427", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: reading, qc, type, level\n Sensor: lightning | fields: value, lat, reading, depth\nTask: Fetch lon from turbidity where ts exists in lightning sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008428", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: ts, qc, depth, level\n Sensor: cloud_cover | fields: value, qc, lon, level\nTask: Retrieve lat from evaporation whose unit is found in cloud_cover records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008429", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: depth, value, lon, type\n Sensor: pressure | fields: reading, type, lon, lat\nTask: Fetch lon from turbidity where value is greater than the average of reading in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008430", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, lat, type, value\n Sensor: snow_depth | fields: level, type, ts, unit\nTask: Fetch value from turbidity where value is greater than the total of reading in snow_depth for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008431", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: level, depth, qc, unit\n Sensor: rainfall | fields: qc, level, type, lon\nTask: Get reading from dew_point where depth exceeds the minimum value from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008432", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: ts, reading, qc, lat\n Sensor: evaporation | fields: level, type, value, lon\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=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008433", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, level, type, depth\n Sensor: drought_index | fields: unit, reading, lat, depth\nTask: Retrieve lon from soil_moisture whose depth is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008434", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: reading, depth, lon, lat\n Sensor: frost | fields: type, unit, level, lat\nTask: Fetch lat from dew_point where qc exists in frost sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008435", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: ts, unit, value, depth\n Sensor: wind_speed | fields: type, reading, lon, qc\nTask: Get lat from turbidity where value exceeds the minimum depth from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008436", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lat, value, type, depth\n Sensor: lightning | fields: qc, type, value, ts\nTask: Get lon from temperature where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008437", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: reading, level, type, lat\n Sensor: uv_index | fields: type, qc, lon, depth\nTask: Retrieve lat from lightning with reading above the MAX(depth) of uv_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008438", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: type, lon, qc, reading\n Sensor: soil_moisture | fields: lon, type, level, unit\nTask: Get lon from pressure where qc appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008439", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: value, lat, type, lon\n Sensor: frost | fields: value, unit, type, qc\nTask: Get reading from snow_depth where reading exceeds the average depth from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008440", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: depth, lat, ts, unit\n Sensor: frost | fields: level, qc, unit, ts\nTask: Fetch reading from soil_moisture where unit exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008441", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: unit, lon, ts, depth\n Sensor: humidity | fields: ts, lon, reading, type\nTask: Fetch level from temperature that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008442", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: qc, reading, value, type\n Sensor: soil_moisture | fields: value, unit, ts, qc\nTask: Get level from frost where reading exceeds the average reading from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008443", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: value, ts, reading, depth\n Sensor: visibility | fields: unit, value, lon, qc\nTask: Get depth from temperature where depth exceeds the count of value from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008444", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: reading, type, value, ts\n Sensor: rainfall | fields: lat, ts, value, qc\nTask: Fetch value from visibility that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008445", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, type, reading, level\n Sensor: snow_depth | fields: lon, qc, value, depth\nTask: Retrieve lat from turbidity with reading above the SUM(value) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008446", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lat, type, qc, unit\n Sensor: frost | fields: value, lat, level, reading\nTask: Fetch lat from temperature where unit exists in frost 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(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008447", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, lon, unit, type\n Sensor: frost | fields: reading, lon, lat, unit\nTask: Get lat from turbidity where qc appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008448", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: depth, qc, type, lon\n Sensor: cloud_cover | fields: level, lon, depth, reading\nTask: Retrieve reading from dew_point whose type is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\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": "dew_point", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008449", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: qc, value, lon, type\n Sensor: uv_index | fields: lat, lon, qc, level\nTask: Fetch value from cloud_cover where depth exists in uv_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008450", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: ts, reading, type, lat\n Sensor: wind_speed | fields: unit, qc, value, lon\nTask: Get reading from frost where depth exceeds the total depth from wind_speed for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008451", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: ts, reading, lat, lon\n Sensor: evaporation | fields: level, reading, ts, qc\nTask: Fetch lon from snow_depth where unit exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008452", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lat, reading, qc, lon\n Sensor: frost | fields: qc, lat, type, depth\nTask: Fetch reading from evaporation that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "reading", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008453", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: type, qc, lat, reading\n Sensor: lightning | fields: type, depth, level, unit\nTask: Retrieve reading from snow_depth with reading above the MAX(value) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008454", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: value, type, level, qc\n Sensor: soil_moisture | fields: lat, qc, depth, type\nTask: Fetch depth 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=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008455", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, reading, depth, type\n Sensor: pressure | fields: lat, depth, lon, unit\nTask: Retrieve reading from dew_point whose qc is found in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008456", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lat, lon, level, ts\n Sensor: sunlight | fields: level, depth, type, qc\nTask: Retrieve reading from pressure with depth above the SUM(depth) of sunlight readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008457", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: unit, depth, lon, value\n Sensor: dew_point | fields: lon, reading, type, qc\nTask: Retrieve value from rainfall whose qc is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008458", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: ts, level, unit, qc\n Sensor: turbidity | fields: unit, depth, ts, level\nTask: Retrieve value from visibility that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008459", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, value, level, unit\n Sensor: rainfall | fields: qc, level, ts, lon\nTask: Get lon from lightning where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008460", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: value, qc, lat, reading\n Sensor: lightning | fields: depth, unit, value, level\nTask: Get lon from rainfall where value exceeds the count of reading from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008461", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: level, qc, ts, unit\n Sensor: wind_speed | fields: ts, reading, lon, lat\nTask: Retrieve reading from lightning whose type is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008462", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, ts, qc, reading\n Sensor: visibility | fields: qc, ts, unit, lat\nTask: Retrieve level from rainfall with reading above the MIN(depth) of visibility readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008463", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, depth, reading, lon\n Sensor: temperature | fields: lat, type, unit, qc\nTask: Fetch depth from drought_index where unit exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008464", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: value, level, depth, unit\n Sensor: evaporation | fields: qc, type, unit, value\nTask: Fetch depth from sunlight that have at least one corresponding evaporation measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008465", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: ts, qc, value, unit\n Sensor: visibility | fields: type, depth, lat, level\nTask: Retrieve depth from uv_index that have at least one matching reading in visibility sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008466", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, lon, reading, lat\n Sensor: lightning | fields: depth, level, value, ts\nTask: Fetch value from evaporation where unit exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008467", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: type, value, ts, lat\n Sensor: sunlight | fields: unit, ts, qc, type\nTask: Fetch lon from air_quality that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008468", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: ts, depth, level, qc\n Sensor: snow_depth | fields: value, lat, lon, level\nTask: Fetch lat from cloud_cover that have at least one corresponding snow_depth measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lat", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008469", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: depth, lat, level, value\n Sensor: air_quality | fields: type, reading, value, level\nTask: Retrieve value from evaporation that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008470", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: qc, level, reading, value\n Sensor: snow_depth | fields: unit, ts, reading, qc\nTask: Get level from drought_index where depth exceeds the maximum reading from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "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_fixed_v1_val_008471", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: reading, level, depth, value\n Sensor: temperature | fields: ts, reading, level, lat\nTask: Fetch level from lightning where value is greater than the total of depth in temperature for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008472", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: qc, lat, lon, ts\n Sensor: cloud_cover | fields: ts, qc, depth, unit\nTask: Get lon from snow_depth where depth exceeds the total depth from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008473", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: reading, value, level, depth\n Sensor: dew_point | fields: value, reading, unit, depth\nTask: Get lat from visibility where qc appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008474", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: qc, unit, lon, type\n Sensor: temperature | fields: unit, value, level, qc\nTask: Fetch lon from wind_speed where depth is greater than the maximum of value in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008475", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lat, ts, unit, type\n Sensor: dew_point | fields: reading, level, depth, unit\nTask: Retrieve value from pressure whose ts is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008476", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: level, lat, type, ts\n Sensor: snow_depth | fields: unit, depth, reading, level\nTask: Fetch lon from frost where depth exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\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": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008477", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: unit, value, level, depth\n Sensor: lightning | fields: lon, type, reading, qc\nTask: Retrieve reading from humidity that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008478", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, lon, type, reading\n Sensor: air_quality | fields: lat, value, level, reading\nTask: Fetch reading from pressure where ts exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008479", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: ts, value, depth, qc\n Sensor: humidity | fields: depth, qc, level, lon\nTask: Retrieve reading from cloud_cover with reading above the MAX(depth) of humidity readings sharing the same ts.\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(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "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_fixed_v1_val_008480", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: depth, lat, qc, level\n Sensor: lightning | fields: ts, level, type, lon\nTask: Fetch level from cloud_cover where reading is greater than the average of value in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008481", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: level, reading, ts, lat\n Sensor: soil_moisture | fields: lon, level, value, ts\nTask: Retrieve lon from visibility that have at least one matching reading in soil_moisture sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008482", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: depth, value, reading, unit\n Sensor: snow_depth | fields: ts, level, lon, depth\nTask: Retrieve level from visibility that have at least one matching reading in snow_depth sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008483", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lon, type, depth, value\n Sensor: uv_index | fields: type, level, lon, value\nTask: Get lon from drought_index where reading exceeds the maximum reading from uv_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "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_fixed_v1_val_008484", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lat, value, qc, unit\n Sensor: pressure | fields: ts, lon, lat, unit\nTask: Get value from visibility where qc appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "qc", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008485", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, lat, lon, value\n Sensor: frost | fields: value, lon, level, ts\nTask: Fetch depth from rainfall that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008486", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: value, qc, depth, reading\n Sensor: air_quality | fields: type, unit, reading, ts\nTask: Retrieve level from evaporation with value above the AVG(value) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008487", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: ts, depth, qc, level\n Sensor: visibility | fields: lon, value, qc, level\nTask: Retrieve lon from rainfall with value above the AVG(reading) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008488", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, lon, reading, qc\n Sensor: drought_index | fields: depth, unit, lon, qc\nTask: Retrieve lon from turbidity that have at least one matching reading in drought_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008489", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, unit, type, level\n Sensor: humidity | fields: unit, lat, ts, depth\nTask: Get reading from drought_index where depth appears in humidity 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(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008490", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lon, unit, depth, ts\n Sensor: drought_index | fields: type, qc, level, lat\nTask: Get lat from air_quality where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008491", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: ts, lon, type, qc\n Sensor: visibility | fields: value, type, unit, ts\nTask: Retrieve value from sunlight that have at least one matching reading in visibility sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008492", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: level, value, ts, lat\n Sensor: evaporation | fields: reading, depth, value, unit\nTask: Get lon from drought_index where depth exceeds the total depth from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008493", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: unit, ts, qc, reading\n Sensor: wind_speed | fields: value, lat, reading, level\nTask: Fetch reading from sunlight where value is greater than the average of depth in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008494", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lat, lon, unit, type\n Sensor: humidity | fields: unit, reading, depth, lat\nTask: Fetch value from dew_point where unit exists in humidity sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008495", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lat, reading, qc, ts\n Sensor: sunlight | fields: depth, level, lon, unit\nTask: Get value from pressure where reading exceeds the maximum depth from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008496", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: unit, type, lon, qc\n Sensor: frost | fields: lat, lon, value, qc\nTask: Get depth from humidity where depth exceeds the minimum value from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008497", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: value, unit, ts, level\n Sensor: visibility | fields: level, depth, reading, qc\nTask: Fetch value from lightning where value is greater than the average of depth in visibility for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008498", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: ts, reading, type, lat\n Sensor: soil_moisture | fields: reading, level, type, unit\nTask: Get value from cloud_cover where depth exceeds the total value from soil_moisture for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008499", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: unit, qc, lat, reading\n Sensor: dew_point | fields: value, lon, ts, type\nTask: Fetch lat from visibility where unit exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008500", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: lon, level, qc, type\n Sensor: dew_point | fields: qc, value, level, lon\nTask: Retrieve level from pressure whose depth is found in dew_point records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008501", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: type, qc, reading, level\n Sensor: air_quality | fields: depth, lat, lon, qc\nTask: Fetch value from pressure that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008502", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: depth, lat, type, qc\n Sensor: soil_moisture | fields: type, level, lat, reading\nTask: Retrieve lon from wind_speed with value above the MIN(depth) of soil_moisture readings sharing the same qc.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008503", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: ts, qc, depth, reading\n Sensor: dew_point | fields: depth, value, qc, lat\nTask: Get value from pressure where value exceeds the maximum reading from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\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": "prt", "inner_alias": "cnd", "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_fixed_v1_val_008504", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: type, lon, lat, level\n Sensor: sunlight | fields: unit, type, value, level\nTask: Get value from air_quality where type appears in sunlight 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(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008505", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, lon, depth, unit\n Sensor: uv_index | fields: reading, value, lon, level\nTask: Fetch lat from temperature that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008506", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, type, unit, qc\n Sensor: frost | fields: value, depth, ts, lon\nTask: Get value from uv_index where unit appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008507", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: reading, lon, ts, value\n Sensor: pressure | fields: lon, reading, ts, unit\nTask: Get lat from snow_depth where ts appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008508", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: ts, lon, qc, value\n Sensor: dew_point | fields: reading, lon, type, lat\nTask: Fetch lat from visibility that have at least one corresponding dew_point measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008509", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: ts, lon, depth, qc\n Sensor: air_quality | fields: unit, reading, value, qc\nTask: Retrieve reading from uv_index with value above the MIN(reading) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008510", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: reading, qc, depth, level\n Sensor: pressure | fields: qc, depth, unit, type\nTask: Fetch lon from frost where type 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=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008511", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: level, qc, lon, unit\n Sensor: turbidity | fields: type, level, lon, ts\nTask: Fetch level from sunlight where reading is greater than the minimum of value in turbidity for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008512", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: reading, value, type, ts\n Sensor: cloud_cover | fields: unit, value, lat, qc\nTask: Fetch lat from turbidity where type exists in cloud_cover sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008513", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, type, ts, depth\n Sensor: evaporation | fields: reading, type, ts, value\nTask: Retrieve level from temperature whose depth is found in evaporation records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008514", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: reading, type, level, depth\n Sensor: sunlight | fields: depth, ts, lat, reading\nTask: Fetch depth from temperature where type 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=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008515", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: level, depth, lat, lon\n Sensor: turbidity | fields: depth, level, qc, unit\nTask: Retrieve lon from humidity with reading above the MAX(reading) of turbidity readings sharing the same 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(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008516", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: ts, lat, depth, type\n Sensor: sunlight | fields: lat, ts, lon, value\nTask: Retrieve value from frost with value above the SUM(value) of sunlight readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008517", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: qc, unit, type, ts\n Sensor: air_quality | fields: lat, depth, reading, qc\nTask: Retrieve reading from humidity with value above the COUNT(depth) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008518", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: qc, level, reading, ts\n Sensor: rainfall | fields: depth, lat, level, lon\nTask: Retrieve lon 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=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008519", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: unit, level, reading, depth\n Sensor: pressure | fields: ts, lon, qc, value\nTask: Retrieve lat from lightning with depth above the SUM(depth) of pressure readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "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_fixed_v1_val_008520", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lat, type, qc, level\n Sensor: lightning | fields: reading, depth, lat, type\nTask: Retrieve depth from pressure with value above the MAX(depth) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008521", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: depth, unit, ts, type\n Sensor: soil_moisture | fields: type, lat, depth, ts\nTask: Get depth from humidity where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008522", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: value, ts, level, depth\n Sensor: air_quality | fields: lon, depth, level, value\nTask: Fetch lat from snow_depth that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008523", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: qc, unit, ts, depth\n Sensor: temperature | fields: ts, reading, level, depth\nTask: Get depth from uv_index where ts appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008524", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: unit, type, level, ts\n Sensor: lightning | fields: type, reading, ts, depth\nTask: Fetch reading from dew_point where unit exists in lightning sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008525", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, lon, lat, unit\n Sensor: uv_index | fields: unit, value, qc, depth\nTask: Fetch lat from frost where unit 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=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008526", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: type, lat, reading, qc\n Sensor: wind_speed | fields: lat, depth, ts, reading\nTask: Fetch value from rainfall where value is greater than the total of value in wind_speed for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008527", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lat, value, qc, level\n Sensor: air_quality | fields: unit, level, ts, type\nTask: Get lat from cloud_cover where depth exceeds the total value from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008528", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: level, ts, value, depth\n Sensor: air_quality | fields: level, reading, type, lat\nTask: Retrieve lon from frost with reading above the MIN(reading) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008529", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, depth, ts, unit\n Sensor: air_quality | fields: level, lat, lon, reading\nTask: Fetch lon from rainfall that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008530", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: lat, unit, qc, level\n Sensor: pressure | fields: reading, unit, lon, ts\nTask: Fetch level from lightning where value is greater than the average of value in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "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_fixed_v1_val_008531", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: qc, ts, type, reading\n Sensor: soil_moisture | fields: reading, lon, type, ts\nTask: Get lon 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=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008532", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: lat, qc, type, level\n Sensor: humidity | fields: unit, lat, ts, depth\nTask: Get level from wind_speed where type appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008533", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: value, lat, lon, reading\n Sensor: humidity | fields: level, value, unit, lat\nTask: Fetch value from pressure where depth exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008534", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: type, depth, value, lon\n Sensor: drought_index | fields: unit, ts, value, lat\nTask: Fetch reading from snow_depth where qc exists in drought_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "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_fixed_v1_val_008535", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: unit, lat, qc, level\n Sensor: lightning | fields: lat, qc, unit, value\nTask: Fetch value from uv_index that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008536", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: qc, type, depth, unit\n Sensor: humidity | fields: ts, depth, value, level\nTask: Fetch reading from frost where type exists in humidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008537", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: reading, lon, lat, depth\n Sensor: rainfall | fields: unit, level, qc, value\nTask: Retrieve lat from snow_depth that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008538", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lat, reading, type, ts\n Sensor: uv_index | fields: qc, lat, value, depth\nTask: Get level from sunlight where a corresponding entry exists in uv_index with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008539", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: reading, type, lon, depth\n Sensor: visibility | fields: type, reading, depth, unit\nTask: Get lat from evaporation where qc appears in visibility readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008540", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: ts, level, value, lat\n Sensor: sunlight | fields: reading, qc, lon, unit\nTask: Fetch depth from air_quality where unit exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008541", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lon, unit, lat, ts\n Sensor: cloud_cover | fields: level, ts, qc, type\nTask: Retrieve lat from air_quality whose depth is found in cloud_cover records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008542", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, unit, level, ts\n Sensor: turbidity | fields: value, depth, type, lon\nTask: Get value from sunlight where qc appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "value", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008543", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, ts, level, reading\n Sensor: lightning | fields: depth, lat, lon, value\nTask: Retrieve depth from sunlight whose unit is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008544", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: ts, lon, unit, depth\n Sensor: air_quality | fields: type, unit, lat, depth\nTask: Retrieve level 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=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "level", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008545", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: qc, reading, value, lon\n Sensor: evaporation | fields: lat, lon, reading, type\nTask: Retrieve lat from cloud_cover with value above the COUNT(value) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008546", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: unit, ts, value, depth\n Sensor: snow_depth | fields: lon, reading, level, ts\nTask: Retrieve lat from visibility with value above the SUM(reading) of snow_depth readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "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_fixed_v1_val_008547", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, value, qc, unit\n Sensor: soil_moisture | fields: level, lat, ts, lon\nTask: Retrieve lat from cloud_cover whose unit is found in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008548", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: qc, reading, depth, type\n Sensor: evaporation | fields: level, lat, reading, value\nTask: Get lon from wind_speed where unit appears in evaporation readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008549", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: level, reading, lon, unit\n Sensor: cloud_cover | fields: type, ts, depth, level\nTask: Retrieve level from temperature that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008550", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lat, depth, unit, qc\n Sensor: wind_speed | fields: lat, unit, ts, qc\nTask: Fetch level from dew_point where depth exists in wind_speed sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008551", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: level, unit, value, ts\n Sensor: rainfall | fields: value, reading, qc, lon\nTask: Get lat from frost where depth exceeds the count of value from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008552", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: reading, level, unit, depth\n Sensor: temperature | fields: depth, qc, lat, ts\nTask: Fetch lon from rainfall that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008553", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, level, ts, unit\n Sensor: frost | fields: ts, value, qc, level\nTask: Get level from drought_index where reading exceeds the count of reading from frost for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008554", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: reading, qc, ts, type\n Sensor: air_quality | fields: lat, unit, reading, depth\nTask: Retrieve depth from temperature whose depth is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008555", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, depth, ts, unit\n Sensor: air_quality | fields: type, qc, unit, level\nTask: Get value from evaporation where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008556", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: qc, depth, unit, reading\n Sensor: visibility | fields: reading, unit, type, depth\nTask: Get lon from uv_index where unit appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008557", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: ts, reading, unit, qc\n Sensor: snow_depth | fields: reading, lon, level, value\nTask: Fetch level from turbidity where value is greater than the count of of value in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008558", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: reading, qc, type, depth\n Sensor: dew_point | fields: type, lat, level, ts\nTask: Get depth from soil_moisture where qc appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008559", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: depth, ts, unit, level\n Sensor: frost | fields: ts, reading, level, depth\nTask: Fetch lat from humidity that have at least one corresponding frost measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008560", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: type, ts, lon, value\n Sensor: drought_index | fields: depth, lon, unit, type\nTask: Get depth from rainfall where a corresponding entry exists in drought_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008561", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: qc, reading, type, unit\n Sensor: cloud_cover | fields: type, unit, reading, value\nTask: Get depth from evaporation where ts appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008562", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: value, lon, lat, depth\n Sensor: visibility | fields: value, unit, lat, qc\nTask: Fetch level from cloud_cover where unit exists in visibility sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008563", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lon, value, unit, level\n Sensor: frost | fields: level, lon, depth, qc\nTask: Retrieve value from rainfall with depth above the SUM(depth) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\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": "SUM", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008564", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: unit, lon, level, ts\n Sensor: drought_index | fields: value, unit, depth, lat\nTask: Retrieve level from rainfall that have at least one matching reading in drought_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008565", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, depth, ts, reading\n Sensor: evaporation | fields: ts, lat, level, type\nTask: Fetch value from uv_index that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008566", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: value, type, lat, ts\n Sensor: visibility | fields: level, depth, value, type\nTask: Get lat from pressure where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008567", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: reading, qc, unit, depth\n Sensor: pressure | fields: depth, type, reading, ts\nTask: Fetch lat from turbidity where depth is greater than the maximum of depth in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008568", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: unit, value, ts, lat\n Sensor: evaporation | fields: type, lat, reading, depth\nTask: Get value from wind_speed where reading exceeds the average reading from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008569", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: ts, lat, lon, unit\n Sensor: visibility | fields: type, depth, ts, reading\nTask: Fetch depth from drought_index where reading is greater than the average of depth in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008570", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: reading, lat, lon, level\n Sensor: visibility | fields: unit, reading, depth, qc\nTask: Retrieve level 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=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008571", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: type, lat, ts, depth\n Sensor: dew_point | fields: type, ts, value, depth\nTask: Get lat from soil_moisture where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008572", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: unit, ts, value, type\n Sensor: humidity | fields: level, unit, 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=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008573", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lon, depth, type, reading\n Sensor: drought_index | fields: type, reading, ts, unit\nTask: Retrieve depth from pressure that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008574", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: depth, reading, ts, level\n Sensor: temperature | fields: qc, unit, depth, type\nTask: Retrieve value from pressure with value above the MIN(depth) of temperature readings sharing the same 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(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008575", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lat, depth, value, ts\n Sensor: pressure | fields: ts, level, depth, lon\nTask: Fetch lon from wind_speed that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008576", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: type, depth, lat, lon\n Sensor: snow_depth | fields: type, unit, value, lon\nTask: Get level from sunlight where ts appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008577", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: unit, depth, ts, reading\n Sensor: evaporation | fields: reading, type, lon, level\nTask: Fetch depth from drought_index where unit 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=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008578", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, level, reading, unit\n Sensor: air_quality | fields: level, qc, depth, lon\nTask: Retrieve reading from turbidity whose depth is found in air_quality records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008579", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: ts, type, qc, reading\n Sensor: snow_depth | fields: depth, qc, type, lon\nTask: Fetch lat from lightning that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008580", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: ts, lat, value, reading\n Sensor: humidity | fields: level, ts, lon, reading\nTask: Get reading from uv_index where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008581", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: depth, qc, ts, lat\n Sensor: air_quality | fields: level, ts, unit, lat\nTask: Fetch level from visibility that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008582", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, lat, level, value\n Sensor: humidity | fields: level, lat, ts, qc\nTask: Retrieve lon from uv_index whose depth is found in humidity records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008583", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: depth, unit, type, value\n Sensor: cloud_cover | fields: value, type, lon, lat\nTask: Get lon from wind_speed where depth exceeds the maximum depth from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008584", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: unit, ts, type, reading\n Sensor: uv_index | fields: reading, unit, qc, level\nTask: Get lat from soil_moisture where depth exceeds the maximum value from uv_index for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008585", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, lat, lon, type\n Sensor: soil_moisture | fields: ts, value, lat, level\nTask: Get reading from air_quality where a corresponding entry exists in soil_moisture with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008586", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: unit, type, ts, reading\n Sensor: visibility | fields: qc, unit, value, lon\nTask: Fetch depth from humidity where depth is greater than the average of depth in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008587", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lon, lat, unit, value\n Sensor: lightning | fields: level, type, unit, ts\nTask: Retrieve level from frost with value above the MIN(value) of lightning readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "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_fixed_v1_val_008588", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: ts, type, level, lat\n Sensor: frost | fields: depth, value, unit, type\nTask: Get level from rainfall where a corresponding entry exists in frost with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008589", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lon, level, value, depth\n Sensor: dew_point | fields: lon, reading, unit, lat\nTask: Get value 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=\"gst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008590", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lat, unit, value, level\n Sensor: pressure | fields: ts, depth, level, reading\nTask: Retrieve reading from frost that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008591", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, ts, qc, value\n Sensor: frost | fields: level, qc, depth, reading\nTask: Get value from snow_depth where value exceeds the total depth from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008592", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: value, level, type, lat\n Sensor: uv_index | fields: reading, lat, ts, type\nTask: Fetch lon from rainfall that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008593", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, depth, unit, ts\n Sensor: pressure | fields: depth, ts, level, type\nTask: Fetch level from uv_index where unit exists in pressure sensor data for the same ts.\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=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008594", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: reading, qc, lat, ts\n Sensor: wind_speed | fields: ts, qc, lon, lat\nTask: Fetch value from sunlight that have at least one corresponding wind_speed measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008595", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: level, type, qc, depth\n Sensor: sunlight | fields: lat, unit, level, reading\nTask: Fetch reading from uv_index that have at least one corresponding sunlight measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008596", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lon, value, ts, qc\n Sensor: frost | fields: unit, level, lon, reading\nTask: Retrieve lat from snow_depth whose unit is found in frost records where qc 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(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008597", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: depth, ts, type, qc\n Sensor: evaporation | fields: lon, depth, ts, value\nTask: Retrieve lat from pressure whose ts is found in evaporation records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008598", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lat, qc, value, level\n Sensor: humidity | fields: reading, lat, qc, value\nTask: Get lon from sunlight where depth appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008599", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: qc, ts, lat, level\n Sensor: drought_index | fields: unit, type, lat, lon\nTask: Retrieve value 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=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008600", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, lat, ts, unit\n Sensor: lightning | fields: unit, depth, lat, ts\nTask: Fetch lon from pressure where depth exists in lightning sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008601", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: depth, reading, ts, unit\n Sensor: drought_index | fields: qc, depth, level, reading\nTask: Retrieve lat from uv_index that have at least one matching reading in drought_index sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008602", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lat, depth, lon, ts\n Sensor: temperature | fields: unit, reading, value, depth\nTask: Get level from air_quality where type appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008603", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: unit, lon, depth, qc\n Sensor: snow_depth | fields: unit, value, depth, qc\nTask: Retrieve reading from humidity that have at least one matching reading in snow_depth sharing 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=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008604", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: qc, lon, unit, lat\n Sensor: turbidity | fields: ts, unit, type, reading\nTask: Get depth from visibility where value exceeds the total depth from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008605", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, unit, lat, qc\n Sensor: wind_speed | fields: unit, value, lat, qc\nTask: Fetch level from temperature where depth exists in wind_speed sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "level", "filter_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008606", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: lon, value, qc, unit\n Sensor: dew_point | fields: lat, lon, ts, value\nTask: Get lon from pressure where unit appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008607", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: unit, ts, depth, qc\n Sensor: humidity | fields: level, type, ts, lat\nTask: Fetch value from uv_index that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008608", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, value, lat, unit\n Sensor: humidity | fields: value, type, lon, qc\nTask: Fetch lon from drought_index where depth is greater than the maximum of depth in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008609", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: ts, level, lon, lat\n Sensor: cloud_cover | fields: depth, lon, unit, lat\nTask: Get depth from temperature where depth exceeds the average depth from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008610", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lat, qc, ts, reading\n Sensor: cloud_cover | fields: lat, lon, qc, depth\nTask: Get depth from frost where qc appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008611", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: qc, type, ts, lon\n Sensor: sunlight | fields: qc, depth, level, lon\nTask: Retrieve value from humidity with value above the SUM(depth) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008612", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: level, qc, reading, type\n Sensor: dew_point | fields: level, ts, type, depth\nTask: Fetch reading from sunlight that have at least one corresponding dew_point measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008613", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: qc, depth, type, value\n Sensor: pressure | fields: lon, type, value, depth\nTask: Get level from soil_moisture where value exceeds the average value from pressure for the same depth.\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=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008614", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lat, value, unit, lon\n Sensor: pressure | fields: reading, type, ts, level\nTask: Retrieve reading from lightning that have at least one matching reading in pressure sharing 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=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008615", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, qc, type, ts\n Sensor: sunlight | fields: reading, level, qc, lon\nTask: Retrieve depth from rainfall that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008616", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, ts, lon, level\n Sensor: uv_index | fields: type, value, lon, qc\nTask: Retrieve lon from rainfall with value above the AVG(depth) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "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_fixed_v1_val_008617", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: type, level, reading, depth\n Sensor: dew_point | fields: type, unit, reading, value\nTask: Get value from air_quality where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008618", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: lon, unit, reading, qc\n Sensor: lightning | fields: lon, ts, type, reading\nTask: Get depth from turbidity where depth appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008619", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, lon, level, reading\n Sensor: cloud_cover | fields: unit, depth, value, lat\nTask: Retrieve level from uv_index whose depth is found in cloud_cover records where unit 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(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008620", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: type, depth, unit, qc\n Sensor: evaporation | fields: depth, reading, unit, lon\nTask: Get lat from visibility where qc appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008621", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: qc, lon, depth, unit\n Sensor: snow_depth | fields: ts, qc, lon, reading\nTask: Fetch value from frost that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008622", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: lat, ts, reading, type\n Sensor: visibility | fields: lat, ts, value, unit\nTask: Fetch depth from cloud_cover where value is greater than the total of depth in visibility for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008623", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: level, value, lat, qc\n Sensor: wind_speed | fields: value, type, lon, ts\nTask: Get reading from sunlight where depth exceeds the maximum reading from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008624", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, type, qc, unit\n Sensor: uv_index | fields: depth, lon, reading, qc\nTask: Retrieve reading from soil_moisture with reading above the AVG(depth) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008625", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, ts, reading, unit\n Sensor: air_quality | fields: type, level, lon, reading\nTask: Get lat from visibility where a corresponding entry exists in air_quality with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "lat", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008626", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lon, depth, level, unit\n Sensor: temperature | fields: reading, qc, type, unit\nTask: Get depth from soil_moisture where type appears in temperature readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008627", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: ts, qc, lon, unit\n Sensor: uv_index | fields: type, ts, depth, value\nTask: Fetch lon from snow_depth that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008628", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, level, type, unit\n Sensor: soil_moisture | fields: qc, depth, ts, unit\nTask: Get depth from dew_point where qc appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008629", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: depth, lon, lat, value\n Sensor: air_quality | fields: level, lat, value, unit\nTask: Get depth from soil_moisture where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008630", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, type, ts, reading\n Sensor: uv_index | fields: qc, value, depth, lat\nTask: Fetch lon from drought_index where type exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008631", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, lon, depth, qc\n Sensor: visibility | fields: value, qc, depth, unit\nTask: Get lat from evaporation where reading exceeds the average depth from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008632", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: type, depth, qc, lon\n Sensor: air_quality | fields: unit, lat, level, reading\nTask: Retrieve lon from frost with depth above the MIN(reading) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008633", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lat, depth, reading, level\n Sensor: sunlight | fields: level, lon, reading, depth\nTask: Get depth from rainfall where reading exceeds the minimum value from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008634", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: type, qc, lat, lon\n Sensor: lightning | fields: qc, lon, value, level\nTask: Get depth from humidity where ts appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008635", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: depth, level, lon, reading\n Sensor: sunlight | fields: depth, ts, value, lon\nTask: Retrieve lon from evaporation that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008636", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lon, depth, type, ts\n Sensor: humidity | fields: lon, lat, depth, unit\nTask: Get lat from lightning where unit appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008637", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lon, unit, ts, qc\n Sensor: temperature | fields: lon, qc, unit, depth\nTask: Fetch value from humidity where depth is greater than the maximum of value in temperature for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008638", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lon, level, ts, value\n Sensor: evaporation | fields: unit, ts, type, value\nTask: Get level from cloud_cover where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008639", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lat, reading, depth, level\n Sensor: temperature | fields: lon, unit, lat, type\nTask: Retrieve value from cloud_cover that have at least one matching reading in temperature sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008640", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: depth, ts, unit, level\n Sensor: air_quality | fields: type, value, lat, qc\nTask: Get level 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=\"prt\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008641", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: type, unit, value, reading\n Sensor: uv_index | fields: level, lat, value, unit\nTask: Get lon from snow_depth where a corresponding entry exists in uv_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008642", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: depth, ts, unit, reading\n Sensor: visibility | fields: depth, value, type, level\nTask: Get value from lightning where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008643", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: value, type, depth, lon\n Sensor: cloud_cover | fields: lon, level, reading, unit\nTask: Retrieve value from evaporation with value above the MAX(value) of cloud_cover readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008644", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: ts, level, lat, reading\n Sensor: snow_depth | fields: ts, type, qc, level\nTask: Retrieve lat from wind_speed whose type is found in snow_depth records where type 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(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008645", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: unit, depth, lat, ts\n Sensor: frost | fields: level, unit, type, depth\nTask: Get value from cloud_cover where qc appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008646", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: qc, lat, depth, ts\n Sensor: rainfall | fields: lat, qc, ts, unit\nTask: Fetch value from turbidity where type exists in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008647", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: level, lon, qc, depth\n Sensor: sunlight | fields: lon, lat, reading, type\nTask: Get depth from dew_point where value exceeds the total value from sunlight for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008648", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: type, lon, qc, unit\n Sensor: visibility | fields: reading, lat, ts, unit\nTask: Retrieve value from pressure with depth above the SUM(depth) of visibility readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008649", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, lat, reading, depth\n Sensor: wind_speed | fields: type, unit, value, depth\nTask: Retrieve lat from frost with reading above the SUM(reading) of wind_speed readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008650", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lon, reading, lat, qc\n Sensor: wind_speed | fields: unit, level, value, reading\nTask: Get lat from turbidity where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008651", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, unit, type, level\n Sensor: soil_moisture | fields: lat, level, value, depth\nTask: Retrieve value from snow_depth whose type is found in soil_moisture records where depth 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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008652", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: ts, lon, reading, qc\n Sensor: turbidity | fields: type, ts, lon, level\nTask: Retrieve lat from uv_index whose depth is found in turbidity records where depth 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(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008653", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: unit, level, value, type\n Sensor: uv_index | fields: level, lat, qc, value\nTask: Fetch lon from pressure where type exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008654", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: ts, lat, type, unit\n Sensor: drought_index | fields: qc, level, lat, ts\nTask: Retrieve lat from uv_index with value above the SUM(reading) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008655", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: qc, value, lat, type\n Sensor: visibility | fields: unit, qc, depth, value\nTask: Retrieve lon 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=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008656", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: value, depth, ts, type\n Sensor: drought_index | fields: depth, qc, unit, lon\nTask: Fetch value from frost where value is greater than the count of of reading in drought_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008657", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, reading, depth, lat\n Sensor: wind_speed | fields: qc, level, reading, lon\nTask: Retrieve lon from air_quality whose depth is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008658", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, qc, ts, lon\n Sensor: humidity | fields: level, value, qc, lat\nTask: Fetch depth 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=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "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_fixed_v1_val_008659", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: unit, lon, type, depth\n Sensor: drought_index | fields: qc, depth, ts, level\nTask: Retrieve value from turbidity that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008660", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: value, lon, depth, type\n Sensor: rainfall | fields: ts, lat, level, qc\nTask: Fetch level from visibility where depth is greater than the minimum of depth in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008661", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, qc, depth, lon\n Sensor: visibility | fields: value, unit, level, lon\nTask: Retrieve value from snow_depth that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008662", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, type, lat, depth\n Sensor: turbidity | fields: lon, qc, ts, lat\nTask: Get level from sunlight where ts appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008663", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, type, ts, qc\n Sensor: uv_index | fields: lat, reading, value, type\nTask: Fetch value from evaporation that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008664", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lat, type, unit, depth\n Sensor: pressure | fields: lon, type, ts, level\nTask: Fetch value from snow_depth that have at least one corresponding pressure measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008665", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: reading, unit, type, level\n Sensor: turbidity | fields: lon, depth, qc, unit\nTask: Retrieve lat 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=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008666", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: ts, lon, lat, level\n Sensor: lightning | fields: depth, type, level, value\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=\"clr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008667", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: type, unit, qc, ts\n Sensor: soil_moisture | fields: value, lat, depth, unit\nTask: Retrieve reading from visibility with value above the AVG(depth) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008668", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: ts, lon, reading, lat\n Sensor: sunlight | fields: unit, depth, reading, qc\nTask: Retrieve depth from drought_index with depth above the MAX(value) of sunlight 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(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008669", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, level, qc, value\n Sensor: cloud_cover | fields: depth, value, reading, lon\nTask: Get lon from dew_point where reading exceeds the average value from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008670", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, depth, qc, ts\n Sensor: frost | fields: lon, qc, lat, unit\nTask: Get level from soil_moisture where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008671", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: type, lon, qc, value\n Sensor: air_quality | fields: reading, lon, qc, level\nTask: Get reading from humidity where qc appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008672", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: ts, level, value, qc\n Sensor: sunlight | fields: lat, reading, qc, unit\nTask: Get reading from humidity where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008673", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lat, lon, level, type\n Sensor: frost | fields: type, lon, level, 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=\"hub\"),\n filter=has_match(\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", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008674", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: level, lon, qc, value\n Sensor: soil_moisture | fields: level, unit, lat, ts\nTask: Get depth from visibility where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008675", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: level, lat, type, unit\n Sensor: temperature | fields: level, qc, lat, depth\nTask: Get value from rainfall where a corresponding entry exists in temperature with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008676", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: unit, value, type, reading\n Sensor: visibility | fields: level, lon, qc, reading\nTask: Fetch reading from temperature that have at least one corresponding visibility measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008677", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: depth, qc, value, type\n Sensor: soil_moisture | fields: unit, lon, level, value\nTask: Fetch reading from air_quality that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008678", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: reading, lat, value, unit\n Sensor: snow_depth | fields: lat, value, lon, reading\nTask: Fetch lat from frost where qc exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008679", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, depth, unit, level\n Sensor: dew_point | fields: lat, value, unit, level\nTask: Get value from visibility where reading exceeds the total value from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "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_fixed_v1_val_008680", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, value, unit, depth\n Sensor: frost | fields: depth, qc, level, type\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=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008681", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: level, ts, type, value\n Sensor: lightning | fields: reading, value, qc, type\nTask: Get reading 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=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "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_fixed_v1_val_008682", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: level, lon, unit, type\n Sensor: uv_index | fields: ts, qc, level, lat\nTask: Retrieve lon from cloud_cover whose depth is found in uv_index records where ts 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(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008683", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, type, level, lon\n Sensor: turbidity | fields: lat, type, qc, reading\nTask: Get reading from rainfall where value exceeds the total depth from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008684", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: value, unit, type, reading\n Sensor: temperature | fields: value, ts, type, unit\nTask: Fetch level from evaporation where unit exists in temperature sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008685", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: unit, type, value, qc\n Sensor: humidity | fields: qc, depth, type, lat\nTask: Fetch reading from snow_depth where value is greater than the minimum of reading in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008686", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: ts, type, reading, lon\n Sensor: sunlight | fields: lon, depth, reading, level\nTask: Retrieve depth from uv_index that have at least one matching reading in sunlight sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008687", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: value, reading, type, qc\n Sensor: wind_speed | fields: reading, ts, unit, level\nTask: Fetch value from drought_index where ts exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008688", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, lat, reading, ts\n Sensor: dew_point | fields: value, reading, type, level\nTask: Retrieve value from rainfall whose qc is found in dew_point records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008689", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: depth, value, level, lon\n Sensor: soil_moisture | fields: lon, qc, value, level\nTask: Fetch lon from rainfall where depth exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008690", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: unit, qc, lat, depth\n Sensor: drought_index | fields: unit, value, depth, qc\nTask: Get level from pressure where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008691", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: type, qc, ts, lon\n Sensor: wind_speed | fields: level, unit, lat, reading\nTask: Get value from turbidity where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008692", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, depth, type, ts\n Sensor: evaporation | fields: depth, lon, unit, lat\nTask: Fetch lon from snow_depth where unit exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008693", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: unit, qc, value, ts\n Sensor: visibility | fields: qc, reading, ts, value\nTask: Get lat from dew_point where qc appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "qc", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008694", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: reading, unit, lon, value\n Sensor: evaporation | fields: unit, type, reading, qc\nTask: Get value from air_quality where depth appears in evaporation readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008695", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: value, level, reading, depth\n Sensor: humidity | fields: value, level, ts, unit\nTask: Retrieve reading from air_quality whose unit is found in humidity records where qc 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(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008696", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: lon, value, lat, ts\n Sensor: rainfall | fields: type, ts, depth, reading\nTask: Retrieve reading from humidity whose type is found in rainfall records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008697", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: lat, ts, depth, lon\n Sensor: soil_moisture | fields: type, lon, qc, depth\nTask: Retrieve reading from visibility whose qc is found in soil_moisture records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008698", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lat, qc, ts, reading\n Sensor: drought_index | fields: lon, qc, level, type\nTask: Retrieve lon from uv_index whose unit is found in drought_index records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008699", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: value, lon, qc, unit\n Sensor: dew_point | fields: unit, depth, type, qc\nTask: Get lat from turbidity where depth exceeds the total depth from dew_point for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008700", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: unit, depth, level, ts\n Sensor: uv_index | fields: type, lat, level, unit\nTask: Fetch depth from soil_moisture that have at least one corresponding uv_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008701", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lat, value, unit, lon\n Sensor: lightning | fields: ts, lon, qc, depth\nTask: Retrieve value from soil_moisture with reading above the SUM(depth) of lightning readings sharing the same depth.\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(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008702", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, qc, lon, depth\n Sensor: uv_index | fields: lat, level, value, unit\nTask: Retrieve depth from soil_moisture that have at least one matching reading in uv_index sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008703", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: type, depth, ts, value\n Sensor: evaporation | fields: depth, unit, value, lon\nTask: Get reading from temperature where reading exceeds the average value from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008704", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: type, lat, qc, lon\n Sensor: rainfall | fields: value, depth, type, lat\nTask: Get depth from turbidity where depth appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008705", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, lon, type, unit\n Sensor: frost | fields: value, unit, lon, ts\nTask: Get depth from drought_index where a corresponding entry exists in frost with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008706", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: level, type, qc, depth\n Sensor: drought_index | fields: reading, value, qc, lon\nTask: Get lat from frost where value exceeds the minimum reading from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "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_fixed_v1_val_008707", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: ts, reading, value, type\n Sensor: air_quality | fields: ts, qc, level, value\nTask: Get lon from sunlight where qc appears in air_quality readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008708", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lat, depth, level, reading\n Sensor: wind_speed | fields: type, qc, depth, value\nTask: Retrieve depth from visibility with value above the COUNT(value) of wind_speed readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008709", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: reading, qc, unit, level\n Sensor: lightning | fields: lon, lat, depth, qc\nTask: Get value from humidity where type appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008710", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: value, lon, unit, type\n Sensor: pressure | fields: reading, depth, lon, level\nTask: Fetch depth from soil_moisture where ts exists in pressure sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008711", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: ts, lon, qc, lat\n Sensor: drought_index | fields: lon, value, unit, lat\nTask: Get reading from visibility where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008712", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: type, level, lon, value\n Sensor: soil_moisture | fields: value, level, ts, reading\nTask: Fetch depth from uv_index where depth is greater than the count of of value in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008713", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, level, depth, reading\n Sensor: temperature | fields: value, ts, reading, depth\nTask: Retrieve reading from cloud_cover that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008714", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: value, lat, lon, unit\n Sensor: evaporation | fields: level, lon, depth, qc\nTask: Fetch reading from wind_speed that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008715", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: ts, type, qc, lon\n Sensor: frost | fields: qc, lat, type, level\nTask: Retrieve depth from dew_point that have at least one matching reading in frost sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008716", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: qc, value, lat, unit\n Sensor: uv_index | fields: qc, type, value, reading\nTask: Fetch depth from lightning where depth is greater than the minimum of reading in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "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_fixed_v1_val_008717", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: type, qc, level, ts\n Sensor: wind_speed | fields: reading, ts, level, lat\nTask: Retrieve depth from drought_index that have at least one matching reading in wind_speed sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008718", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, value, lat, depth\n Sensor: humidity | fields: reading, value, level, depth\nTask: Get lon from uv_index where reading exceeds the maximum value from humidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008719", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: level, qc, reading, unit\n Sensor: rainfall | fields: lon, value, depth, type\nTask: Fetch lat from pressure that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008720", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: type, qc, depth, unit\n Sensor: rainfall | fields: depth, qc, type, ts\nTask: Fetch lon from dew_point where depth is greater than the total of value in rainfall for matching 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(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008721", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: unit, depth, value, ts\n Sensor: pressure | fields: unit, ts, depth, value\nTask: Get lat from sunlight where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008722", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, ts, level, qc\n Sensor: air_quality | fields: qc, lon, depth, reading\nTask: Fetch lon from snow_depth that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008723", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, lat, type, lon\n Sensor: wind_speed | fields: qc, lat, ts, reading\nTask: Fetch depth from rainfall where unit exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008724", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: depth, lat, value, unit\n Sensor: humidity | fields: unit, type, lon, value\nTask: Fetch lon from soil_moisture where reading is greater than the total of value in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008725", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: depth, qc, type, value\n Sensor: sunlight | fields: type, unit, depth, reading\nTask: Retrieve lon from visibility whose type is found in sunlight records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008726", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: depth, lat, type, reading\n Sensor: dew_point | fields: level, type, qc, reading\nTask: Get level from cloud_cover where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008727", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: reading, lat, type, lon\n Sensor: wind_speed | fields: type, lon, level, unit\nTask: Get level from evaporation where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008728", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: lon, ts, type, qc\n Sensor: pressure | fields: value, type, reading, unit\nTask: Retrieve value from sunlight with depth above the AVG(value) of pressure readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008729", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: depth, ts, qc, value\n Sensor: cloud_cover | fields: qc, value, lat, type\nTask: Get lon from frost where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008730", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, type, lon, reading\n Sensor: lightning | fields: ts, qc, value, type\nTask: Retrieve level 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=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008731", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: lat, lon, depth, reading\n Sensor: pressure | fields: reading, lon, unit, qc\nTask: Retrieve level from cloud_cover whose type is found in pressure records where unit 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(\"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": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008732", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: depth, type, ts, qc\n Sensor: lightning | fields: unit, lat, lon, value\nTask: Fetch depth from uv_index where type exists in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008733", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, level, lat, depth\n Sensor: snow_depth | fields: level, type, ts, unit\nTask: Fetch reading from evaporation where qc exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008734", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: ts, unit, depth, type\n Sensor: temperature | fields: reading, type, value, lon\nTask: Retrieve depth from turbidity with depth above the MIN(depth) of temperature readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008735", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: reading, value, lon, depth\n Sensor: air_quality | fields: reading, ts, unit, level\nTask: Get reading from turbidity where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008736", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: qc, unit, type, ts\n Sensor: uv_index | fields: level, type, lat, unit\nTask: Get lat from frost where value exceeds the average depth from uv_index for the same 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(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008737", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: unit, ts, qc, type\n Sensor: rainfall | fields: level, reading, type, lon\nTask: Retrieve level 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=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008738", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, ts, level, depth\n Sensor: soil_moisture | fields: value, depth, lat, unit\nTask: Fetch level from dew_point where depth is greater than the count of of reading in soil_moisture for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008739", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, ts, qc, type\n Sensor: air_quality | fields: level, unit, depth, type\nTask: Retrieve value from temperature with depth above the COUNT(depth) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008740", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: ts, qc, reading, type\n Sensor: lightning | fields: value, ts, level, lon\nTask: Retrieve lat from pressure whose unit is found in lightning records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008741", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: level, ts, value, type\n Sensor: temperature | fields: lon, lat, value, type\nTask: Get depth from rainfall where type appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008742", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: ts, type, lat, qc\n Sensor: evaporation | fields: ts, lat, lon, level\nTask: Get depth from soil_moisture where depth exceeds the average depth from evaporation for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008743", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lat, unit, value, level\n Sensor: frost | fields: reading, qc, type, ts\nTask: Fetch depth from turbidity that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008744", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, reading, lon, lat\n Sensor: lightning | fields: ts, reading, lat, level\nTask: Get lat from snow_depth where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008745", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: level, qc, type, unit\n Sensor: rainfall | fields: type, lat, ts, reading\nTask: Fetch lat from turbidity where reading is greater than the average of depth in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "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_fixed_v1_val_008746", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: qc, depth, ts, value\n Sensor: frost | fields: type, lon, depth, reading\nTask: Retrieve lon from rainfall with reading above the MAX(depth) of frost readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008747", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: unit, reading, qc, value\n Sensor: sunlight | fields: type, level, qc, ts\nTask: Fetch reading from snow_depth where depth exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008748", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: level, unit, reading, lat\n Sensor: humidity | fields: depth, type, reading, level\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=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008749", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: ts, type, reading, level\n Sensor: air_quality | fields: unit, ts, lon, type\nTask: Get lon from soil_moisture where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008750", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: depth, type, reading, unit\n Sensor: frost | fields: qc, reading, value, ts\nTask: Get lat from wind_speed where qc appears in frost readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lat", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008751", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lat, qc, ts, level\n Sensor: drought_index | fields: lat, depth, reading, ts\nTask: Get lat from uv_index where reading exceeds the average depth from drought_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "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_fixed_v1_val_008752", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: depth, reading, lat, level\n Sensor: uv_index | fields: ts, unit, depth, lat\nTask: Get value from sunlight where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "value", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008753", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: ts, level, lat, depth\n Sensor: lightning | fields: ts, lon, reading, qc\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=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008754", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: depth, lon, type, lat\n Sensor: drought_index | fields: lon, level, reading, type\nTask: Get depth 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=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008755", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: qc, level, unit, lon\n Sensor: cloud_cover | fields: depth, lat, qc, value\nTask: Get reading from dew_point where type appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "type", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008756", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, unit, depth, qc\n Sensor: evaporation | fields: qc, depth, lat, lon\nTask: Get level from dew_point where reading exceeds the average depth from evaporation for the same type.\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(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008757", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: qc, level, value, unit\n Sensor: dew_point | fields: reading, ts, lon, level\nTask: Get lat from lightning where unit appears in dew_point readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008758", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, ts, reading, unit\n Sensor: humidity | fields: lon, qc, depth, lat\nTask: Fetch lon from snow_depth that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008759", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lon, depth, lat, type\n Sensor: lightning | fields: lat, unit, ts, type\nTask: Retrieve depth from sunlight that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008760", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: lon, ts, level, depth\n Sensor: soil_moisture | fields: level, lon, lat, type\nTask: Retrieve lon from dew_point with value above the MAX(depth) of soil_moisture 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(\"MAX\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008761", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: value, lat, depth, reading\n Sensor: drought_index | fields: lat, type, depth, level\nTask: Retrieve depth from wind_speed whose type 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=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008762", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: depth, value, qc, lon\n Sensor: snow_depth | fields: qc, depth, ts, reading\nTask: Retrieve lat from cloud_cover that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008763", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: type, qc, value, unit\n Sensor: visibility | fields: lon, depth, level, lat\nTask: Get lat from lightning where type appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008764", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: level, unit, lon, qc\n Sensor: evaporation | fields: reading, ts, lon, qc\nTask: Fetch value from frost that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008765", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: reading, qc, depth, value\n Sensor: visibility | fields: reading, ts, unit, level\nTask: Get level from temperature where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008766", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: qc, reading, lat, unit\n Sensor: snow_depth | fields: depth, level, lat, reading\nTask: Get value from wind_speed where unit appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008767", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: depth, lat, ts, unit\n Sensor: evaporation | fields: unit, level, type, qc\nTask: Fetch level from dew_point that have at least one corresponding evaporation measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008768", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: value, ts, type, lat\n Sensor: lightning | fields: ts, unit, level, lon\nTask: Retrieve depth from uv_index with value above the MIN(value) of lightning readings sharing the same type.\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(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008769", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: qc, lat, reading, value\n Sensor: rainfall | fields: value, reading, type, lat\nTask: Retrieve lon from frost that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008770", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: level, ts, type, lon\n Sensor: air_quality | fields: type, reading, depth, value\nTask: Fetch level from sunlight where unit exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\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": "thr", "inner_alias": "prt", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008771", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, value, lat, ts\n Sensor: humidity | fields: reading, unit, value, depth\nTask: Retrieve level from turbidity with value above the MIN(reading) of humidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008772", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: qc, value, depth, lat\n Sensor: humidity | fields: lon, qc, depth, value\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=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "reading", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008773", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: type, unit, level, lon\n Sensor: evaporation | fields: value, qc, 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=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008774", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: reading, value, ts, unit\n Sensor: dew_point | fields: type, level, qc, lon\nTask: Fetch lon from humidity where unit exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008775", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, value, lat, type\n Sensor: cloud_cover | fields: qc, lon, unit, ts\nTask: Get reading from lightning where a corresponding entry exists in cloud_cover with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008776", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: depth, lat, lon, unit\n Sensor: pressure | fields: type, qc, reading, unit\nTask: Retrieve reading from lightning whose qc is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008777", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: qc, depth, unit, lat\n Sensor: frost | fields: value, lon, reading, depth\nTask: Retrieve lon from drought_index with depth above the COUNT(value) of frost readings sharing the same depth.\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(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008778", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: value, lat, reading, qc\n Sensor: air_quality | fields: depth, lon, reading, level\nTask: Get depth from snow_depth where reading exceeds the maximum reading from air_quality for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008779", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, reading, qc, type\n Sensor: rainfall | fields: qc, unit, depth, ts\nTask: Fetch reading from air_quality that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008780", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | 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=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008781", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: type, reading, lon, lat\n Sensor: pressure | fields: ts, unit, lon, lat\nTask: Get lat from humidity where a corresponding entry exists in pressure with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008782", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: ts, depth, level, lat\n Sensor: rainfall | fields: qc, ts, unit, lon\nTask: Fetch lat from evaporation that have at least one corresponding rainfall measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008783", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, lon, lat, level\n Sensor: turbidity | fields: level, value, type, depth\nTask: Fetch lon 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=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008784", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lon, type, qc, unit\n Sensor: air_quality | fields: depth, reading, type, ts\nTask: Get reading from evaporation where value exceeds the maximum depth from air_quality for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008785", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: type, reading, level, unit\n Sensor: dew_point | fields: lat, value, depth, type\nTask: Fetch lon from turbidity where depth exists in dew_point sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008786", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, reading, level, qc\n Sensor: temperature | fields: lon, ts, qc, lat\nTask: Retrieve reading from frost that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008787", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: qc, lat, level, unit\n Sensor: frost | fields: qc, depth, reading, unit\nTask: Retrieve lon from cloud_cover with depth above the SUM(value) of frost 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(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008788", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: value, reading, ts, lat\n Sensor: frost | fields: ts, value, unit, lat\nTask: Get lon from pressure where depth appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lon", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008789", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: depth, qc, level, lat\n Sensor: temperature | fields: depth, value, reading, qc\nTask: Fetch lat from turbidity where depth exists in temperature sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008790", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: lat, reading, level, ts\n Sensor: pressure | fields: unit, lat, qc, reading\nTask: Retrieve lat from sunlight whose type is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008791", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, lat, depth, reading\n Sensor: visibility | fields: ts, reading, depth, type\nTask: Fetch reading from evaporation where value is greater than the maximum of value in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008792", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: value, ts, depth, lat\n Sensor: soil_moisture | fields: type, reading, qc, lon\nTask: Get reading from cloud_cover where depth exceeds the average reading from soil_moisture for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008793", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lat, type, lon, qc\n Sensor: sunlight | fields: type, ts, lon, value\nTask: Retrieve depth from rainfall whose unit is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008794", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: value, type, reading, unit\n Sensor: cloud_cover | fields: value, lon, qc, ts\nTask: Fetch value from lightning where depth is greater than the maximum of reading in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008795", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, ts, value, lat\n Sensor: cloud_cover | fields: qc, ts, level, lon\nTask: Retrieve value 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=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008796", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: qc, unit, lon, lat\n Sensor: evaporation | fields: ts, qc, unit, lat\nTask: Fetch reading from temperature where ts exists in evaporation sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008797", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: lat, qc, level, unit\n Sensor: lightning | fields: lat, qc, type, ts\nTask: Retrieve lon from drought_index that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008798", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: level, value, lon, lat\n Sensor: dew_point | fields: qc, value, type, lat\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=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008799", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: level, depth, ts, reading\n Sensor: air_quality | fields: lat, unit, depth, reading\nTask: Fetch lon from humidity where ts exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "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_fixed_v1_val_008800", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, reading, ts, unit\n Sensor: evaporation | fields: level, reading, value, depth\nTask: Get value from visibility where a corresponding entry exists in evaporation with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "value", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008801", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: unit, value, ts, type\n Sensor: pressure | fields: qc, value, reading, lon\nTask: Retrieve depth from soil_moisture that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008802", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, value, level, lon\n Sensor: evaporation | fields: value, lat, ts, lon\nTask: Fetch value from wind_speed where ts exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008803", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: type, value, level, reading\n Sensor: pressure | fields: unit, type, lon, value\nTask: Retrieve value from dew_point with depth above the COUNT(value) of pressure 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(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008804", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: depth, value, lon, reading\n Sensor: visibility | fields: type, level, reading, depth\nTask: Fetch lat from sunlight where value is greater than the total of reading in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "lat", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008805", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: level, type, qc, value\n Sensor: frost | fields: level, ts, qc, value\nTask: Retrieve depth from lightning that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008806", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: ts, reading, qc, level\n Sensor: dew_point | fields: reading, type, qc, level\nTask: Get lon from wind_speed where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008807", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, lat, depth, qc\n Sensor: humidity | fields: reading, lat, unit, lon\nTask: Fetch value from drought_index where depth exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008808", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: qc, lon, value, ts\n Sensor: drought_index | fields: qc, level, type, value\nTask: Retrieve lat from frost whose qc is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008809", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: depth, lat, ts, value\n Sensor: lightning | fields: unit, depth, type, value\nTask: Get lon from turbidity where unit appears in lightning readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008810", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: reading, lon, lat, qc\n Sensor: evaporation | fields: value, depth, qc, lon\nTask: Retrieve value from pressure that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008811", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: prt | fields: depth, level, value, lat\n Sensor: lightning | fields: reading, type, level, lon\nTask: Retrieve lat from dew_point whose type is found in lightning records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008812", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: type, ts, reading, unit\n Sensor: lightning | fields: unit, type, level, reading\nTask: Get depth from wind_speed where ts appears in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008813", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, value, unit, level\n Sensor: drought_index | fields: lon, unit, qc, depth\nTask: Retrieve level from wind_speed whose depth is found in drought_index records where type 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(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008814", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: unit, lat, value, ts\n Sensor: cloud_cover | fields: level, lon, lat, qc\nTask: Get lon from humidity where value exceeds the total reading from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008815", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, lat, qc, reading\n Sensor: rainfall | fields: unit, qc, reading, value\nTask: Get level from temperature where a corresponding entry exists in rainfall with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008816", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: value, reading, ts, level\n Sensor: temperature | fields: level, reading, lat, type\nTask: Retrieve lon from frost that have at least one matching reading in temperature sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008817", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: ts, unit, level, lon\n Sensor: lightning | fields: type, unit, reading, qc\nTask: Fetch value from drought_index where unit exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008818", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: level, type, lat, ts\n Sensor: turbidity | fields: lat, depth, qc, ts\nTask: Get reading from soil_moisture where reading exceeds the average value from turbidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008819", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: type, ts, reading, level\n Sensor: frost | fields: value, reading, level, lat\nTask: Fetch depth from humidity where depth exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008820", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: reading, lon, ts, lat\n Sensor: drought_index | fields: qc, type, level, lat\nTask: Get reading from snow_depth where unit appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008821", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: ts, level, depth, lon\n Sensor: frost | fields: unit, reading, qc, lat\nTask: Fetch lon from evaporation where reading is greater than the count of of value in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008822", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: level, unit, qc, depth\n Sensor: temperature | fields: value, depth, type, qc\nTask: Get lon from drought_index where depth exceeds the minimum reading from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008823", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: ts, type, value, reading\n Sensor: dew_point | fields: ts, reading, unit, level\nTask: Fetch reading from snow_depth where reading is greater than the average of value in dew_point for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008824", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: qc, level, lat, depth\n Sensor: humidity | fields: value, depth, lon, qc\nTask: Get lat from drought_index where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008825", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lon, ts, value, lat\n Sensor: temperature | fields: reading, depth, lat, lon\nTask: Retrieve lon from visibility with depth above the COUNT(value) of temperature readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008826", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: value, ts, lon, depth\n Sensor: soil_moisture | fields: unit, value, qc, level\nTask: Get level from turbidity where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008827", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, unit, value, type\n Sensor: evaporation | fields: lon, unit, ts, reading\nTask: Fetch reading from turbidity that have at least one corresponding evaporation measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008828", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: reading, level, lat, value\n Sensor: uv_index | fields: qc, lon, level, type\nTask: Retrieve level from temperature with reading above the AVG(reading) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008829", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lat, ts, type, lon\n Sensor: wind_speed | fields: depth, reading, unit, lat\nTask: Fetch reading from humidity where value is greater than the maximum of depth in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008830", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: type, lon, ts, depth\n Sensor: dew_point | fields: unit, lat, qc, ts\nTask: Get depth from uv_index where unit appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008831", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: level, type, qc, lat\n Sensor: wind_speed | fields: unit, type, lat, qc\nTask: Retrieve depth from temperature with reading above the COUNT(depth) of wind_speed readings sharing 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(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008832", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: unit, ts, depth, reading\n Sensor: wind_speed | fields: depth, qc, type, value\nTask: Retrieve lat from air_quality whose ts is found in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008833", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: value, type, lon, qc\n Sensor: drought_index | fields: depth, lat, level, ts\nTask: Fetch level 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=\"thr\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "outer_alias": "thr", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008834", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: unit, depth, type, reading\n Sensor: dew_point | fields: value, qc, unit, lon\nTask: Retrieve depth from pressure with depth above the SUM(value) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008835", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: level, reading, lat, type\n Sensor: rainfall | fields: qc, lat, reading, type\nTask: Get level from soil_moisture where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008836", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: qc, value, level, reading\n Sensor: evaporation | fields: level, lon, type, reading\nTask: Fetch lat from pressure where reading is greater than the count of of reading in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008837", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: reading, lon, ts, value\n Sensor: wind_speed | fields: value, unit, lat, level\nTask: Fetch depth from uv_index where type exists in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008838", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lat, value, ts, level\n Sensor: evaporation | fields: lon, lat, depth, type\nTask: Fetch lon from snow_depth where value is greater than the maximum of value in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008839", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: reading, value, lon, type\n Sensor: visibility | fields: lat, type, value, unit\nTask: Retrieve lon 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=\"gst\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008840", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: ts, lat, level, unit\n Sensor: frost | fields: ts, lon, level, lat\nTask: Get value from uv_index where unit appears in frost readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008841", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, level, lon, depth\n Sensor: uv_index | fields: qc, reading, type, ts\nTask: Get lon from cloud_cover where a corresponding entry exists in uv_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008842", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, reading, ts, qc\n Sensor: air_quality | fields: level, value, lon, unit\nTask: Get lon from frost where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008843", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: reading, qc, type, lat\n Sensor: visibility | fields: unit, value, depth, reading\nTask: Get level from wind_speed where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008844", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, ts, level, unit\n Sensor: air_quality | fields: value, unit, ts, type\nTask: Fetch value from rainfall that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008845", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: ts, qc, level, type\n Sensor: snow_depth | fields: qc, lon, lat, unit\nTask: Get depth from drought_index where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008846", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: lat, ts, unit, level\n Sensor: dew_point | fields: value, lat, depth, lon\nTask: Get depth from evaporation where reading exceeds the maximum reading from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008847", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: level, ts, type, lon\n Sensor: humidity | fields: level, value, lon, lat\nTask: Get lat from pressure where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008848", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: depth, lon, lat, type\n Sensor: evaporation | fields: level, qc, depth, reading\nTask: Fetch reading from uv_index where qc exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008849", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: type, lon, value, level\n Sensor: soil_moisture | fields: qc, ts, level, type\nTask: Retrieve reading from turbidity that have at least one matching reading in soil_moisture sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008850", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: unit, level, qc, type\n Sensor: snow_depth | fields: qc, type, lat, depth\nTask: Retrieve depth from frost with depth above the AVG(value) of snow_depth readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008851", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: ts, reading, unit, level\n Sensor: snow_depth | fields: level, lon, depth, value\nTask: Retrieve value from temperature that have at least one matching reading in snow_depth sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008852", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: unit, lat, reading, ts\n Sensor: temperature | fields: depth, lat, unit, reading\nTask: Get depth from soil_moisture where a corresponding entry exists in temperature with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008853", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, type, reading, lon\n Sensor: humidity | fields: qc, depth, lat, type\nTask: Get level from soil_moisture where qc appears in humidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "level", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008854", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: type, lon, reading, value\n Sensor: lightning | fields: ts, qc, level, unit\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=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008855", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: value, type, lat, level\n Sensor: lightning | fields: level, value, reading, qc\nTask: Get level from air_quality where unit appears in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008856", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, lon, qc, value\n Sensor: snow_depth | fields: reading, ts, lat, lon\nTask: Retrieve lat from visibility whose ts is found in snow_depth records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008857", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: reading, type, lat, qc\n Sensor: air_quality | fields: lon, lat, qc, ts\nTask: Get depth from humidity where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008858", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, unit, level, lat\n Sensor: cloud_cover | fields: depth, qc, lon, ts\nTask: Get depth from visibility where type appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008859", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: lat, reading, lon, level\n Sensor: sunlight | fields: lat, qc, unit, value\nTask: Retrieve reading from drought_index that have at least one matching reading in sunlight sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008860", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: depth, lat, value, qc\n Sensor: evaporation | fields: level, value, reading, type\nTask: Retrieve lon from visibility with reading above the AVG(value) of evaporation readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008861", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: type, reading, depth, lon\n Sensor: lightning | fields: depth, lat, lon, ts\nTask: Get reading from visibility where value exceeds the total reading from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008862", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, lat, level, unit\n Sensor: snow_depth | fields: lat, type, depth, qc\nTask: Retrieve level from humidity with value above the MAX(value) of snow_depth readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008863", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: ts, unit, reading, level\n Sensor: drought_index | fields: level, ts, type, lon\nTask: Get level from snow_depth where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008864", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, depth, type, ts\n Sensor: sunlight | fields: reading, value, ts, qc\nTask: Retrieve lat from pressure with value above the MIN(value) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008865", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lon, type, qc, value\n Sensor: cloud_cover | fields: reading, value, lon, qc\nTask: Fetch level from sunlight where depth is greater than the total of reading in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008866", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: qc, lon, unit, type\n Sensor: sunlight | fields: ts, type, depth, value\nTask: Fetch lat from turbidity where depth is greater than the total of value in sunlight for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008867", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: reading, lon, lat, depth\n Sensor: uv_index | fields: ts, lat, depth, level\nTask: Retrieve value from dew_point whose depth is found in uv_index records where depth 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(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008868", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: type, ts, lon, depth\n Sensor: cloud_cover | fields: reading, unit, lat, ts\nTask: Get value from sunlight where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008869", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, value, level, ts\n Sensor: humidity | fields: type, depth, lat, ts\nTask: Get lat from temperature where depth appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008870", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: ts, reading, lon, lat\n Sensor: cloud_cover | fields: reading, value, qc, lat\nTask: Fetch lat from humidity where reading is greater than the average of depth in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008871", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: depth, lon, value, lat\n Sensor: uv_index | fields: reading, ts, type, unit\nTask: Fetch lon from wind_speed that have at least one corresponding uv_index measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008872", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, lon, value, ts\n Sensor: turbidity | fields: ts, type, lat, depth\nTask: Fetch depth from evaporation that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=has_match(\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", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008873", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: unit, lon, reading, qc\n Sensor: air_quality | fields: reading, depth, level, lat\nTask: Retrieve depth from pressure with value above the MAX(reading) 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\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008874", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lon, type, unit, qc\n Sensor: air_quality | fields: unit, type, ts, lat\nTask: Fetch lat from soil_moisture that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008875", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lon, qc, ts, reading\n Sensor: uv_index | fields: lat, reading, lon, depth\nTask: Get reading from frost where a corresponding entry exists in uv_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "reading", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008876", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, ts, reading, lon\n Sensor: air_quality | fields: lon, value, reading, type\nTask: Fetch lat from lightning where depth is greater than the average of value in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008877", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: ts, lat, reading, depth\n Sensor: visibility | fields: type, depth, lon, level\nTask: Fetch lon from sunlight where value is greater than the average of value in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008878", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: ts, depth, unit, lat\n Sensor: rainfall | fields: level, reading, ts, value\nTask: Retrieve depth from humidity with depth above the MIN(depth) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008879", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: level, type, unit, ts\n Sensor: snow_depth | fields: type, value, reading, level\nTask: Retrieve value from evaporation whose unit is found in snow_depth records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008880", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: qc, lon, ts, level\n Sensor: rainfall | fields: lat, value, unit, qc\nTask: Retrieve depth from frost whose type is found in rainfall 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(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008881", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: lat, unit, depth, reading\n Sensor: air_quality | fields: depth, level, qc, type\nTask: Fetch lat from cloud_cover that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\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": "gst", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008882", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: lon, reading, unit, level\n Sensor: sunlight | fields: ts, qc, value, type\nTask: Fetch value from evaporation where depth exists in sunlight sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008883", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: unit, reading, depth, level\n Sensor: evaporation | fields: lon, level, type, reading\nTask: Fetch value from soil_moisture where value is greater than the count of of depth in evaporation 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(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008884", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: depth, level, qc, value\n Sensor: rainfall | fields: type, reading, lat, level\nTask: Fetch level from humidity where value is greater than the total of value in rainfall for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "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_fixed_v1_val_008885", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: unit, qc, type, value\n Sensor: soil_moisture | fields: lon, lat, unit, value\nTask: Retrieve lat from snow_depth whose depth is found in soil_moisture records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008886", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, value, lat, lon\n Sensor: air_quality | fields: type, qc, depth, reading\nTask: Get value from rainfall where a corresponding entry exists in air_quality with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008887", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: value, qc, lat, lon\n Sensor: drought_index | fields: qc, depth, level, reading\nTask: Fetch reading from pressure where type exists in drought_index sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008888", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lat, ts, lon, value\n Sensor: sunlight | fields: value, type, unit, depth\nTask: Retrieve depth from temperature with reading 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=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008889", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: unit, lat, reading, ts\n Sensor: temperature | fields: reading, depth, qc, lat\nTask: Retrieve value from frost with value above the MIN(depth) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008890", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, reading, ts, level\n Sensor: uv_index | fields: lon, depth, level, value\nTask: Get lon from humidity where reading exceeds the count of value from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008891", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: level, reading, lon, value\n Sensor: dew_point | fields: reading, type, lat, value\nTask: Retrieve lat from wind_speed whose depth is found in dew_point records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008892", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: level, ts, qc, type\n Sensor: snow_depth | fields: unit, lat, lon, reading\nTask: Retrieve lat from uv_index with reading above the AVG(reading) of snow_depth readings sharing the same depth.\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(\"snow_depth\", code=\"snw\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008893", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lat, type, reading, ts\n Sensor: dew_point | fields: value, type, depth, ts\nTask: Retrieve depth from soil_moisture whose unit is found in dew_point records where type 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(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "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_fixed_v1_val_008894", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: depth, reading, value, lon\n Sensor: soil_moisture | fields: level, qc, reading, lat\nTask: Retrieve level from air_quality whose unit is found in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008895", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: unit, level, depth, type\n Sensor: wind_speed | fields: lat, qc, ts, value\nTask: Get lon from evaporation where reading exceeds the count of depth from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008896", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: depth, ts, reading, type\n Sensor: visibility | fields: qc, level, lon, value\nTask: Retrieve lon from pressure whose type is found in visibility 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(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008897", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: level, lon, ts, lat\n Sensor: dew_point | fields: reading, unit, ts, lat\nTask: Get depth from frost where a corresponding entry exists in dew_point with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008898", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: qc, type, value, ts\n Sensor: drought_index | fields: qc, level, value, depth\nTask: Fetch reading from frost where depth is greater than the count of of value in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008899", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, lon, qc, type\n Sensor: rainfall | fields: unit, lat, reading, qc\nTask: Get value from wind_speed where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008900", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: value, level, reading, lat\n Sensor: temperature | fields: level, ts, type, unit\nTask: Get lon from wind_speed where unit appears in temperature readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008901", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lon, qc, value, ts\n Sensor: dew_point | fields: lat, value, reading, qc\nTask: Get value from soil_moisture where unit appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008902", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: unit, ts, lat, qc\n Sensor: uv_index | fields: ts, depth, reading, lat\nTask: Get lat from lightning where unit appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "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_fixed_v1_val_008903", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, qc, lon, value\n Sensor: soil_moisture | fields: unit, lon, value, lat\nTask: Retrieve depth from temperature that have at least one matching reading in soil_moisture sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008904", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: reading, qc, depth, value\n Sensor: pressure | fields: reading, ts, type, unit\nTask: Fetch lon from air_quality where depth is greater than the maximum of depth in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008905", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: reading, lon, type, value\n Sensor: wind_speed | fields: lon, level, qc, lat\nTask: Get reading from lightning where a corresponding entry exists in wind_speed with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008906", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: type, lon, unit, lat\n Sensor: drought_index | fields: lat, value, level, reading\nTask: Get reading from evaporation where depth exceeds the minimum reading from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008907", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: qc, value, unit, ts\n Sensor: evaporation | fields: unit, ts, qc, lat\nTask: Retrieve lat from frost that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008908", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: reading, depth, lon, ts\n Sensor: wind_speed | fields: lon, depth, lat, type\nTask: Fetch lat 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=\"ref\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008909", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: type, level, unit, lon\n Sensor: drought_index | fields: value, ts, unit, qc\nTask: Retrieve value from turbidity with depth above the MAX(reading) of drought_index 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\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008910", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: level, value, depth, ts\n Sensor: air_quality | fields: lon, unit, depth, type\nTask: Get value from soil_moisture where ts appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008911", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: unit, lat, lon, depth\n Sensor: cloud_cover | fields: type, ts, lat, unit\nTask: Retrieve reading from evaporation whose qc is found in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008912", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: type, ts, unit, lon\n Sensor: drought_index | fields: depth, qc, value, type\nTask: Fetch reading from snow_depth that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "reading", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008913", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, unit, qc, reading\n Sensor: visibility | fields: depth, qc, ts, level\nTask: Fetch lon from turbidity that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008914", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: lon, value, type, depth\n Sensor: uv_index | fields: reading, ts, value, unit\nTask: Get value from dew_point where a corresponding entry exists in uv_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008915", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: reading, depth, value, type\n Sensor: drought_index | fields: reading, unit, qc, depth\nTask: Get lon from evaporation where reading exceeds the maximum reading from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008916", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, level, type, lon\n Sensor: pressure | fields: unit, lat, type, ts\nTask: Retrieve depth from uv_index whose qc is found in pressure records where type 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(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008917", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, value, reading, unit\n Sensor: air_quality | fields: ts, qc, value, lat\nTask: Fetch lon from soil_moisture that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008918", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: value, level, type, ts\n Sensor: wind_speed | fields: qc, ts, lat, reading\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=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008919", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: value, type, ts, lat\n Sensor: dew_point | fields: qc, ts, depth, unit\nTask: Retrieve value from rainfall with depth above the COUNT(reading) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008920", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lat, type, value, reading\n Sensor: rainfall | fields: qc, unit, level, lon\nTask: Fetch level from wind_speed where depth is greater than the minimum of value in rainfall for matching qc.\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(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008921", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: type, lon, qc, depth\n Sensor: wind_speed | fields: reading, unit, qc, lat\nTask: Fetch lat from rainfall where depth is greater than the count of of reading in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008922", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: qc, type, lon, unit\n Sensor: uv_index | fields: qc, unit, depth, level\nTask: Fetch reading from evaporation where value is greater than the maximum of value in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008923", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: type, unit, lat, ts\n Sensor: air_quality | fields: unit, lat, value, level\nTask: Retrieve lat from sunlight whose unit is found in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lat", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008924", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lat, depth, qc, value\n Sensor: evaporation | fields: lat, ts, type, qc\nTask: Get reading from humidity where depth exceeds the maximum depth from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008925", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: depth, level, lon, reading\n Sensor: rainfall | fields: depth, lon, value, type\nTask: Fetch lat from lightning that have at least one corresponding rainfall measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008926", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: ts, depth, lon, unit\n Sensor: cloud_cover | fields: lon, qc, depth, ts\nTask: Fetch lon from snow_depth where reading is greater than the minimum of value in cloud_cover for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008927", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lon, depth, reading, qc\n Sensor: evaporation | fields: level, value, depth, ts\nTask: Fetch level from turbidity that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008928", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: unit, ts, qc, lat\n Sensor: air_quality | fields: lat, qc, unit, level\nTask: Fetch value from sunlight where reading is greater than the total of depth in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008929", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: reading, qc, ts, lon\n Sensor: dew_point | fields: qc, ts, value, lat\nTask: Fetch level from cloud_cover where qc exists in dew_point sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008930", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: depth, type, value, unit\n Sensor: air_quality | fields: level, depth, type, lon\nTask: Get depth from rainfall where depth exceeds the minimum depth from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008931", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: ts, lat, value, type\n Sensor: snow_depth | fields: lat, depth, reading, value\nTask: Retrieve lat from frost that have at least one matching reading in snow_depth sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\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": "clr", "inner_alias": "snw", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008932", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: value, unit, lat, lon\n Sensor: wind_speed | fields: depth, value, qc, type\nTask: Retrieve reading from air_quality whose ts is found in wind_speed records where type 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(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008933", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: reading, lat, qc, lon\n Sensor: temperature | fields: unit, depth, qc, lon\nTask: Get value from cloud_cover where type appears in temperature readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008934", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: lat, reading, depth, unit\n Sensor: evaporation | fields: value, lon, unit, level\nTask: Fetch reading from dew_point where depth exists in evaporation sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008935", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: value, unit, lat, qc\n Sensor: soil_moisture | fields: unit, value, type, qc\nTask: Get value from dew_point where type appears in soil_moisture readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008936", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: ts, type, level, depth\n Sensor: temperature | fields: lon, ts, depth, reading\nTask: Retrieve lat from dew_point with depth above the COUNT(reading) of temperature 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(\"COUNT\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008937", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: lon, depth, value, type\n Sensor: uv_index | fields: lat, depth, ts, qc\nTask: Fetch lon from visibility that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008938", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, value, reading, ts\n Sensor: soil_moisture | fields: unit, ts, lon, reading\nTask: Fetch reading from pressure where reading is greater than the count of of depth in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008939", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: depth, lat, qc, value\n Sensor: cloud_cover | fields: reading, level, depth, qc\nTask: Retrieve lat from air_quality that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008940", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, lon, level, ts\n Sensor: soil_moisture | fields: type, value, reading, qc\nTask: Retrieve lat from uv_index that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008941", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lat, lon, depth, type\n Sensor: sunlight | fields: qc, reading, lat, unit\nTask: Retrieve value from turbidity with reading above the AVG(depth) of sunlight readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008942", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: depth, lon, lat, value\n Sensor: uv_index | fields: ts, lon, reading, level\nTask: Fetch value from soil_moisture that have at least one corresponding uv_index measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=has_match(\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": "prt", "inner_alias": "flx", "proj_col": "value", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008943", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: lat, level, depth, type\n Sensor: frost | fields: level, value, unit, ts\nTask: Fetch depth from uv_index where qc exists in frost sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008944", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, depth, type, level\n Sensor: cloud_cover | fields: reading, depth, ts, lat\nTask: Get reading from uv_index where type appears in cloud_cover readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008945", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, ts, lon, depth\n Sensor: cloud_cover | fields: ts, level, qc, lon\nTask: Retrieve reading from turbidity with depth above the MIN(value) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008946", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: unit, lat, level, type\n Sensor: humidity | fields: lon, ts, depth, qc\nTask: Retrieve depth from dew_point whose ts is found in humidity records where unit 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(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "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_fixed_v1_val_008947", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: unit, reading, ts, lon\n Sensor: air_quality | fields: reading, qc, unit, ts\nTask: Fetch lat 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=\"prt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008948", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, qc, value, level\n Sensor: humidity | fields: type, qc, value, ts\nTask: Retrieve depth from dew_point with reading above the MIN(reading) of humidity 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(\"MIN\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008949", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, depth, unit, level\n Sensor: drought_index | fields: reading, ts, value, depth\nTask: Retrieve level from cloud_cover with depth above the SUM(depth) of drought_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008950", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: reading, lat, lon, ts\n Sensor: dew_point | fields: depth, unit, value, reading\nTask: Fetch depth from soil_moisture where value is greater than the maximum of depth in dew_point for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008951", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: qc, type, value, depth\n Sensor: rainfall | fields: unit, level, depth, reading\nTask: Get depth from pressure where reading exceeds the average value from rainfall for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "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_fixed_v1_val_008952", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: lat, unit, type, lon\n Sensor: dew_point | fields: lon, unit, value, type\nTask: Get reading from turbidity where value exceeds the maximum depth from dew_point for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008953", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, value, reading, depth\n Sensor: snow_depth | fields: value, lat, ts, depth\nTask: Get reading from drought_index where a corresponding entry exists in snow_depth with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "reading", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008954", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: unit, depth, reading, lon\n Sensor: dew_point | fields: type, lat, lon, depth\nTask: Retrieve lon from drought_index whose unit is found in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008955", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: qc, level, depth, unit\n Sensor: temperature | fields: lon, reading, lat, level\nTask: Retrieve reading from evaporation with value above the SUM(depth) of temperature readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008956", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: unit, type, depth, lat\n Sensor: rainfall | fields: ts, qc, type, level\nTask: Retrieve depth from dew_point that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008957", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: depth, type, lon, value\n Sensor: dew_point | fields: qc, level, unit, reading\nTask: Retrieve lon from lightning that have at least one matching reading in dew_point sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008958", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: level, lon, qc, depth\n Sensor: cloud_cover | fields: lat, ts, value, reading\nTask: Get depth from pressure where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008959", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: depth, value, lat, qc\n Sensor: snow_depth | fields: lon, unit, ts, level\nTask: Fetch reading from rainfall where reading is greater than the count of of value in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008960", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: value, level, lon, ts\n Sensor: sunlight | fields: depth, ts, qc, type\nTask: Retrieve depth from turbidity that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008961", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: lat, reading, level, qc\n Sensor: visibility | fields: depth, ts, lat, lon\nTask: Fetch depth from soil_moisture where reading is greater than the count of of depth in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008962", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: type, qc, reading, value\n Sensor: cloud_cover | fields: unit, qc, value, type\nTask: Get depth from visibility where value exceeds the average value from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008963", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: type, qc, value, ts\n Sensor: evaporation | fields: lat, type, lon, reading\nTask: Fetch lon from wind_speed where depth is greater than the total of depth in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008964", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lon, value, type, unit\n Sensor: lightning | fields: reading, lon, value, type\nTask: Fetch reading from frost where value is greater than the minimum of reading in lightning for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008965", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: unit, value, qc, lon\n Sensor: wind_speed | fields: qc, unit, ts, value\nTask: Get value from humidity where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008966", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, type, depth, lat\n Sensor: turbidity | fields: level, value, qc, depth\nTask: Get value from frost where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008967", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: unit, type, value, depth\n Sensor: cloud_cover | fields: ts, level, value, lat\nTask: Get lat from snow_depth where reading exceeds the count of depth from cloud_cover for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008968", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: reading, ts, value, unit\n Sensor: cloud_cover | fields: reading, depth, qc, level\nTask: Get level from dew_point where a corresponding entry exists in cloud_cover with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008969", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, unit, lat, qc\n Sensor: visibility | fields: unit, qc, lon, depth\nTask: Get level from sunlight where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008970", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: lat, qc, value, level\n Sensor: lightning | fields: depth, type, qc, value\nTask: Get reading from air_quality where value exceeds the maximum value from lightning for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008971", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: depth, reading, lon, value\n Sensor: pressure | fields: lat, unit, depth, qc\nTask: Get lon from cloud_cover where unit appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008972", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: ts, depth, value, type\n Sensor: frost | fields: qc, type, depth, lat\nTask: Get reading from humidity where a corresponding entry exists in frost with 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=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008973", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lat, unit, level, lon\n Sensor: lightning | fields: lat, qc, reading, lon\nTask: Fetch reading from sunlight that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008974", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: type, unit, value, reading\n Sensor: drought_index | fields: lon, value, unit, type\nTask: Fetch reading from turbidity where depth is greater than the minimum of value in drought_index for matching 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(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "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_fixed_v1_val_008975", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: ts, reading, value, lon\n Sensor: humidity | fields: value, lat, level, reading\nTask: Fetch reading from snow_depth where reading is greater than the maximum of depth in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008976", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, type, lat, depth\n Sensor: rainfall | fields: qc, type, reading, ts\nTask: Retrieve reading from drought_index with reading above the AVG(depth) of rainfall readings sharing the same ts.\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(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008977", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: reading, unit, qc, type\n Sensor: soil_moisture | fields: depth, lon, ts, qc\nTask: Fetch depth from wind_speed where reading is greater than the count of of depth in soil_moisture for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "prt", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008978", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: qc, lon, ts, value\n Sensor: pressure | fields: unit, value, type, depth\nTask: Fetch lat from rainfall where type exists in pressure sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008979", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, lon, ts, value\n Sensor: uv_index | fields: ts, level, reading, qc\nTask: Retrieve level from pressure with reading above the COUNT(value) of uv_index readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008980", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: qc, reading, level, type\n Sensor: turbidity | fields: value, unit, depth, qc\nTask: Retrieve value from lightning that have at least one matching reading in turbidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008981", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: depth, lat, unit, ts\n Sensor: pressure | fields: ts, depth, value, qc\nTask: Fetch reading from turbidity where qc exists in pressure sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008982", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lon, qc, value, ts\n Sensor: rainfall | fields: unit, level, type, lon\nTask: Fetch depth from temperature where type exists in rainfall sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008983", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: lat, ts, type, unit\n Sensor: dew_point | fields: lat, lon, reading, ts\nTask: Get level from wind_speed where depth exceeds the minimum depth from dew_point for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008984", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, value, reading, unit\n Sensor: sunlight | fields: lon, unit, reading, lat\nTask: Fetch lat from drought_index that have at least one corresponding sunlight measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008985", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: value, qc, lon, type\n Sensor: soil_moisture | fields: qc, ts, unit, value\nTask: Retrieve level from frost whose qc is found in soil_moisture records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008986", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: unit, level, qc, value\n Sensor: rainfall | fields: type, reading, lon, ts\nTask: Get depth from evaporation where depth appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "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_fixed_v1_val_008987", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: value, level, type, ts\n Sensor: dew_point | fields: lon, reading, type, unit\nTask: Retrieve lon from drought_index whose depth is found in dew_point records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\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": "drought_index", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lon", "filter_col": "depth", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008988", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, type, level, lat\n Sensor: sunlight | fields: ts, type, lon, depth\nTask: Get reading from cloud_cover where type appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008989", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: level, reading, type, lat\n Sensor: frost | fields: lon, qc, type, lat\nTask: Retrieve depth 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=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008990", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: type, depth, value, unit\n Sensor: wind_speed | fields: unit, lon, level, type\nTask: Fetch value from air_quality where reading is greater than the total of reading in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008991", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: reading, qc, lon, lat\n Sensor: visibility | fields: level, reading, unit, value\nTask: Get depth from air_quality where value exceeds the count of depth from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "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_fixed_v1_val_008992", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: unit, lat, type, value\n Sensor: temperature | fields: level, reading, lat, qc\nTask: Retrieve level from pressure that have at least one matching reading in temperature sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008993", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: depth, lat, type, ts\n Sensor: lightning | fields: unit, type, qc, lat\nTask: Retrieve lat from humidity that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008994", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: lat, lon, ts, unit\n Sensor: sunlight | fields: ts, lon, value, level\nTask: Fetch value from cloud_cover where value is greater than the minimum of value in sunlight for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008995", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: level, reading, ts, qc\n Sensor: cloud_cover | fields: level, unit, depth, value\nTask: Get lon from sunlight where depth exceeds the total value from cloud_cover for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008996", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lat, value, qc, unit\n Sensor: sunlight | fields: qc, type, unit, lon\nTask: Fetch value from visibility that have at least one corresponding sunlight measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_008997", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: ts, qc, level, reading\n Sensor: lightning | fields: depth, type, unit, lat\nTask: Fetch value from cloud_cover where value is greater than the total of reading in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "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_fixed_v1_val_008998", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: reading, qc, lon, depth\n Sensor: wind_speed | fields: ts, unit, lon, depth\nTask: Fetch lon from pressure where unit exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_008999", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: unit, lon, level, qc\n Sensor: uv_index | fields: ts, qc, unit, reading\nTask: Fetch lat 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=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lat", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009000", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: type, level, value, lon\n Sensor: cloud_cover | fields: type, level, qc, depth\nTask: Retrieve value from pressure that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009001", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: value, unit, ts, reading\n Sensor: temperature | fields: level, reading, lon, ts\nTask: Fetch reading from pressure that have at least one corresponding temperature measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009002", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: reading, value, lat, unit\n Sensor: air_quality | fields: lon, value, unit, ts\nTask: Get reading from uv_index where ts appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "ts", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009003", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: unit, lat, qc, reading\n Sensor: rainfall | fields: reading, lat, value, depth\nTask: Get reading from air_quality where a corresponding entry exists in rainfall with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009004", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: reading, value, unit, qc\n Sensor: dew_point | fields: unit, qc, reading, level\nTask: Retrieve depth from uv_index that have at least one matching reading in dew_point sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009005", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lon, reading, ts, lat\n Sensor: air_quality | fields: lon, reading, unit, type\nTask: Get level from snow_depth where depth appears in air_quality readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009006", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: clr | fields: ts, value, unit, depth\n Sensor: snow_depth | fields: depth, ts, unit, lat\nTask: Fetch lon from humidity where reading is greater than the count of of depth in snow_depth for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009007", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: value, lon, depth, ts\n Sensor: sunlight | fields: lat, lon, value, ts\nTask: Retrieve lat from frost whose depth is found in sunlight records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009008", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: depth, reading, value, qc\n Sensor: pressure | fields: value, qc, lat, level\nTask: Fetch lat from rainfall where unit exists in pressure sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009009", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, depth, lon, reading\n Sensor: uv_index | fields: lat, unit, depth, qc\nTask: Retrieve level from cloud_cover that have at least one matching reading in uv_index sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009010", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lon, qc, unit, value\n Sensor: visibility | fields: value, type, lat, level\nTask: Get level from rainfall where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "level", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009011", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: unit, ts, reading, level\n Sensor: turbidity | fields: unit, value, qc, reading\nTask: Fetch reading from snow_depth that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "reading", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009012", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: ts, lon, lat, value\n Sensor: evaporation | fields: qc, type, unit, ts\nTask: Fetch level from dew_point where ts exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009013", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: lon, reading, qc, unit\n Sensor: turbidity | fields: unit, lat, qc, depth\nTask: Get reading from soil_moisture where reading exceeds the total reading from turbidity for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009014", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: lat, level, reading, depth\n Sensor: evaporation | fields: unit, qc, depth, level\nTask: Retrieve value from uv_index with value above the COUNT(value) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009015", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: lon, unit, ts, reading\n Sensor: evaporation | fields: unit, reading, type, level\nTask: Retrieve reading from turbidity with value above the MIN(depth) of evaporation readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009016", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: level, lon, lat, depth\n Sensor: sunlight | fields: lat, unit, lon, level\nTask: Retrieve level from wind_speed with reading above the SUM(reading) of sunlight 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(\"SUM\", \"reading\",\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", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009017", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, unit, value, qc\n Sensor: dew_point | fields: value, depth, type, qc\nTask: Retrieve reading from sunlight with depth above the SUM(reading) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009018", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: qc, level, reading, unit\n Sensor: frost | fields: lat, level, depth, lon\nTask: Get depth from evaporation where depth exceeds the maximum depth from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009019", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: ts, level, lat, depth\n Sensor: pressure | fields: ts, qc, lon, unit\nTask: Get reading from cloud_cover where unit appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009020", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, reading, lon, type\n Sensor: rainfall | fields: reading, type, qc, lon\nTask: Get lat from frost where reading exceeds the average value from rainfall for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009021", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: level, type, unit, ts\n Sensor: humidity | fields: level, qc, unit, lat\nTask: Get value from uv_index where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009022", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: type, lon, reading, qc\n Sensor: snow_depth | fields: value, lat, lon, level\nTask: Retrieve depth from visibility with depth above the AVG(value) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009023", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, ts, unit, value\n Sensor: soil_moisture | fields: unit, lat, depth, lon\nTask: Get value from dew_point where depth exceeds the count of reading from soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009024", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: ts, lon, reading, depth\n Sensor: frost | fields: level, unit, value, qc\nTask: Get value from air_quality where a corresponding entry exists in frost with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009025", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: unit, lon, depth, ts\n Sensor: pressure | fields: lat, level, depth, ts\nTask: Retrieve lon from rainfall with reading above the SUM(value) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009026", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lat, reading, depth, lon\n Sensor: snow_depth | fields: lon, value, ts, qc\nTask: Retrieve level 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=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009027", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, ts, unit, reading\n Sensor: frost | fields: unit, value, type, qc\nTask: Get level from dew_point where type appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009028", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: lon, type, value, lat\n Sensor: sunlight | fields: reading, qc, ts, value\nTask: Retrieve depth from drought_index whose type is found in sunlight records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "depth", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009029", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: type, qc, ts, depth\n Sensor: uv_index | fields: type, lon, unit, qc\nTask: Get value 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=\"gst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009030", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lon, reading, unit, value\n Sensor: rainfall | fields: value, type, depth, unit\nTask: Fetch lat from dew_point where type exists in rainfall sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "type", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009031", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lon, ts, lat, unit\n Sensor: snow_depth | fields: depth, lat, value, lon\nTask: Get lat from soil_moisture where depth exceeds the minimum depth from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009032", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, unit, value, reading\n Sensor: cloud_cover | fields: lon, reading, qc, level\nTask: Get level from air_quality where depth exceeds the average value from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009033", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, qc, unit, level\n Sensor: dew_point | fields: type, unit, ts, level\nTask: Get reading from frost where type appears in dew_point readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009034", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, level, type, value\n Sensor: visibility | fields: unit, value, qc, depth\nTask: Get level from temperature where depth appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009035", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: depth, reading, lon, type\n Sensor: sunlight | fields: value, level, type, reading\nTask: Get level from humidity where unit appears in sunlight readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "level", "filter_col": "unit", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009036", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, depth, ts, qc\n Sensor: lightning | fields: value, ts, lon, qc\nTask: Retrieve lon from turbidity that have at least one matching reading in lightning sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009037", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: unit, qc, value, lon\n Sensor: wind_speed | fields: unit, value, qc, type\nTask: Fetch reading from turbidity where qc exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009038", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: lat, value, qc, depth\n Sensor: drought_index | fields: lat, ts, level, value\nTask: Get lon from air_quality where ts appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009039", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: level, lon, qc, ts\n Sensor: soil_moisture | fields: unit, lat, reading, depth\nTask: Get lon from temperature where a corresponding entry exists in soil_moisture with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009040", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: value, lat, lon, depth\n Sensor: frost | fields: unit, lat, level, reading\nTask: Fetch value from pressure where unit exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009041", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: ts, type, value, qc\n Sensor: pressure | fields: ts, type, reading, value\nTask: Fetch value from temperature where depth is greater than the count of of value in pressure for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009042", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: qc, depth, level, lon\n Sensor: dew_point | fields: unit, reading, depth, lat\nTask: Retrieve lat from turbidity with reading above the MAX(value) of dew_point readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009043", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: qc, lon, lat, level\n Sensor: soil_moisture | fields: unit, level, qc, type\nTask: Retrieve lon from temperature whose qc is found in soil_moisture records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009044", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: qc, depth, ts, unit\n Sensor: cloud_cover | fields: reading, ts, unit, level\nTask: Fetch depth from snow_depth where depth exists in cloud_cover sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "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_fixed_v1_val_009045", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: qc, type, level, lat\n Sensor: rainfall | fields: depth, lat, value, qc\nTask: Retrieve lat from lightning that have at least one matching reading in rainfall sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009046", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: level, type, lat, ts\n Sensor: frost | fields: reading, type, lon, depth\nTask: Fetch lat from turbidity that have at least one corresponding frost measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009047", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: level, unit, qc, lon\n Sensor: evaporation | fields: lon, lat, type, depth\nTask: Retrieve value from air_quality with value above the MIN(depth) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009048", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, depth, unit, value\n Sensor: soil_moisture | fields: qc, value, depth, type\nTask: Retrieve lon from visibility with depth above the AVG(value) of soil_moisture readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009049", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lat, level, type, value\n Sensor: temperature | fields: depth, ts, lon, value\nTask: Get reading from turbidity where value exceeds the total 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(\"SUM\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009050", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: unit, qc, value, ts\n Sensor: wind_speed | fields: type, value, reading, unit\nTask: Get depth from snow_depth where unit appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009051", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, qc, type, depth\n Sensor: snow_depth | fields: unit, type, lat, reading\nTask: Fetch depth from dew_point where depth exists in snow_depth sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009052", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: ts, lon, unit, depth\n Sensor: drought_index | fields: ts, reading, type, depth\nTask: Retrieve reading from turbidity that have at least one matching reading in drought_index sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009053", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: unit, depth, lon, lat\n Sensor: rainfall | fields: type, ts, lat, qc\nTask: Fetch lat from soil_moisture where unit exists in rainfall sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009054", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: reading, type, ts, level\n Sensor: visibility | fields: ts, unit, type, lat\nTask: Fetch reading from temperature that have at least one corresponding visibility measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009055", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, reading, lat, type\n Sensor: lightning | fields: unit, reading, type, value\nTask: Get lat from pressure where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009056", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: level, lon, lat, qc\n Sensor: sunlight | fields: level, qc, value, reading\nTask: Retrieve lat from visibility that have at least one matching reading in sunlight sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009057", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: level, type, reading, lon\n Sensor: temperature | fields: lon, lat, reading, type\nTask: Retrieve level from sunlight with reading above the SUM(depth) of temperature 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(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009058", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: depth, type, qc, value\n Sensor: visibility | fields: lon, level, unit, qc\nTask: Get lon from sunlight where reading exceeds the average reading from visibility for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009059", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: depth, reading, qc, ts\n Sensor: visibility | fields: level, depth, type, lat\nTask: Retrieve lat from snow_depth with depth above the SUM(value) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009060", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lon, type, lat, ts\n Sensor: turbidity | fields: lat, level, reading, lon\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=\"ftu\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lon", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009061", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, unit, ts, lon\n Sensor: soil_moisture | fields: level, depth, value, unit\nTask: Get value from sunlight where depth appears in soil_moisture readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009062", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: type, qc, lon, level\n Sensor: soil_moisture | fields: unit, value, depth, level\nTask: Fetch reading from rainfall where unit exists in soil_moisture sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009063", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, lat, unit, ts\n Sensor: drought_index | fields: type, ts, lon, qc\nTask: Retrieve lat from frost with reading above the MAX(value) of drought_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009064", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: qc, value, reading, lat\n Sensor: turbidity | fields: type, unit, value, lat\nTask: Fetch lon from pressure where depth exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009065", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: unit, type, reading, depth\n Sensor: turbidity | fields: unit, ts, qc, level\nTask: Get level from frost where a corresponding entry exists in turbidity with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "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_fixed_v1_val_009066", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: value, unit, depth, reading\n Sensor: evaporation | fields: level, reading, value, depth\nTask: Get level from lightning where ts appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009067", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, unit, lat, type\n Sensor: turbidity | fields: lon, ts, lat, depth\nTask: Get value from uv_index where depth appears in turbidity readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009068", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, ts, unit, level\n Sensor: evaporation | fields: reading, qc, type, value\nTask: Fetch level from humidity where depth is greater than the maximum of value in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "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_fixed_v1_val_009069", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, ts, type, qc\n Sensor: humidity | fields: level, lat, type, ts\nTask: Retrieve level from uv_index with value above the AVG(value) of humidity readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009070", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: ts, reading, value, qc\n Sensor: humidity | fields: qc, lon, lat, ts\nTask: Fetch value from wind_speed that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "value", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009071", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: lon, level, lat, ts\n Sensor: humidity | fields: reading, lat, qc, unit\nTask: Retrieve lon from rainfall with reading above the MAX(reading) of humidity readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009072", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: depth, ts, lat, unit\n Sensor: frost | fields: unit, lon, type, ts\nTask: Get level from soil_moisture where value exceeds the minimum reading from frost for the same qc.\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(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009073", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: reading, level, qc, value\n Sensor: air_quality | fields: ts, depth, lon, unit\nTask: Get lon from cloud_cover where unit appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009074", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: ts, lon, lat, reading\n Sensor: cloud_cover | fields: unit, lat, lon, value\nTask: Retrieve reading from frost that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009075", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: level, ts, value, lon\n Sensor: rainfall | fields: value, unit, ts, depth\nTask: Get value from turbidity where type appears in rainfall readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009076", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: level, qc, value, ts\n Sensor: rainfall | fields: level, depth, reading, qc\nTask: Get lat from temperature where a corresponding entry exists in rainfall with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009077", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: level, reading, unit, lon\n Sensor: snow_depth | fields: qc, reading, ts, type\nTask: Get lat from frost where depth exceeds the maximum value from snow_depth for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009078", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: lat, lon, depth, value\n Sensor: turbidity | fields: ts, depth, lon, lat\nTask: Fetch value 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=\"gst\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009079", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: type, level, lat, value\n Sensor: cloud_cover | fields: level, qc, unit, lat\nTask: Get value from air_quality where depth exceeds the count of reading from cloud_cover for the same qc.\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(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "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_fixed_v1_val_009080", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: unit, type, depth, ts\n Sensor: turbidity | fields: unit, ts, level, lon\nTask: Retrieve value from uv_index whose qc is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "value", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009081", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: ts, lon, depth, level\n Sensor: wind_speed | fields: qc, type, unit, reading\nTask: Fetch lat from evaporation where reading is greater than the count of of value in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009082", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: type, lat, level, value\n Sensor: temperature | fields: ts, reading, value, lon\nTask: Get lat from snow_depth where depth exceeds the count of reading from temperature for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009083", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: unit, reading, lon, level\n Sensor: turbidity | fields: level, lon, ts, qc\nTask: Fetch depth from cloud_cover that have at least one corresponding turbidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009084", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, lon, reading, lat\n Sensor: pressure | fields: level, qc, depth, reading\nTask: Get value from cloud_cover where reading exceeds the total depth from pressure for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009085", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, unit, depth, level\n Sensor: rainfall | fields: level, lon, reading, unit\nTask: Get level from uv_index where qc appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009086", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, reading, qc, unit\n Sensor: visibility | fields: depth, ts, value, lon\nTask: Get value from air_quality where depth exceeds the maximum value from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009087", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lat, value, reading, qc\n Sensor: turbidity | fields: lat, qc, level, type\nTask: Fetch level from evaporation where unit exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009088", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: reading, lon, ts, unit\n Sensor: cloud_cover | fields: ts, reading, value, type\nTask: Fetch reading from evaporation where value is greater than the count of of value in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009089", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: type, depth, level, unit\n Sensor: sunlight | fields: lat, lon, depth, unit\nTask: Get value from rainfall where reading exceeds the maximum reading from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009090", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: ts, qc, lon, lat\n Sensor: wind_speed | fields: qc, ts, unit, value\nTask: Get depth from evaporation where reading exceeds the count of depth from wind_speed for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009091", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lon, depth, lat, level\n Sensor: dew_point | fields: value, reading, level, depth\nTask: Fetch lat from pressure that have at least one corresponding dew_point measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009092", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: depth, qc, unit, ts\n Sensor: lightning | fields: qc, lat, lon, type\nTask: Get lat from humidity where a corresponding entry exists in lightning with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009093", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: value, type, qc, lat\n Sensor: evaporation | fields: unit, depth, lon, qc\nTask: Fetch lon from wind_speed where type exists in evaporation sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009094", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, depth, level, lon\n Sensor: snow_depth | fields: depth, unit, type, level\nTask: Get level 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=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009095", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: value, level, reading, lon\n Sensor: frost | fields: type, depth, lon, unit\nTask: Get value from rainfall where a corresponding entry exists in frost with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "value", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009096", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: prt | fields: depth, unit, reading, lon\n Sensor: rainfall | fields: depth, lon, lat, ts\nTask: Fetch lon 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=\"prt\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009097", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: unit, ts, depth, reading\n Sensor: air_quality | fields: value, lat, qc, ts\nTask: Fetch depth from soil_moisture that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009098", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: level, reading, qc, lon\n Sensor: frost | fields: depth, level, lon, qc\nTask: Retrieve lat from air_quality that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009099", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: value, lon, reading, type\n Sensor: visibility | fields: lon, level, qc, reading\nTask: Retrieve lon from evaporation with reading above the MAX(reading) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009100", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: depth, qc, level, reading\n Sensor: temperature | fields: lon, level, lat, qc\nTask: Retrieve level from soil_moisture that have at least one matching reading in temperature sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009101", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: reading, lat, lon, unit\n Sensor: cloud_cover | fields: level, unit, reading, qc\nTask: Fetch lon from air_quality where reading is greater than the maximum of value in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009102", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: type, lat, reading, level\n Sensor: cloud_cover | fields: reading, level, value, qc\nTask: Fetch lon from dew_point where value is greater than the maximum of depth in cloud_cover for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009103", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: value, depth, lat, level\n Sensor: temperature | fields: lon, ts, reading, qc\nTask: Get level from evaporation where reading exceeds the maximum value from temperature for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009104", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: thr | fields: depth, level, lat, value\n Sensor: turbidity | fields: reading, value, lat, type\nTask: Retrieve depth from lightning with depth above the SUM(value) of turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009105", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, depth, reading, value\n Sensor: pressure | fields: lon, qc, unit, reading\nTask: Fetch level from frost that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009106", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lat, qc, ts, reading\n Sensor: temperature | fields: unit, value, ts, lat\nTask: Fetch level from humidity that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009107", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: qc, value, reading, type\n Sensor: uv_index | fields: qc, reading, unit, depth\nTask: Get lat from pressure where ts appears in uv_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009108", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, ts, depth, reading\n Sensor: lightning | fields: reading, depth, ts, type\nTask: Retrieve depth from sunlight that have at least one matching reading in lightning sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009109", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: ts, depth, unit, value\n Sensor: evaporation | fields: lat, depth, value, lon\nTask: Fetch depth from snow_depth that have at least one corresponding evaporation measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009110", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: ts, lon, level, type\n Sensor: evaporation | fields: unit, lat, ts, lon\nTask: Fetch level from rainfall where value is greater than the minimum of depth in evaporation for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009111", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: type, lat, reading, depth\n Sensor: air_quality | fields: lon, reading, level, qc\nTask: Get depth from cloud_cover where qc appears in air_quality readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009112", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: reading, depth, unit, value\n Sensor: evaporation | fields: lat, unit, depth, reading\nTask: Get lon from humidity where depth appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009113", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: level, value, type, unit\n Sensor: frost | fields: reading, ts, unit, qc\nTask: Get depth from cloud_cover where qc appears in frost 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(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009114", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: value, ts, level, reading\n Sensor: dew_point | fields: level, type, lat, qc\nTask: Retrieve reading from pressure with reading above the MAX(depth) of dew_point readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009115", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: depth, ts, qc, unit\n Sensor: uv_index | fields: qc, value, reading, lat\nTask: Retrieve depth from evaporation with reading above the MIN(reading) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009116", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: level, reading, type, lon\n Sensor: wind_speed | fields: depth, lon, unit, ts\nTask: Fetch level from turbidity where reading is greater than the total of depth in wind_speed for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009117", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lon, depth, unit, lat\n Sensor: uv_index | fields: qc, type, reading, value\nTask: Fetch lon from dew_point where unit exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009118", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, type, qc, lon\n Sensor: wind_speed | fields: value, level, qc, type\nTask: Fetch lat from temperature where reading is greater than the average of reading in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009119", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lat, level, qc, unit\n Sensor: sunlight | fields: ts, lat, reading, lon\nTask: Get lon from soil_moisture where type appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lon", "filter_col": "type", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009120", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: reading, lat, level, type\n Sensor: cloud_cover | fields: qc, ts, type, lon\nTask: Fetch value from air_quality that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "value", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009121", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: ts, value, level, qc\n Sensor: sunlight | fields: unit, value, type, qc\nTask: Fetch lat from drought_index where type exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lat", "filter_col": "type", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009122", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: value, unit, qc, lat\n Sensor: pressure | fields: ts, lon, unit, level\nTask: Retrieve value from sunlight whose unit is found in pressure records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009123", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, qc, depth, level\n Sensor: temperature | fields: lat, unit, value, ts\nTask: Retrieve level from cloud_cover with value above the SUM(depth) of temperature readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009124", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: level, value, reading, ts\n Sensor: temperature | fields: level, value, depth, unit\nTask: Get lat from turbidity where qc appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009125", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: qc, value, type, ts\n Sensor: wind_speed | fields: lat, ts, reading, unit\nTask: Get lat from cloud_cover where type appears in wind_speed readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009126", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: reading, type, lat, unit\n Sensor: lightning | fields: reading, type, lat, unit\nTask: Get depth from dew_point where ts appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009127", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: value, unit, type, level\n Sensor: sunlight | fields: lon, qc, level, reading\nTask: Fetch lon from frost where unit exists in sunlight sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "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_fixed_v1_val_009128", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, depth, reading, lon\n Sensor: visibility | fields: depth, qc, level, ts\nTask: Get lat from turbidity where a corresponding entry exists in visibility with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009129", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: unit, reading, ts, qc\n Sensor: dew_point | fields: reading, type, depth, qc\nTask: Retrieve lat from air_quality with reading above the MAX(reading) of dew_point readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009130", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: type, level, qc, ts\n Sensor: pressure | fields: qc, level, ts, type\nTask: Fetch value from frost where reading is greater than the maximum of depth in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009131", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: unit, type, lat, ts\n Sensor: cloud_cover | fields: ts, unit, qc, level\nTask: Get depth from pressure where a corresponding entry exists in cloud_cover with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009132", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: level, value, lat, unit\n Sensor: drought_index | fields: lon, type, reading, level\nTask: Get value from turbidity where unit appears in drought_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009133", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lon, ts, reading, type\n Sensor: air_quality | fields: type, qc, unit, lat\nTask: Retrieve depth from dew_point with value above the MAX(reading) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009134", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: type, lon, value, unit\n Sensor: soil_moisture | fields: unit, qc, level, type\nTask: Get value from drought_index where ts appears in soil_moisture readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "ts", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009135", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: lat, qc, level, depth\n Sensor: sunlight | fields: ts, unit, level, lat\nTask: Get value from frost where a corresponding entry exists in sunlight with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009136", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: ts, unit, lat, value\n Sensor: air_quality | fields: depth, lon, type, reading\nTask: Get lon from dew_point where ts appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "ts", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009137", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: qc, unit, lat, reading\n Sensor: snow_depth | fields: lat, lon, qc, value\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=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009138", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, lon, lat, depth\n Sensor: lightning | fields: qc, lat, unit, value\nTask: Get depth from air_quality where value exceeds the total depth from lightning for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009139", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: type, lon, qc, lat\n Sensor: temperature | fields: level, depth, ts, reading\nTask: Get depth from soil_moisture where reading exceeds the minimum reading from temperature for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009140", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: qc, lat, level, reading\n Sensor: uv_index | fields: ts, unit, qc, type\nTask: Retrieve level from turbidity with value above the AVG(reading) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009141", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, reading, lon, unit\n Sensor: frost | fields: qc, depth, lon, value\nTask: Get lon from dew_point where type appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "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_fixed_v1_val_009142", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: qc, depth, value, level\n Sensor: lightning | fields: qc, value, unit, lon\nTask: Get lat from rainfall where reading exceeds the count of reading from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009143", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: value, lon, lat, reading\n Sensor: turbidity | fields: reading, type, lon, ts\nTask: Retrieve lon from sunlight whose unit is found in turbidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009144", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: lon, value, unit, lat\n Sensor: turbidity | fields: lon, type, value, ts\nTask: Retrieve reading from humidity whose depth is found in turbidity records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "depth", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009145", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: level, value, reading, ts\n Sensor: lightning | fields: ts, depth, reading, level\nTask: Get lat from sunlight where value exceeds the average depth from lightning for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009146", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lat, lon, level, reading\n Sensor: humidity | fields: lat, depth, lon, level\nTask: Fetch reading from rainfall where depth is greater than the average of depth in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009147", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lat, level, unit, depth\n Sensor: uv_index | fields: level, lon, depth, type\nTask: Fetch lon 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=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lon", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009148", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: ts, lon, level, type\n Sensor: pressure | fields: lon, ts, value, reading\nTask: Get level from evaporation where a corresponding entry exists in pressure with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009149", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: ts, lat, value, type\n Sensor: temperature | fields: ts, lon, level, type\nTask: Retrieve depth from soil_moisture that have at least one matching reading in temperature sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009150", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: qc, unit, reading, lat\n Sensor: frost | fields: qc, value, unit, level\nTask: Get depth from lightning where depth exceeds the count of value from frost for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009151", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: type, qc, unit, lon\n Sensor: drought_index | fields: value, lat, ts, unit\nTask: Retrieve lat from uv_index whose type is found in drought_index records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009152", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lon, unit, type, ts\n Sensor: pressure | fields: reading, value, depth, qc\nTask: Get lon from evaporation where a corresponding entry exists in pressure with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009153", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: type, qc, lon, value\n Sensor: evaporation | fields: level, unit, value, reading\nTask: Fetch depth from frost that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009154", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, lon, lat, reading\n Sensor: visibility | fields: ts, qc, depth, unit\nTask: Retrieve reading from evaporation that have at least one matching reading in visibility sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009155", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, value, qc, ts\n Sensor: soil_moisture | fields: qc, depth, lat, reading\nTask: Fetch value from pressure that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "value", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009156", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: reading, unit, depth, value\n Sensor: turbidity | fields: lon, lat, ts, depth\nTask: Retrieve depth from frost with value above the MIN(reading) of turbidity readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009157", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, type, level, lat\n Sensor: sunlight | fields: qc, level, value, type\nTask: Retrieve lon from cloud_cover that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "lon", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009158", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: type, reading, qc, level\n Sensor: drought_index | fields: level, reading, value, type\nTask: Get value from wind_speed where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009159", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: level, reading, ts, qc\n Sensor: drought_index | fields: lon, type, qc, level\nTask: Get depth from uv_index where ts appears in drought_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\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": "uv_index", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009160", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: reading, type, lat, value\n Sensor: air_quality | fields: lat, depth, level, value\nTask: Fetch lat from uv_index that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009161", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: type, reading, lon, lat\n Sensor: soil_moisture | fields: type, lat, reading, level\nTask: Fetch lon from pressure where value is greater than the total of value in soil_moisture for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009162", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: qc, type, ts, lon\n Sensor: soil_moisture | fields: depth, ts, lat, lon\nTask: Retrieve reading from rainfall that have at least one matching reading in soil_moisture sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009163", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: depth, value, unit, lat\n Sensor: sunlight | fields: reading, depth, value, level\nTask: Get reading from rainfall where reading exceeds the average depth from sunlight for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009164", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, depth, value, ts\n Sensor: snow_depth | fields: qc, reading, ts, lat\nTask: Retrieve depth 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=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009165", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: qc, lat, type, level\n Sensor: soil_moisture | fields: value, level, lon, ts\nTask: Get level from wind_speed where reading exceeds the average value from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "mst", "inner_alias": "grvl", "proj_col": "level", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009166", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: qc, lat, type, reading\n Sensor: dew_point | fields: qc, value, depth, lat\nTask: Get value from pressure where a corresponding entry exists in dew_point with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009167", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: unit, value, reading, type\n Sensor: frost | fields: level, qc, lon, reading\nTask: Fetch level 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=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009168", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: ts, lon, reading, lat\n Sensor: drought_index | fields: depth, value, reading, unit\nTask: Get lat from cloud_cover where value exceeds the maximum depth from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\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": "thr", "inner_alias": "drt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009169", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: lat, reading, lon, ts\n Sensor: humidity | fields: value, ts, qc, level\nTask: Retrieve reading from cloud_cover with reading above the MAX(reading) of humidity 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(\"MAX\", \"reading\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009170", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: unit, qc, reading, lat\n Sensor: humidity | fields: lat, depth, lon, qc\nTask: Fetch level from visibility where type exists in humidity sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009171", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: ts, lat, unit, qc\n Sensor: pressure | fields: lon, depth, level, ts\nTask: Get lat from air_quality where depth appears in pressure 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(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009172", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, unit, ts, lon\n Sensor: temperature | fields: lon, reading, value, ts\nTask: Fetch reading from turbidity where depth is greater than the average of reading in temperature for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009173", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, unit, reading, type\n Sensor: cloud_cover | fields: qc, lat, depth, ts\nTask: Get lat from air_quality where unit appears in cloud_cover readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009174", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: qc, lat, reading, unit\n Sensor: humidity | fields: qc, reading, unit, lon\nTask: Retrieve value from visibility whose ts is found in humidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009175", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: lon, level, type, depth\n Sensor: soil_moisture | fields: ts, qc, level, lon\nTask: Fetch level from cloud_cover where value is greater than the count of of depth in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009176", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lat, qc, type, value\n Sensor: pressure | fields: value, unit, qc, lat\nTask: Get value from humidity where unit appears in pressure readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "filter_col": "unit", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009177", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: lat, value, level, type\n Sensor: pressure | fields: lon, level, type, ts\nTask: Fetch level from dew_point that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009178", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: qc, depth, ts, unit\n Sensor: evaporation | fields: lat, level, ts, type\nTask: Retrieve reading from rainfall with depth above the COUNT(reading) 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(\"COUNT\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009179", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: type, value, qc, unit\n Sensor: temperature | fields: lat, level, ts, unit\nTask: Retrieve value from frost whose depth is found in temperature records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009180", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: unit, qc, lat, value\n Sensor: drought_index | fields: value, depth, reading, level\nTask: Fetch depth from humidity that have at least one corresponding drought_index measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009181", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, type, depth, lon\n Sensor: wind_speed | fields: lon, type, level, depth\nTask: Retrieve lat from sunlight whose depth is found in wind_speed records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "lat", "filter_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009182", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: reading, qc, unit, value\n Sensor: frost | fields: lon, lat, type, value\nTask: Get lon from cloud_cover where unit appears in frost readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "frost", "outer_alias": "mst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "unit", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009183", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lon, unit, level, ts\n Sensor: snow_depth | fields: lon, type, ts, lat\nTask: Get value from soil_moisture where unit 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=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "value", "filter_col": "unit", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009184", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: qc, level, value, lat\n Sensor: uv_index | fields: ts, unit, depth, lon\nTask: Retrieve depth from rainfall whose depth is found in uv_index records where type matches the outer node.\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=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "depth", "filter_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009185", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: lat, value, reading, ts\n Sensor: pressure | fields: ts, depth, lat, lon\nTask: Fetch level from frost where depth is greater than the count of of reading in pressure for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009186", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: depth, level, reading, qc\n Sensor: temperature | fields: type, depth, qc, ts\nTask: Fetch level from pressure where depth exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "level", "filter_col": "depth", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009187", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: value, unit, reading, depth\n Sensor: cloud_cover | fields: depth, unit, value, qc\nTask: Retrieve lat from lightning that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009188", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, value, reading, type\n Sensor: frost | fields: unit, ts, level, value\nTask: Fetch level from drought_index that have at least one corresponding frost measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009189", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: type, level, lon, lat\n Sensor: soil_moisture | fields: depth, level, qc, ts\nTask: Get level from pressure where value exceeds the average reading from soil_moisture for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009190", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, depth, value, lon\n Sensor: lightning | fields: lat, ts, value, unit\nTask: Get reading from frost where a corresponding entry exists in lightning with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009191", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: reading, lat, qc, ts\n Sensor: dew_point | fields: qc, type, reading, ts\nTask: Retrieve level from frost whose unit is found in dew_point records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009192", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lat, unit, type, depth\n Sensor: dew_point | fields: unit, value, level, reading\nTask: Get value from evaporation where ts appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009193", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: value, ts, lon, type\n Sensor: frost | fields: level, qc, depth, unit\nTask: Retrieve lon from rainfall whose qc is found in frost records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "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_fixed_v1_val_009194", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: unit, lat, lon, level\n Sensor: soil_moisture | fields: qc, level, lon, type\nTask: Retrieve lon from frost with value above the SUM(depth) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "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_fixed_v1_val_009195", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: clr | fields: level, qc, type, unit\n Sensor: drought_index | fields: reading, lat, unit, ts\nTask: Get level from soil_moisture where qc appears in drought_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "drought_index", "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_fixed_v1_val_009196", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, reading, lat, unit\n Sensor: sunlight | fields: qc, level, unit, depth\nTask: Retrieve reading from rainfall that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009197", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: ref | fields: lat, type, qc, reading\n Sensor: snow_depth | fields: ts, qc, type, lon\nTask: Retrieve level from turbidity whose qc is found in snow_depth records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "filter_col": "qc", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009198", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lat, depth, ts, qc\n Sensor: lightning | fields: reading, ts, lat, lon\nTask: Get lon from sunlight where value exceeds the average reading from lightning for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009199", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: reading, type, lon, value\n Sensor: lightning | fields: lat, reading, lon, depth\nTask: Retrieve reading from frost whose qc is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009200", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, lon, reading, value\n Sensor: cloud_cover | fields: value, depth, lon, reading\nTask: Get value from drought_index where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009201", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, lat, value, ts\n Sensor: temperature | fields: unit, qc, depth, type\nTask: Get level from wind_speed where reading exceeds the count of depth from temperature for 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(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "ref", "inner_alias": "thr", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009202", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: level, value, unit, lon\n Sensor: soil_moisture | fields: unit, lon, value, level\nTask: Get value from cloud_cover where type appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009203", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: unit, level, reading, depth\n Sensor: air_quality | fields: lat, ts, level, type\nTask: Get value from frost where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009204", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: reading, unit, ts, lat\n Sensor: evaporation | fields: qc, type, ts, level\nTask: Fetch reading from sunlight where unit exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009205", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: reading, unit, depth, level\n Sensor: sunlight | fields: depth, lon, type, reading\nTask: Retrieve lon from lightning whose ts is found in sunlight records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009206", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: reading, qc, unit, depth\n Sensor: pressure | fields: level, ts, reading, lat\nTask: Retrieve lon from humidity that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009207", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: qc, lat, lon, type\n Sensor: cloud_cover | fields: qc, lon, lat, level\nTask: Retrieve level 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=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009208", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: qc, lat, unit, reading\n Sensor: sunlight | fields: level, qc, value, ts\nTask: Retrieve value from lightning with reading above the COUNT(value) of sunlight readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009209", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: type, qc, ts, lat\n Sensor: drought_index | fields: value, level, lat, reading\nTask: Fetch reading from lightning where unit exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009210", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: lon, unit, type, lat\n Sensor: rainfall | fields: lat, depth, value, ts\nTask: Fetch lat from drought_index where reading is greater than the total of value in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009211", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, type, unit, lon\n Sensor: humidity | fields: depth, ts, qc, level\nTask: Fetch lon from cloud_cover where reading is greater than the minimum of depth in humidity for matching unit.\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(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009212", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: qc, type, level, depth\n Sensor: humidity | fields: unit, level, lat, type\nTask: Retrieve level from drought_index whose unit is found in humidity records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "humidity", "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_fixed_v1_val_009213", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, depth, value, lat\n Sensor: uv_index | fields: depth, lat, type, lon\nTask: Fetch lat from pressure that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\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": "hub", "inner_alias": "flx", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009214", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: type, level, unit, lon\n Sensor: frost | fields: lat, value, level, type\nTask: Fetch depth from lightning where depth exists in frost sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "depth", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009215", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, reading, value, unit\n Sensor: visibility | fields: level, type, unit, value\nTask: Get value from dew_point where a corresponding entry exists in visibility with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009216", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: ts, level, lat, reading\n Sensor: cloud_cover | fields: value, type, unit, level\nTask: Retrieve reading from snow_depth with value above the AVG(value) of cloud_cover readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009217", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, depth, ts, reading\n Sensor: air_quality | fields: reading, ts, qc, value\nTask: Retrieve lat from pressure whose ts is found in air_quality records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lat", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009218", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, level, lon, depth\n Sensor: sunlight | fields: reading, depth, qc, ts\nTask: Fetch lon from temperature where ts exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009219", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: gst | fields: depth, unit, ts, lat\n Sensor: pressure | fields: qc, depth, lon, level\nTask: Fetch reading from sunlight that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009220", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: lon, level, depth, ts\n Sensor: pressure | fields: depth, reading, unit, lat\nTask: Retrieve lat from rainfall that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009221", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: reading, level, qc, lat\n Sensor: lightning | fields: level, type, depth, reading\nTask: Fetch depth from wind_speed that have at least one corresponding lightning measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009222", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: value, depth, level, ts\n Sensor: snow_depth | fields: unit, level, ts, lat\nTask: Retrieve level from sunlight with depth above the MAX(value) of snow_depth readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009223", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: lat, value, unit, level\n Sensor: turbidity | fields: qc, unit, lat, lon\nTask: Get depth from uv_index where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009224", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: level, ts, unit, value\n Sensor: snow_depth | fields: qc, value, depth, lat\nTask: Fetch reading from rainfall where type exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009225", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: lat, level, ts, unit\n Sensor: uv_index | fields: level, ts, depth, qc\nTask: Fetch lat from temperature where reading is greater than the count of of reading in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009226", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: value, lon, lat, unit\n Sensor: lightning | fields: ts, unit, depth, type\nTask: Retrieve reading from frost with value above the SUM(reading) of lightning readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009227", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lat, reading, depth, lon\n Sensor: dew_point | fields: value, lat, qc, depth\nTask: Get reading from sunlight where qc appears in dew_point readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009228", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, ts, reading, unit\n Sensor: frost | fields: lon, qc, ts, unit\nTask: Retrieve reading from wind_speed whose qc is found in frost records where ts 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(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009229", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: value, lon, level, ts\n Sensor: snow_depth | fields: reading, lat, lon, qc\nTask: Fetch lon from visibility where reading is greater than the total of reading in snow_depth for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009230", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, depth, ts, lat\n Sensor: cloud_cover | fields: unit, level, lat, qc\nTask: Retrieve level from uv_index whose type is found in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "level", "filter_col": "type", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009231", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: reading, qc, lat, ts\n Sensor: lightning | fields: type, value, ts, level\nTask: Get lon from soil_moisture where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lon", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009232", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, depth, lat, reading\n Sensor: turbidity | fields: level, type, qc, lat\nTask: Retrieve level from lightning with value above the COUNT(depth) of turbidity readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009233", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: unit, type, level, qc\n Sensor: wind_speed | fields: level, reading, unit, value\nTask: Retrieve depth from sunlight that have at least one matching reading in wind_speed sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009234", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: reading, lat, lon, unit\n Sensor: cloud_cover | fields: type, level, ts, reading\nTask: Fetch depth from sunlight that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "depth", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009235", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: lon, level, reading, qc\n Sensor: visibility | fields: reading, lon, unit, type\nTask: Retrieve lat from temperature whose ts is found in visibility records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "visibility", "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_fixed_v1_val_009236", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, lat, lon, qc\n Sensor: snow_depth | fields: ts, value, level, unit\nTask: Get lon from lightning where depth exceeds the minimum value from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009237", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lat, type, unit, ts\n Sensor: lightning | fields: unit, depth, lat, level\nTask: Retrieve lon from wind_speed with reading above the MAX(reading) of lightning readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009238", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: ts, depth, type, qc\n Sensor: sunlight | fields: level, depth, ts, lat\nTask: Fetch lat from visibility where value is greater than the average of depth in sunlight for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009239", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: type, level, lon, qc\n Sensor: drought_index | fields: reading, qc, depth, level\nTask: Get lon from sunlight where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009240", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: ts, lat, type, level\n Sensor: uv_index | fields: ts, lat, unit, reading\nTask: Fetch value from lightning where depth is greater than the count of of depth in uv_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009241", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: gst | fields: lon, value, reading, qc\n Sensor: lightning | fields: lon, type, reading, unit\nTask: Get reading from frost where unit appears in lightning readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "unit", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009242", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: level, value, ts, qc\n Sensor: frost | fields: qc, lat, reading, type\nTask: Get lon from uv_index where qc appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lon", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009243", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: value, qc, unit, lat\n Sensor: lightning | fields: qc, reading, lat, lon\nTask: Fetch lat from cloud_cover where reading is greater than the maximum of value in lightning for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009244", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: lat, value, qc, level\n Sensor: rainfall | fields: level, ts, reading, lat\nTask: Retrieve depth from turbidity that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009245", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: value, type, lat, ts\n Sensor: dew_point | fields: type, lat, level, reading\nTask: Fetch depth from temperature where depth exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009246", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: unit, value, type, lon\n Sensor: humidity | fields: type, unit, lon, lat\nTask: Get lat from soil_moisture where qc appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009247", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: ts, lon, reading, unit\n Sensor: cloud_cover | fields: level, depth, qc, lat\nTask: Get level from temperature where ts appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009248", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lon, level, type, qc\n Sensor: drought_index | fields: depth, level, unit, reading\nTask: Retrieve depth 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=\"ref\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009249", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: qc, type, lon, lat\n Sensor: cloud_cover | fields: ts, qc, value, reading\nTask: Retrieve lon from visibility that have at least one matching reading in cloud_cover sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009250", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, qc, value, lat\n Sensor: cloud_cover | fields: reading, value, depth, qc\nTask: Retrieve lat from snow_depth with reading above the AVG(depth) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009251", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: level, reading, lon, value\n Sensor: visibility | fields: lon, lat, unit, reading\nTask: Fetch lon from rainfall where value is greater than the maximum of depth in visibility for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009252", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: ts, qc, level, reading\n Sensor: sunlight | fields: lat, reading, unit, value\nTask: Get reading from air_quality where reading exceeds the average reading from sunlight for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009253", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: depth, qc, ts, level\n Sensor: evaporation | fields: ts, depth, level, qc\nTask: Retrieve lat from frost with reading above the COUNT(reading) of evaporation 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\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009254", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: unit, lat, qc, value\n Sensor: rainfall | fields: lat, value, depth, reading\nTask: Retrieve reading from snow_depth with depth above the MAX(depth) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009255", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: ts, value, lat, depth\n Sensor: visibility | fields: qc, depth, type, reading\nTask: Retrieve lon from humidity whose unit 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=\"unit\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009256", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: type, ts, level, unit\n Sensor: humidity | fields: reading, unit, level, depth\nTask: Get depth from visibility where a corresponding entry exists in humidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009257", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, qc, unit, lat\n Sensor: temperature | fields: reading, level, lon, value\nTask: Fetch reading from air_quality where qc exists in temperature sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009258", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: ts, depth, qc, reading\n Sensor: snow_depth | fields: ts, type, value, reading\nTask: Get depth from temperature where reading exceeds the average depth from snow_depth for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009259", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, type, qc, lon\n Sensor: snow_depth | fields: reading, qc, lat, value\nTask: Fetch depth from pressure where qc exists in snow_depth sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009260", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: level, lon, lat, type\n Sensor: visibility | fields: ts, unit, qc, level\nTask: Retrieve value from humidity with value above the MIN(depth) of visibility readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009261", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: ts, lon, level, depth\n Sensor: sunlight | fields: reading, unit, value, qc\nTask: Get depth from uv_index where qc appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009262", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: unit, level, value, depth\n Sensor: frost | fields: depth, unit, ts, reading\nTask: Retrieve lon from sunlight whose unit is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009263", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: level, lon, reading, value\n Sensor: uv_index | fields: reading, lon, ts, level\nTask: Retrieve lat from temperature with depth above the MAX(depth) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009264", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: reading, type, value, qc\n Sensor: pressure | fields: level, lat, qc, ts\nTask: Get value from dew_point where qc appears in pressure readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009265", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lon, lat, unit, depth\n Sensor: evaporation | fields: lon, reading, level, qc\nTask: Retrieve lon from frost with reading above the SUM(reading) of evaporation readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009266", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lat, lon, level, depth\n Sensor: visibility | fields: ts, depth, level, value\nTask: Get value from pressure where depth appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009267", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lat, unit, depth, reading\n Sensor: cloud_cover | fields: depth, type, level, reading\nTask: Retrieve value from uv_index with value above the MAX(depth) of cloud_cover readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009268", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: lat, ts, level, qc\n Sensor: rainfall | fields: ts, lon, value, level\nTask: Get level from pressure where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009269", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: level, type, ts, lat\n Sensor: cloud_cover | fields: ts, lat, lon, depth\nTask: Retrieve lat from uv_index whose qc is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009270", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, depth, lat, qc\n Sensor: wind_speed | fields: value, depth, qc, type\nTask: Retrieve reading from frost with depth above the MIN(value) of wind_speed readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009271", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: level, depth, reading, value\n Sensor: turbidity | fields: ts, qc, value, depth\nTask: Fetch depth from drought_index where qc exists in turbidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009272", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: reading, lon, unit, value\n Sensor: pressure | fields: qc, unit, depth, ts\nTask: Retrieve reading from rainfall with reading above the MAX(reading) 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\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009273", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: type, lat, level, ts\n Sensor: pressure | fields: reading, type, lon, unit\nTask: Get reading from uv_index where value exceeds the maximum depth from pressure for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009274", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: qc, lon, value, reading\n Sensor: humidity | fields: depth, unit, type, ts\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=\"ref\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "ref", "inner_alias": "hgr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009275", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lon, depth, ts, qc\n Sensor: pressure | fields: lon, qc, reading, type\nTask: Fetch level from evaporation that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009276", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: lat, lon, level, value\n Sensor: visibility | fields: level, unit, value, lon\nTask: Retrieve lat from turbidity that have at least one matching reading in visibility sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009277", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: lat, ts, lon, level\n Sensor: dew_point | fields: lat, ts, lon, value\nTask: Fetch reading from lightning where unit exists in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009278", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, value, lat, level\n Sensor: air_quality | fields: type, unit, depth, qc\nTask: Retrieve lon from humidity with depth above the MAX(reading) of air_quality readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009279", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: level, type, reading, ts\n Sensor: pressure | fields: type, unit, ts, reading\nTask: Retrieve lat from air_quality with value above the MAX(depth) of pressure readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009280", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: qc, unit, value, depth\n Sensor: temperature | fields: value, depth, level, qc\nTask: Retrieve lat from cloud_cover that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009281", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, type, depth, reading\n Sensor: drought_index | fields: type, qc, reading, depth\nTask: Get reading from lightning where a corresponding entry exists in drought_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009282", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: lon, lat, qc, level\n Sensor: frost | fields: value, reading, lat, lon\nTask: Retrieve level from pressure that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "level", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009283", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, unit, value, ts\n Sensor: turbidity | fields: type, ts, unit, value\nTask: Fetch depth from drought_index where value is greater than the count of of depth in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009284", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: type, value, reading, level\n Sensor: pressure | fields: ts, value, lat, qc\nTask: Fetch depth from temperature where reading is greater than the maximum of reading in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009285", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: value, qc, ts, type\n Sensor: dew_point | fields: value, lon, level, lat\nTask: Fetch depth from pressure that have at least one corresponding dew_point measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009286", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: depth, value, qc, ts\n Sensor: visibility | fields: type, lon, lat, unit\nTask: Fetch depth from drought_index where depth exists in visibility sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009287", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: qc, reading, type, unit\n Sensor: pressure | fields: reading, value, level, unit\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=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009288", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: value, lon, lat, depth\n Sensor: wind_speed | fields: type, level, unit, depth\nTask: Retrieve reading from evaporation whose qc is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009289", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: value, type, reading, lon\n Sensor: sunlight | fields: lon, unit, ts, reading\nTask: Get value from turbidity where unit appears in sunlight readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "value", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009290", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: qc, value, level, depth\n Sensor: drought_index | fields: lon, value, level, ts\nTask: Retrieve depth from rainfall whose ts is found in drought_index records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\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": "rainfall", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009291", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, level, reading, ts\n Sensor: soil_moisture | fields: ts, value, lon, lat\nTask: Retrieve depth from dew_point that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009292", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: reading, type, unit, qc\n Sensor: turbidity | fields: level, qc, type, unit\nTask: Get value from frost where unit appears in turbidity readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009293", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: level, lon, lat, qc\n Sensor: dew_point | fields: reading, lon, level, ts\nTask: Retrieve depth from snow_depth that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009294", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: level, value, qc, lon\n Sensor: temperature | fields: depth, qc, lon, value\nTask: Fetch depth from visibility that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "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_fixed_v1_val_009295", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: lon, level, ts, qc\n Sensor: frost | fields: lat, reading, unit, depth\nTask: Get level from humidity where unit appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009296", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: unit, type, value, reading\n Sensor: rainfall | fields: lat, qc, depth, value\nTask: Fetch reading from temperature where value is greater than the total of depth in rainfall for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009297", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: depth, lon, value, lat\n Sensor: cloud_cover | fields: level, type, value, reading\nTask: Fetch level from rainfall where qc exists in cloud_cover 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(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009298", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: ts, value, reading, type\n Sensor: humidity | fields: qc, ts, value, level\nTask: Retrieve reading from wind_speed whose depth is found in humidity records where type 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(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "depth", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009299", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: ts, lat, level, lon\n Sensor: wind_speed | fields: level, lat, type, lon\nTask: Get depth from air_quality where ts appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "depth", "filter_col": "ts", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009300", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: reading, value, level, ts\n Sensor: cloud_cover | fields: ts, lon, reading, lat\nTask: Get lat from frost where reading exceeds the count of reading from cloud_cover for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009301", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: lon, lat, ts, value\n Sensor: pressure | fields: reading, level, value, lat\nTask: Fetch reading from drought_index where ts exists in pressure sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009302", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: value, ts, level, depth\n Sensor: dew_point | fields: value, level, reading, ts\nTask: Get level from frost where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009303", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: level, type, unit, depth\n Sensor: sunlight | fields: unit, type, depth, ts\nTask: Fetch depth from drought_index where unit exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009304", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, type, reading, level\n Sensor: soil_moisture | fields: value, qc, lon, level\nTask: Get lon from pressure where depth appears in soil_moisture readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009305", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, lat, level, qc\n Sensor: evaporation | fields: qc, reading, value, level\nTask: Fetch reading from temperature where value is greater than the minimum of value in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009306", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: type, lat, unit, lon\n Sensor: wind_speed | fields: type, ts, qc, depth\nTask: Get value from frost where type appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "filter_col": "type", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009307", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: qc, level, depth, lon\n Sensor: evaporation | fields: ts, lon, type, reading\nTask: Fetch level from wind_speed that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "level", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009308", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, unit, depth, lat\n Sensor: pressure | fields: level, unit, ts, depth\nTask: Retrieve lon from sunlight with value above the AVG(value) of pressure readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "value", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009309", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: unit, depth, lat, ts\n Sensor: drought_index | fields: type, ts, depth, lat\nTask: Fetch depth from rainfall where value is greater than the minimum of value in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009310", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: level, depth, lat, unit\n Sensor: turbidity | fields: qc, lat, lon, level\nTask: Fetch lon from air_quality where type exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009311", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: ts, reading, qc, level\n Sensor: lightning | fields: unit, lat, qc, value\nTask: Fetch depth from cloud_cover where depth is greater than the minimum of depth in lightning for matching depth.\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(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009312", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, lat, type, value\n Sensor: humidity | fields: unit, depth, qc, lat\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=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009313", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: depth, lat, ts, type\n Sensor: snow_depth | fields: reading, depth, unit, lat\nTask: Get lat from temperature where a corresponding entry exists in snow_depth with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "lat", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009314", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: reading, ts, lon, qc\n Sensor: drought_index | fields: ts, unit, lat, lon\nTask: Fetch reading from humidity where depth is greater than the average of depth in drought_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009315", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: qc, ts, value, level\n Sensor: sunlight | fields: type, lon, reading, depth\nTask: Retrieve lon from turbidity with reading above the AVG(reading) of sunlight 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\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009316", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: type, level, depth, qc\n Sensor: visibility | fields: reading, value, unit, ts\nTask: Fetch level from evaporation where value is greater than the maximum of value in visibility for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009317", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, reading, qc, value\n Sensor: humidity | fields: depth, reading, level, ts\nTask: Get lon 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=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009318", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: mst | fields: ts, value, reading, type\n Sensor: sunlight | fields: ts, lon, depth, type\nTask: Get depth from air_quality where type appears in sunlight readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "filter_col": "type", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009319", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: reading, level, qc, lat\n Sensor: snow_depth | fields: depth, value, unit, type\nTask: Fetch level from air_quality that have at least one corresponding snow_depth measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009320", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: depth, qc, unit, level\n Sensor: snow_depth | fields: qc, type, lon, unit\nTask: Retrieve depth 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=\"gst\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "depth", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009321", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: value, type, unit, level\n Sensor: air_quality | fields: depth, lat, value, qc\nTask: Get lat from drought_index where depth appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009322", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: level, unit, type, value\n Sensor: uv_index | fields: level, depth, unit, qc\nTask: Get level from evaporation where depth exceeds the minimum value from uv_index for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009323", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: reading, qc, value, level\n Sensor: drought_index | fields: value, level, type, depth\nTask: Fetch depth from snow_depth where value is greater than the average of value in drought_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "drought_index", "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_fixed_v1_val_009324", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: qc, lon, ts, level\n Sensor: wind_speed | fields: qc, reading, level, ts\nTask: Fetch lon from air_quality where depth is greater than the average of value in wind_speed for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "depth", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009325", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: lat, ts, type, qc\n Sensor: sunlight | fields: depth, lon, type, level\nTask: Fetch value from cloud_cover that have at least one corresponding sunlight measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009326", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: lat, lon, qc, value\n Sensor: visibility | fields: qc, level, value, ts\nTask: Retrieve level from soil_moisture whose ts is found in visibility records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009327", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: prt | fields: lon, ts, unit, lat\n Sensor: turbidity | fields: ts, value, lon, qc\nTask: Fetch level from temperature where unit exists in turbidity sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009328", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: type, unit, depth, reading\n Sensor: sunlight | fields: qc, value, type, ts\nTask: Retrieve lat from visibility whose ts 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=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009329", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: ts, lon, reading, depth\n Sensor: wind_speed | fields: value, type, lat, reading\nTask: Retrieve lat from pressure with reading above the AVG(value) of wind_speed readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009330", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: value, ts, unit, lon\n Sensor: cloud_cover | fields: lon, value, depth, unit\nTask: Get value from soil_moisture where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "hub", "inner_alias": "nbl", "proj_col": "value", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009331", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: lon, depth, level, qc\n Sensor: rainfall | fields: depth, reading, type, ts\nTask: Retrieve depth from temperature that have at least one matching reading in rainfall sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "depth", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009332", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: unit, lon, value, type\n Sensor: visibility | fields: reading, depth, type, lon\nTask: Get level from pressure where ts appears in visibility readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009333", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, lat, depth, lon\n Sensor: dew_point | fields: depth, qc, reading, unit\nTask: Get reading from drought_index where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009334", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: value, ts, unit, type\n Sensor: uv_index | fields: depth, ts, lat, type\nTask: Fetch level from turbidity where unit exists in uv_index 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(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009335", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: depth, level, qc, lat\n Sensor: rainfall | fields: lat, unit, reading, lon\nTask: Fetch lon from sunlight where reading is greater than the maximum of value in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009336", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: unit, ts, lon, depth\n Sensor: soil_moisture | fields: lat, value, reading, level\nTask: Get lat from humidity where a corresponding entry exists in soil_moisture with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009337", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: type, qc, lat, reading\n Sensor: visibility | fields: unit, value, level, type\nTask: Fetch level from dew_point where qc 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=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009338", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: type, level, value, depth\n Sensor: wind_speed | fields: qc, depth, level, value\nTask: Fetch level from sunlight where value is greater than the average of depth in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009339", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: level, lat, qc, type\n Sensor: pressure | fields: ts, lat, lon, level\nTask: Fetch value from visibility where value is greater than the count of of value in pressure for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009340", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: ts, lat, unit, level\n Sensor: evaporation | fields: ts, lon, unit, reading\nTask: Fetch level from soil_moisture where value is greater than the total of value in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "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_fixed_v1_val_009341", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: type, level, reading, lon\n Sensor: cloud_cover | fields: type, depth, value, lat\nTask: Fetch reading from turbidity that have at least one corresponding cloud_cover measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "cloud_cover", "outer_alias": "gst", "inner_alias": "nbl", "proj_col": "reading", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009342", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, lon, level, qc\n Sensor: visibility | fields: ts, lat, reading, lon\nTask: Retrieve depth from snow_depth that have at least one matching reading in visibility sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009343", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lat, lon, value, reading\n Sensor: cloud_cover | fields: reading, lat, value, ts\nTask: Retrieve lat from dew_point that have at least one matching reading in cloud_cover sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009344", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: qc, type, level, depth\n Sensor: uv_index | fields: unit, reading, value, lat\nTask: Get depth from rainfall where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009345", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: value, lat, qc, level\n Sensor: cloud_cover | fields: qc, depth, lon, unit\nTask: Fetch reading from lightning where depth exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "depth", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009346", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: depth, lat, unit, lon\n Sensor: air_quality | fields: unit, reading, type, qc\nTask: Get lon from dew_point where type appears in air_quality readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "type", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009347", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: reading, type, ts, lon\n Sensor: lightning | fields: lon, unit, qc, ts\nTask: Retrieve lat from turbidity whose depth is found in lightning records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009348", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, qc, unit, reading\n Sensor: rainfall | fields: level, lon, value, lat\nTask: Get value from visibility where type appears in rainfall readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009349", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: type, qc, unit, reading\n Sensor: soil_moisture | fields: ts, reading, value, level\nTask: Fetch depth from air_quality where depth exists in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009350", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, value, type, depth\n Sensor: pressure | fields: lon, ts, depth, type\nTask: Retrieve reading 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=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009351", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lon, qc, type, level\n Sensor: evaporation | fields: depth, type, lon, lat\nTask: Retrieve depth from humidity with value above the SUM(depth) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009352", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: clr | fields: unit, value, ts, qc\n Sensor: lightning | fields: depth, level, lon, lat\nTask: Get depth from cloud_cover where depth exceeds the total value from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009353", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: unit, lat, type, depth\n Sensor: humidity | fields: level, ts, type, depth\nTask: Fetch level from temperature that have at least one corresponding humidity measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009354", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: level, value, depth, lat\n Sensor: pressure | fields: lat, depth, unit, qc\nTask: Fetch reading from evaporation that have at least one corresponding pressure measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009355", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: depth, type, lon, qc\n Sensor: temperature | fields: lat, unit, value, depth\nTask: Retrieve depth from rainfall that have at least one matching reading in temperature sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009356", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: reading, lat, value, type\n Sensor: drought_index | fields: depth, unit, ts, level\nTask: Fetch reading from evaporation that have at least one corresponding drought_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009357", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: type, depth, lat, level\n Sensor: dew_point | fields: lon, qc, ts, level\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=\"cnd\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "level", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009358", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: ts, depth, reading, unit\n Sensor: lightning | fields: depth, ts, qc, reading\nTask: Fetch reading from pressure where reading is greater than the average of depth in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009359", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: value, lon, reading, qc\n Sensor: humidity | fields: unit, depth, lon, qc\nTask: Get value from cloud_cover where reading exceeds the minimum value from humidity for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "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_fixed_v1_val_009360", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, qc, ts, lon\n Sensor: uv_index | fields: ts, level, unit, value\nTask: Get reading from soil_moisture where ts appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "reading", "filter_col": "ts", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009361", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, type, level, lon\n Sensor: drought_index | fields: type, depth, reading, lon\nTask: Get reading from pressure where a corresponding entry exists in drought_index with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009362", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: clr | fields: lat, lon, ts, depth\n Sensor: soil_moisture | fields: value, type, ts, unit\nTask: Fetch reading from air_quality where reading is greater than the average of depth in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "reading", "agg_col": "depth", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009363", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: unit, depth, reading, lat\n Sensor: lightning | fields: lat, lon, value, reading\nTask: Retrieve lon from evaporation that have at least one matching reading in lightning sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009364", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: value, type, unit, ts\n Sensor: frost | fields: level, unit, value, depth\nTask: Fetch lat from uv_index where reading is greater than the maximum of reading in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009365", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: mst | fields: qc, ts, lat, lon\n Sensor: visibility | fields: unit, lat, depth, type\nTask: Get level from frost where ts appears in visibility readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009366", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: reading, lat, depth, value\n Sensor: soil_moisture | fields: qc, reading, value, lat\nTask: Get level from drought_index where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009367", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: lon, reading, ts, depth\n Sensor: humidity | fields: depth, lat, type, reading\nTask: Get depth from frost where a corresponding entry exists in humidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009368", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: type, unit, ts, lat\n Sensor: evaporation | fields: reading, lon, value, type\nTask: Retrieve level from soil_moisture whose type is found in evaporation records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "level", "filter_col": "type", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009369", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, lon, unit, reading\n Sensor: cloud_cover | fields: qc, lat, ts, unit\nTask: Retrieve lat from uv_index whose qc is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009370", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: unit, type, ts, reading\n Sensor: humidity | fields: ts, lon, unit, value\nTask: Retrieve depth from turbidity whose type is found in humidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009371", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: level, qc, type, ts\n Sensor: soil_moisture | fields: value, level, reading, lon\nTask: Get value from drought_index where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009372", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: qc, depth, level, reading\n Sensor: rainfall | fields: lat, ts, unit, level\nTask: Retrieve reading from drought_index with value above the AVG(depth) of rainfall 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(\"AVG\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009373", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: ts, unit, level, value\n Sensor: visibility | fields: level, value, lat, qc\nTask: Fetch reading from pressure where depth is greater than the count of of value in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009374", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: lat, qc, unit, ts\n Sensor: air_quality | fields: type, level, qc, value\nTask: Fetch lat from drought_index that have at least one corresponding air_quality measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009375", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lat, unit, type, reading\n Sensor: wind_speed | fields: qc, ts, value, depth\nTask: Fetch depth from turbidity where depth exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "depth", "filter_col": "depth", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009376", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: unit, qc, ts, level\n Sensor: soil_moisture | fields: depth, ts, level, unit\nTask: Get value from dew_point where a corresponding entry exists in soil_moisture with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009377", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: type, depth, unit, qc\n Sensor: evaporation | fields: reading, type, level, value\nTask: Fetch reading from visibility where value is greater than the minimum of value in evaporation for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009378", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: type, unit, value, depth\n Sensor: lightning | fields: ts, lon, depth, level\nTask: Fetch value from turbidity where reading is greater than the average of depth in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "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_fixed_v1_val_009379", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: lat, level, unit, reading\n Sensor: dew_point | fields: depth, qc, level, ts\nTask: Retrieve depth from wind_speed with value above the COUNT(value) of dew_point readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009380", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: ts, qc, lat, level\n Sensor: pressure | fields: qc, value, ts, depth\nTask: Retrieve reading from evaporation that have at least one matching reading in pressure sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009381", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, type, level, value\n Sensor: humidity | fields: ts, level, lon, value\nTask: Fetch lon from turbidity where reading is greater than the total of value in humidity for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009382", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: reading, depth, ts, lat\n Sensor: snow_depth | fields: unit, lat, reading, type\nTask: Get value from pressure where depth appears in snow_depth readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009383", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: lon, reading, depth, ts\n Sensor: pressure | fields: type, reading, depth, level\nTask: Get level from visibility where depth exceeds the maximum value from pressure for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009384", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: lon, unit, reading, value\n Sensor: wind_speed | fields: depth, lat, qc, reading\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=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009385", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: qc, depth, unit, reading\n Sensor: air_quality | fields: unit, reading, qc, lat\nTask: Fetch reading from snow_depth that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009386", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, ts, value, reading\n Sensor: soil_moisture | fields: level, depth, value, qc\nTask: Get value from snow_depth where a corresponding entry exists in soil_moisture with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "stn", "inner_alias": "grvl", "proj_col": "value", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009387", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: type, reading, level, depth\n Sensor: snow_depth | fields: qc, reading, lon, unit\nTask: Fetch depth from wind_speed that have at least one corresponding snow_depth measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "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_fixed_v1_val_009388", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: type, lat, ts, unit\n Sensor: frost | fields: qc, reading, lat, type\nTask: Retrieve lon from temperature that have at least one matching reading in frost sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009389", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: value, lon, ts, reading\n Sensor: turbidity | fields: qc, lon, ts, level\nTask: Fetch level 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=\"ftu\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "level", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009390", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, ts, depth, qc\n Sensor: air_quality | fields: depth, lon, level, type\nTask: Retrieve lon from uv_index that have at least one matching reading in air_quality sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "lon", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009391", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: qc, ts, lat, reading\n Sensor: air_quality | fields: ts, lat, depth, level\nTask: Retrieve level 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=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009392", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: level, lat, value, qc\n Sensor: sunlight | fields: level, ts, lat, lon\nTask: Fetch level from cloud_cover that have at least one corresponding sunlight measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009393", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: level, ts, depth, lat\n Sensor: visibility | fields: type, unit, lon, reading\nTask: Retrieve level from soil_moisture with value above the COUNT(value) of visibility readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009394", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: lat, type, value, qc\n Sensor: pressure | fields: value, type, lat, reading\nTask: Get reading from dew_point where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009395", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: ref | fields: level, ts, value, lon\n Sensor: pressure | fields: unit, lat, value, ts\nTask: Retrieve value from sunlight that have at least one matching reading in pressure sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "value", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009396", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: qc, reading, value, level\n Sensor: pressure | fields: type, value, qc, ts\nTask: Get reading from humidity where type appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "gst", "inner_alias": "mbl", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009397", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: lat, lon, unit, value\n Sensor: evaporation | fields: depth, unit, lon, qc\nTask: Retrieve lon from frost that have at least one matching reading in evaporation sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "hub", "inner_alias": "evp", "proj_col": "lon", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009398", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, level, lat, depth\n Sensor: evaporation | fields: depth, qc, type, unit\nTask: Fetch lat from temperature where reading is greater than the maximum of reading in evaporation for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009399", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: unit, type, depth, value\n Sensor: cloud_cover | fields: lon, reading, ts, type\nTask: Fetch depth from drought_index where depth exists in cloud_cover sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"stn\"),\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": "drought_index", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009400", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: lat, value, type, ts\n Sensor: drought_index | fields: level, lon, ts, value\nTask: Get level from humidity where a corresponding entry exists in drought_index with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "level", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009401", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: level, value, reading, qc\n Sensor: uv_index | fields: value, unit, lon, lat\nTask: Get depth from turbidity where ts appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009402", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: level, unit, ts, lat\n Sensor: sunlight | fields: unit, reading, level, value\nTask: Get reading from pressure where a corresponding entry exists in sunlight with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009403", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: mst | fields: reading, lon, unit, qc\n Sensor: lightning | fields: value, ts, level, unit\nTask: Retrieve lon from humidity with value above the MIN(depth) of lightning readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009404", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: lat, qc, ts, type\n Sensor: snow_depth | fields: value, level, ts, depth\nTask: Get lon from drought_index where reading exceeds the total value from snow_depth for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009405", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lat, unit, type, ts\n Sensor: visibility | fields: ts, value, qc, type\nTask: Retrieve value from wind_speed with value above the MAX(depth) of visibility readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009406", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: level, depth, value, reading\n Sensor: snow_depth | fields: type, lat, qc, ts\nTask: Retrieve reading from drought_index whose unit is found in snow_depth records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "reading", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009407", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, reading, value, lon\n Sensor: sunlight | fields: unit, level, depth, reading\nTask: Retrieve lon from lightning with reading above the MIN(reading) of sunlight readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "lon", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009408", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: ts, level, unit, depth\n Sensor: sunlight | fields: ts, level, type, lon\nTask: Get depth from lightning where value exceeds the minimum reading from sunlight for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009409", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: clr | fields: ts, qc, lat, level\n Sensor: snow_depth | fields: lon, ts, reading, level\nTask: Fetch depth from turbidity where qc exists in snow_depth sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "depth", "filter_col": "qc", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009410", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: depth, level, lat, ts\n Sensor: drought_index | fields: value, reading, qc, lon\nTask: Retrieve value from turbidity with value above the SUM(depth) of drought_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009411", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: lon, value, lat, unit\n Sensor: evaporation | fields: depth, level, lon, lat\nTask: Retrieve value 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=\"evp\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "value", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009412", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: qc, ts, depth, lat\n Sensor: drought_index | fields: lat, unit, depth, lon\nTask: Get reading from evaporation where a corresponding entry exists in drought_index with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "drought_index", "outer_alias": "prt", "inner_alias": "drt", "proj_col": "reading", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009413", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: clr | fields: level, qc, ts, type\n Sensor: pressure | fields: type, depth, level, qc\nTask: Get lat from drought_index where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "pressure", "outer_alias": "clr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009414", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: ts, qc, unit, type\n Sensor: air_quality | fields: depth, level, lon, unit\nTask: Fetch depth from frost where ts exists in air_quality 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(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009415", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: ts, lon, qc, level\n Sensor: lightning | fields: reading, depth, unit, type\nTask: Retrieve level from snow_depth whose ts is found in lightning records where qc 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(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009416", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: ts, lon, reading, value\n Sensor: drought_index | fields: lat, type, qc, unit\nTask: Retrieve lon from turbidity whose ts is found in drought_index 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(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009417", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: depth, lat, ts, value\n Sensor: snow_depth | fields: qc, reading, lon, unit\nTask: Retrieve level from dew_point that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\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": "hub", "inner_alias": "snw", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009418", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: type, lon, level, reading\n Sensor: turbidity | fields: reading, level, unit, ts\nTask: Fetch value from soil_moisture where unit exists in turbidity sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009419", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, lon, ts, qc\n Sensor: snow_depth | fields: lon, level, value, reading\nTask: Get reading from sunlight where ts appears in snow_depth readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009420", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: ts, level, value, lon\n Sensor: drought_index | fields: lon, lat, unit, reading\nTask: Fetch value from wind_speed where unit exists in drought_index sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "drought_index", "outer_alias": "mst", "inner_alias": "drt", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009421", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: reading, unit, lon, depth\n Sensor: drought_index | fields: value, ts, lon, depth\nTask: Get level from cloud_cover where depth exceeds the average depth from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "ref", "inner_alias": "drt", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009422", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: level, lon, lat, qc\n Sensor: evaporation | fields: reading, qc, depth, lon\nTask: Get depth from sunlight where a corresponding entry exists in evaporation with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009423", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: value, level, ts, reading\n Sensor: evaporation | fields: value, qc, depth, lat\nTask: Retrieve lon from air_quality that have at least one matching reading in evaporation sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009424", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lon, level, reading, type\n Sensor: humidity | fields: value, qc, lat, reading\nTask: Get reading from turbidity where qc appears in humidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "qc", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009425", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: lat, ts, type, level\n Sensor: temperature | fields: lon, value, reading, unit\nTask: Get level from sunlight where a corresponding entry exists in temperature with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "level", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009426", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: unit, type, level, lat\n Sensor: snow_depth | fields: depth, lat, ts, unit\nTask: Fetch depth from drought_index where qc exists in snow_depth sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009427", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: mst | fields: reading, ts, level, value\n Sensor: evaporation | fields: lon, ts, unit, type\nTask: Fetch value from temperature that have at least one corresponding evaporation measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "value", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009428", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: reading, type, lat, unit\n Sensor: turbidity | fields: level, ts, value, unit\nTask: Retrieve depth from evaporation whose unit is found in turbidity records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009429", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: ts, qc, level, unit\n Sensor: pressure | fields: level, reading, qc, unit\nTask: Get level from turbidity where depth appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "pressure", "outer_alias": "prt", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009430", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: clr | fields: lon, value, unit, reading\n Sensor: temperature | fields: level, reading, unit, qc\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=\"thr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "clr", "inner_alias": "thr", "proj_col": "value", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009431", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lon, level, ts, reading\n Sensor: pressure | fields: ts, value, unit, level\nTask: Retrieve lon from visibility that have at least one matching reading in pressure sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009432", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: unit, lat, lon, type\n Sensor: cloud_cover | fields: qc, lon, reading, depth\nTask: Fetch level from frost where unit exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "unit", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009433", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: qc, level, depth, type\n Sensor: rainfall | fields: value, lon, ts, qc\nTask: Retrieve level from soil_moisture that have at least one matching reading in rainfall sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009434", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: depth, qc, value, reading\n Sensor: lightning | fields: value, depth, qc, level\nTask: Fetch lat from rainfall where value is greater than the maximum of value in lightning for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009435", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: lon, reading, unit, type\n Sensor: visibility | fields: lat, type, ts, reading\nTask: Get reading from sunlight where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "hub", "inner_alias": "clr", "proj_col": "reading", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009436", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: level, reading, value, ts\n Sensor: frost | fields: unit, ts, level, reading\nTask: Fetch reading from drought_index that have at least one corresponding frost measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "reading", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009437", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: lon, value, type, ts\n Sensor: uv_index | fields: lat, depth, type, level\nTask: Get lon from turbidity where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009438", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: value, reading, type, qc\n Sensor: cloud_cover | fields: depth, unit, lon, value\nTask: Fetch depth from soil_moisture where unit exists in cloud_cover sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009439", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: lon, depth, lat, ts\n Sensor: dew_point | fields: value, reading, ts, type\nTask: Retrieve lat 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=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "unit", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009440", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: unit, level, qc, lat\n Sensor: temperature | fields: unit, qc, depth, lon\nTask: Get lat from rainfall where unit appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009441", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: level, value, unit, ts\n Sensor: cloud_cover | fields: level, depth, unit, reading\nTask: Get lat from lightning where value exceeds the total depth from cloud_cover for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "cloud_cover", "outer_alias": "clr", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009442", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: qc, reading, ts, level\n Sensor: snow_depth | fields: unit, reading, value, qc\nTask: Fetch level from lightning where depth is greater than the minimum of value in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009443", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: unit, type, lon, qc\n Sensor: dew_point | fields: depth, value, qc, lon\nTask: Get value from visibility where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009444", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, depth, qc, lon\n Sensor: evaporation | fields: type, depth, value, lat\nTask: Get level from wind_speed where value exceeds the minimum reading from evaporation 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\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "level", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009445", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: lon, unit, level, lat\n Sensor: pressure | fields: ts, depth, level, type\nTask: Retrieve lat 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=\"thr\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lat", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009446", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, lon, depth, ts\n Sensor: turbidity | fields: lat, unit, level, qc\nTask: Fetch level from visibility where value is greater than the count of of depth in turbidity for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009447", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: lat, depth, type, value\n Sensor: visibility | fields: unit, lat, ts, lon\nTask: Fetch depth from humidity where reading is greater than the count of of depth in visibility for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009448", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, ts, value, qc\n Sensor: wind_speed | fields: level, lon, qc, reading\nTask: Get value from evaporation where value exceeds the count of reading from wind_speed for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009449", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, ts, lon, type\n Sensor: humidity | fields: unit, lon, qc, value\nTask: Get level 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=\"hgr\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009450", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: unit, qc, ts, type\n Sensor: uv_index | fields: reading, unit, lat, type\nTask: Get lat from frost where depth appears in uv_index readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009451", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: depth, type, value, unit\n Sensor: cloud_cover | fields: unit, ts, depth, reading\nTask: Fetch lon from evaporation where depth exists in cloud_cover sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009452", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, type, unit, qc\n Sensor: rainfall | fields: type, reading, qc, unit\nTask: Get lat from snow_depth where value exceeds the total depth from rainfall for the same 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(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "thr", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009453", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: unit, value, ts, depth\n Sensor: air_quality | fields: lon, type, qc, value\nTask: Fetch level from drought_index where qc exists in air_quality sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "level", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009454", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: value, reading, lon, level\n Sensor: sunlight | fields: reading, qc, type, level\nTask: Retrieve value 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=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009455", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: lat, unit, lon, value\n Sensor: pressure | fields: ts, lon, depth, reading\nTask: Get reading from air_quality where a corresponding entry exists in pressure with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009456", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: unit, lon, lat, level\n Sensor: dew_point | fields: depth, value, reading, type\nTask: Retrieve level from lightning whose qc is found in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "clr", "inner_alias": "cnd", "proj_col": "level", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009457", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: depth, qc, reading, lat\n Sensor: snow_depth | fields: ts, unit, qc, depth\nTask: Fetch lon from air_quality where qc exists in snow_depth sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009458", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: value, lat, level, lon\n Sensor: frost | fields: depth, type, unit, reading\nTask: Get level from snow_depth where depth exceeds the average depth from frost for the same 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(\"frost\", code=\"frs\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009459", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: reading, ts, depth, lat\n Sensor: air_quality | fields: lon, unit, ts, value\nTask: Get lon from cloud_cover where reading exceeds the maximum value from air_quality for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009460", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: level, depth, qc, ts\n Sensor: wind_speed | fields: level, lat, qc, depth\nTask: Fetch lat from rainfall where qc exists in wind_speed sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "wind_speed", "outer_alias": "thr", "inner_alias": "gst", "proj_col": "lat", "filter_col": "qc", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009461", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: qc, lon, level, reading\n Sensor: dew_point | fields: ts, reading, type, lon\nTask: Get level from pressure where depth exceeds the minimum value from dew_point for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "mst", "inner_alias": "cnd", "proj_col": "level", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009462", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: depth, qc, level, value\n Sensor: evaporation | fields: level, type, ts, lat\nTask: Retrieve reading 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=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "reading", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009463", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: lon, qc, level, ts\n Sensor: turbidity | fields: reading, lat, depth, type\nTask: Fetch depth from wind_speed where reading is greater than the total of reading 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\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009464", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: thr | fields: ts, reading, unit, value\n Sensor: air_quality | fields: qc, type, ts, value\nTask: Get reading from rainfall where value exceeds the total depth from air_quality for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009465", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: lon, depth, lat, value\n Sensor: evaporation | fields: lat, depth, reading, qc\nTask: Retrieve lat 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=\"gst\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "lat", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009466", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: depth, lon, value, lat\n Sensor: drought_index | fields: reading, lon, level, value\nTask: Fetch level from cloud_cover where unit exists in drought_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009467", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: ts, unit, lon, type\n Sensor: soil_moisture | fields: lat, reading, value, depth\nTask: Fetch lon from uv_index that have at least one corresponding soil_moisture measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009468", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: lat, reading, depth, type\n Sensor: soil_moisture | fields: qc, lon, reading, type\nTask: Get reading from temperature where value exceeds the count of depth from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009469", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: unit, level, ts, lon\n Sensor: lightning | fields: value, type, lon, depth\nTask: Fetch lat from air_quality where reading is greater than the average of depth in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "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_fixed_v1_val_009470", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: depth, value, lon, qc\n Sensor: humidity | fields: lon, type, depth, ts\nTask: Get reading from dew_point where ts appears in humidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009471", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: qc, level, type, depth\n Sensor: rainfall | fields: reading, value, depth, qc\nTask: Retrieve level from humidity with reading above the MAX(depth) of rainfall readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009472", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: depth, unit, lat, reading\n Sensor: frost | fields: ts, type, lon, value\nTask: Retrieve lat from humidity that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lat", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009473", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: lon, ts, level, unit\n Sensor: air_quality | fields: reading, depth, value, lat\nTask: Fetch lon from dew_point where unit exists in air_quality sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "air_quality", "outer_alias": "ref", "inner_alias": "prt", "proj_col": "lon", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009474", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: hub | fields: lon, reading, value, depth\n Sensor: wind_speed | fields: qc, ts, lon, type\nTask: Get lat from lightning where reading exceeds the minimum depth from wind_speed for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009475", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: type, value, lon, level\n Sensor: cloud_cover | fields: depth, lat, ts, value\nTask: Retrieve level from evaporation whose ts is found in cloud_cover records where qc 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=\"nbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009476", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: depth, unit, qc, level\n Sensor: evaporation | fields: qc, value, ts, reading\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=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "lon", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009477", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: lat, lon, depth, level\n Sensor: uv_index | fields: value, level, type, qc\nTask: Retrieve depth from snow_depth that have at least one matching reading in uv_index sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "depth", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009478", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: lon, depth, ts, lat\n Sensor: sunlight | fields: unit, qc, type, ts\nTask: Fetch value from drought_index where qc exists in sunlight sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "prt", "inner_alias": "brt", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009479", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: reading, lon, unit, ts\n Sensor: soil_moisture | fields: qc, ts, type, depth\nTask: Fetch value from turbidity where ts exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009480", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: ref | fields: depth, qc, ts, value\n Sensor: visibility | fields: qc, lon, depth, lat\nTask: Get depth from dew_point where a corresponding entry exists in visibility with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "depth", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009481", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: reading, depth, unit, type\n Sensor: humidity | fields: qc, level, unit, lon\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=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009482", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: level, unit, reading, value\n Sensor: temperature | fields: ts, level, depth, lat\nTask: Get level from snow_depth where unit appears in temperature readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009483", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: unit, value, qc, ts\n Sensor: soil_moisture | fields: depth, type, lat, unit\nTask: Fetch value from drought_index where depth exists in soil_moisture sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009484", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: level, ts, lat, type\n Sensor: snow_depth | fields: depth, lon, value, qc\nTask: Retrieve lon from soil_moisture that have at least one matching reading in snow_depth sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "lon", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009485", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: lon, level, reading, unit\n Sensor: temperature | fields: value, depth, unit, qc\nTask: Retrieve lon from lightning with value above the SUM(reading) of temperature readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009486", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: qc, value, type, unit\n Sensor: air_quality | fields: depth, type, lat, reading\nTask: Get reading from turbidity where a corresponding entry exists in air_quality with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "air_quality", "outer_alias": "mst", "inner_alias": "prt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009487", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: type, lat, reading, qc\n Sensor: turbidity | fields: value, type, depth, qc\nTask: Fetch depth from soil_moisture where value is greater than the minimum of depth in turbidity for matching unit.\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(\"turbidity\", code=\"ftu\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009488", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lat, type, depth, level\n Sensor: rainfall | fields: reading, lat, value, lon\nTask: Retrieve lon from soil_moisture that have at least one matching reading in rainfall sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009489", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: reading, value, depth, level\n Sensor: frost | fields: unit, reading, type, value\nTask: Retrieve level 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=\"frs\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "stn", "inner_alias": "frs", "proj_col": "level", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009490", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: unit, type, lon, ts\n Sensor: uv_index | fields: value, qc, depth, lon\nTask: Retrieve level from drought_index with value above the COUNT(depth) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "mst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009491", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: level, reading, lon, lat\n Sensor: soil_moisture | fields: level, unit, lat, value\nTask: Fetch lon from humidity that have at least one corresponding soil_moisture measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009492", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: lat, value, level, ts\n Sensor: pressure | fields: depth, level, ts, type\nTask: Fetch level from sunlight where unit exists in pressure sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009493", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: lon, qc, level, value\n Sensor: sunlight | fields: lon, depth, level, ts\nTask: Get value 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=\"brt\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009494", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: ts, depth, level, lat\n Sensor: turbidity | fields: lat, depth, ts, type\nTask: Get lat from pressure where qc appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009495", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: reading, unit, qc, type\n Sensor: rainfall | fields: reading, qc, type, depth\nTask: Get lat from visibility where a corresponding entry exists in rainfall with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009496", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: stn | fields: reading, lon, lat, qc\n Sensor: lightning | fields: value, unit, ts, reading\nTask: Retrieve lon from uv_index whose ts is found in lightning records where type 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(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009497", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: depth, value, lon, level\n Sensor: lightning | fields: type, lat, value, unit\nTask: Retrieve lat from rainfall whose type is found in lightning records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "type", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009498", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: qc, unit, depth, type\n Sensor: soil_moisture | fields: qc, type, value, lon\nTask: Retrieve value from cloud_cover that have at least one matching reading in soil_moisture sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "value", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009499", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: type, value, unit, depth\n Sensor: lightning | fields: depth, reading, lon, type\nTask: Get lon from temperature where depth appears in lightning readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009500", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: type, reading, qc, value\n Sensor: soil_moisture | fields: type, value, reading, ts\nTask: Retrieve lon from air_quality with value above the AVG(reading) of soil_moisture readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009501", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: unit, value, depth, qc\n Sensor: snow_depth | fields: reading, unit, level, lat\nTask: Get lon from temperature where ts appears in snow_depth readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "snow_depth", "outer_alias": "ref", "inner_alias": "snw", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009502", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: gst | fields: type, value, unit, lon\n Sensor: uv_index | fields: level, unit, depth, reading\nTask: Get lat from dew_point where depth exceeds the total depth from uv_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009503", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: unit, lat, qc, type\n Sensor: soil_moisture | fields: qc, reading, ts, type\nTask: Fetch depth from wind_speed where value is greater than the minimum of reading in soil_moisture for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009504", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, type, level, value\n Sensor: cloud_cover | fields: level, depth, type, reading\nTask: Get level from dew_point where a corresponding entry exists in cloud_cover with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009505", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lon, ts, lat, unit\n Sensor: dew_point | fields: ts, lat, lon, value\nTask: Get depth from frost where a corresponding entry exists in dew_point with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009506", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: value, lon, reading, type\n Sensor: cloud_cover | fields: lat, qc, lon, depth\nTask: Fetch value from snow_depth where value is greater than the maximum of value in cloud_cover for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "value", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009507", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: lon, level, value, unit\n Sensor: pressure | fields: unit, qc, reading, ts\nTask: Retrieve depth from frost that have at least one matching reading in pressure sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009508", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: value, type, depth, ts\n Sensor: frost | fields: level, lat, depth, unit\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=\"frs\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "level", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009509", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lat, lon, value, qc\n Sensor: uv_index | fields: type, value, qc, lon\nTask: Fetch reading from pressure that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009510", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: clr | fields: qc, ts, reading, lon\n Sensor: wind_speed | fields: lon, depth, value, unit\nTask: Fetch lon from frost where qc exists in wind_speed sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "lon", "filter_col": "qc", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009511", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: unit, depth, level, lon\n Sensor: frost | fields: value, reading, lat, depth\nTask: Retrieve reading from uv_index whose unit is found in frost records where unit 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(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009512", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: type, unit, lon, qc\n Sensor: frost | fields: level, ts, unit, type\nTask: Retrieve value from snow_depth whose unit is found in frost records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "thr", "inner_alias": "frs", "proj_col": "value", "filter_col": "unit", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009513", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: level, lon, qc, lat\n Sensor: drought_index | fields: lon, reading, value, lat\nTask: Fetch value from dew_point where value is greater than the minimum of reading in drought_index for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009514", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: depth, type, unit, lon\n Sensor: humidity | fields: lat, qc, depth, unit\nTask: Get lat from visibility where value exceeds the count of depth from humidity for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "value", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009515", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: hub | fields: qc, type, value, depth\n Sensor: frost | fields: depth, value, ts, lon\nTask: Fetch value from drought_index where reading is greater than the maximum of depth in frost for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"qc\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009516", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, lon, reading, lat\n Sensor: temperature | fields: depth, lat, reading, lon\nTask: Fetch lat from air_quality that have at least one corresponding temperature measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009517", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lon, ts, reading, type\n Sensor: soil_moisture | fields: lat, level, qc, lon\nTask: Get lat from snow_depth where reading exceeds the average reading from soil_moisture for the same unit.\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(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009518", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: qc, depth, level, lon\n Sensor: turbidity | fields: unit, type, level, qc\nTask: Get value from uv_index where value exceeds the minimum reading from turbidity for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "value", "filter_col": "value", "agg_col": "reading", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009519", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: thr | fields: depth, unit, value, reading\n Sensor: dew_point | fields: qc, reading, depth, type\nTask: Retrieve level from snow_depth that have at least one matching reading in dew_point sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "level", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009520", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: clr | fields: level, ts, reading, qc\n Sensor: air_quality | fields: ts, type, unit, lon\nTask: Fetch depth from rainfall that have at least one corresponding air_quality measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "depth", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009521", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: mst | fields: level, depth, value, ts\n Sensor: visibility | fields: unit, type, depth, lon\nTask: Get reading from wind_speed where value exceeds the maximum value from visibility for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "visibility", "outer_alias": "mst", "inner_alias": "clr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009522", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: ref | fields: ts, lon, depth, type\n Sensor: uv_index | fields: depth, level, qc, lat\nTask: Retrieve reading from wind_speed whose ts is found in uv_index records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "reading", "filter_col": "ts", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009523", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: thr | fields: depth, qc, lat, type\n Sensor: uv_index | fields: ts, depth, level, lat\nTask: Retrieve lat from visibility with depth above the MAX(value) of uv_index readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"thr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MAX", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009524", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: ts, depth, qc, level\n Sensor: pressure | fields: lon, type, unit, reading\nTask: Fetch depth from sunlight where reading is greater than the minimum of depth in pressure for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009525", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: qc, value, depth, type\n Sensor: soil_moisture | fields: reading, qc, ts, lat\nTask: Retrieve depth from drought_index with reading above the SUM(depth) of soil_moisture readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009526", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: qc, depth, lat, value\n Sensor: evaporation | fields: reading, qc, lon, ts\nTask: Get lon from soil_moisture where value exceeds the total reading from evaporation for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"reading\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "evaporation", "outer_alias": "mst", "inner_alias": "evp", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "SUM", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009527", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: stn | fields: level, type, reading, qc\n Sensor: turbidity | fields: value, reading, lon, level\nTask: Get lon from dew_point where value exceeds the maximum reading from turbidity for the same ts.\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(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009528", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: lon, reading, ts, qc\n Sensor: snow_depth | fields: lat, ts, type, value\nTask: Retrieve value from cloud_cover whose type is found in snow_depth records where qc 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(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "gst", "inner_alias": "snw", "proj_col": "value", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009529", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: ts, lat, qc, reading\n Sensor: rainfall | fields: ts, qc, level, value\nTask: Fetch lon from frost that have at least one corresponding rainfall measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009530", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: mst | fields: value, qc, ts, type\n Sensor: snow_depth | fields: ts, lat, type, lon\nTask: Get lon from cloud_cover where qc appears in snow_depth readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"mst\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "snow_depth", "outer_alias": "mst", "inner_alias": "snw", "proj_col": "lon", "filter_col": "qc", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009531", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: type, qc, depth, value\n Sensor: rainfall | fields: level, lon, type, ts\nTask: Fetch lat from sunlight where reading is greater than the maximum of value in rainfall for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009532", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: lon, type, qc, depth\n Sensor: sunlight | fields: unit, value, type, lat\nTask: Fetch depth from uv_index where unit exists in sunlight sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "depth", "filter_col": "unit", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009533", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: prt | fields: type, ts, lat, level\n Sensor: rainfall | fields: unit, lon, value, depth\nTask: Retrieve level from visibility with value above the MAX(depth) of rainfall readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"prt\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009534", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: type, reading, depth, level\n Sensor: frost | fields: level, qc, value, depth\nTask: Retrieve lat from visibility whose ts is found in frost records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "lat", "filter_col": "ts", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009535", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: qc, lat, unit, type\n Sensor: air_quality | fields: ts, value, lat, type\nTask: Retrieve depth from uv_index whose type is found in air_quality records where qc matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009536", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: cloud_cover | code: stn | fields: unit, depth, value, ts\n Sensor: sunlight | fields: level, lat, ts, unit\nTask: Get lat from cloud_cover where depth exceeds the minimum value from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"stn\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "stn", "inner_alias": "brt", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009537", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: gst | fields: reading, qc, depth, type\n Sensor: drought_index | fields: lon, lat, value, depth\nTask: Get lat from visibility where depth exceeds the average depth from drought_index for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"AVG\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "agg_col": "depth", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009538", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: mst | fields: unit, qc, type, depth\n Sensor: cloud_cover | fields: level, value, ts, reading\nTask: Retrieve lon from sunlight that have at least one matching reading in cloud_cover sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009539", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lat, type, reading, ts\n Sensor: turbidity | fields: level, lat, type, ts\nTask: Get lat from dew_point where a corresponding entry exists in turbidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "turbidity", "outer_alias": "clr", "inner_alias": "ftu", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009540", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: gst | fields: value, lon, unit, ts\n Sensor: drought_index | fields: unit, depth, qc, lon\nTask: Get lat from pressure where depth appears in drought_index readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"gst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "drought_index", "outer_alias": "gst", "inner_alias": "drt", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009541", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: hub | fields: type, level, lon, reading\n Sensor: soil_moisture | fields: unit, level, value, lon\nTask: Retrieve reading from humidity whose type is found in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "reading", "filter_col": "type", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009542", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: lon, qc, value, reading\n Sensor: soil_moisture | fields: reading, type, depth, unit\nTask: Fetch lat from wind_speed that have at least one corresponding soil_moisture measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "clr", "inner_alias": "grvl", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009543", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lon, ts, reading, level\n Sensor: pressure | fields: qc, depth, reading, unit\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=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "pressure", "outer_alias": "hub", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009544", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: reading, lon, ts, qc\n Sensor: wind_speed | fields: unit, lat, qc, lon\nTask: Retrieve level from humidity whose ts is found in wind_speed records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "level", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009545", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: level, lon, reading, ts\n Sensor: soil_moisture | fields: qc, value, unit, lat\nTask: Fetch level from evaporation where depth exists in soil_moisture sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "soil_moisture", "outer_alias": "thr", "inner_alias": "grvl", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009546", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: level, lat, depth, lon\n Sensor: wind_speed | fields: lon, level, depth, qc\nTask: Get depth from snow_depth where type appears in wind_speed readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "depth", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009547", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, reading, unit, lon\n Sensor: evaporation | fields: qc, depth, lat, reading\nTask: Retrieve lon from air_quality that have at least one matching reading in evaporation sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "evaporation", "outer_alias": "stn", "inner_alias": "evp", "proj_col": "lon", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009548", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: unit, lon, level, ts\n Sensor: snow_depth | fields: unit, level, depth, ts\nTask: Fetch level from uv_index where unit exists in snow_depth 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(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "snow_depth", "outer_alias": "hub", "inner_alias": "snw", "proj_col": "level", "filter_col": "unit", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009549", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: qc, type, unit, value\n Sensor: soil_moisture | fields: level, lon, unit, reading\nTask: Fetch lon from uv_index that have at least one corresponding soil_moisture measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "soil_moisture", "outer_alias": "ref", "inner_alias": "grvl", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009550", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: lat, value, lon, qc\n Sensor: rainfall | fields: lon, qc, level, lat\nTask: Get lon from visibility where type appears in rainfall readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "rainfall", "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_fixed_v1_val_009551", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: unit, depth, type, value\n Sensor: humidity | fields: depth, qc, level, type\nTask: Retrieve lat from pressure that have at least one matching reading in humidity sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009552", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: value, lon, unit, ts\n Sensor: pressure | fields: level, reading, lon, type\nTask: Retrieve lon from humidity whose qc is found in pressure records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "pressure", "outer_alias": "thr", "inner_alias": "mbl", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009553", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: reading, unit, qc, depth\n Sensor: uv_index | fields: lat, lon, qc, depth\nTask: Get level from lightning where ts appears in uv_index readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "uv_index", "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_fixed_v1_val_009554", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: lat, qc, unit, ts\n Sensor: wind_speed | fields: reading, lat, depth, value\nTask: Retrieve reading from sunlight whose qc is found in wind_speed records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009555", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, reading, depth, unit\n Sensor: rainfall | fields: reading, value, type, level\nTask: Fetch lat from temperature where reading is greater than the maximum of reading in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009556", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: level, lat, lon, ts\n Sensor: visibility | fields: depth, value, qc, level\nTask: Retrieve value from turbidity whose qc is found in visibility records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "qc", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009557", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: ref | fields: type, lon, depth, level\n Sensor: turbidity | fields: unit, value, lon, qc\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=\"ftu\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "value", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009558", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lat, depth, value, qc\n Sensor: uv_index | fields: type, value, ts, lat\nTask: Fetch lon from visibility where reading is greater than the minimum of value in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009559", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: hub | fields: unit, lon, depth, qc\n Sensor: dew_point | fields: ts, depth, value, reading\nTask: Fetch lat from pressure where depth exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"hub\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "lat", "filter_col": "depth", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009560", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: value, qc, lat, ts\n Sensor: snow_depth | fields: type, qc, value, depth\nTask: Get depth from frost where depth exceeds the total value from snow_depth for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009561", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, ts, qc, reading\n Sensor: wind_speed | fields: unit, qc, lat, lon\nTask: Fetch level from dew_point where value is greater than the minimum of depth in wind_speed for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "filter_col": "value", "agg_col": "depth", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009562", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: mst | fields: level, lon, value, qc\n Sensor: humidity | fields: ts, value, level, qc\nTask: Fetch lat from rainfall where reading is greater than the minimum of value in humidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"mst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009563", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: qc, value, ts, unit\n Sensor: lightning | fields: qc, ts, value, reading\nTask: Fetch depth from rainfall where depth exists in lightning 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(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "depth", "filter_col": "depth", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009564", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: thr | fields: depth, lat, lon, unit\n Sensor: cloud_cover | fields: type, lon, lat, ts\nTask: Retrieve level from temperature that have at least one matching reading in cloud_cover sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "level", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009565", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: clr | fields: lat, level, ts, unit\n Sensor: frost | fields: lat, qc, level, value\nTask: Retrieve lat from snow_depth that have at least one matching reading in frost sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "frost", "outer_alias": "clr", "inner_alias": "frs", "proj_col": "lat", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009566", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: qc, value, ts, level\n Sensor: pressure | fields: type, unit, depth, value\nTask: Fetch lon from evaporation that have at least one corresponding pressure measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lon", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009567", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: value, level, reading, unit\n Sensor: dew_point | fields: type, reading, lat, level\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=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009568", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: ts, type, depth, lat\n Sensor: humidity | fields: type, level, qc, unit\nTask: Retrieve lat from air_quality that have at least one matching reading in humidity sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "lat", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009569", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: prt | fields: level, depth, type, lat\n Sensor: snow_depth | fields: value, lon, qc, type\nTask: Fetch lat from air_quality where reading is greater than the total of value in snow_depth for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009570", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: ts, value, level, unit\n Sensor: uv_index | fields: lat, type, unit, value\nTask: Get reading from pressure where a corresponding entry exists in uv_index with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "reading", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009571", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: ts, depth, lon, value\n Sensor: turbidity | fields: lon, unit, reading, value\nTask: Fetch reading from snow_depth where value is greater than the maximum of reading in turbidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "stn", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009572", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: stn | fields: ts, level, reading, lat\n Sensor: rainfall | fields: lat, qc, depth, reading\nTask: Fetch reading from drought_index where reading is greater than the maximum of value in rainfall for matching 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(\"rainfall\", code=\"rnfl\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "rainfall", "outer_alias": "stn", "inner_alias": "rnfl", "proj_col": "reading", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009573", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: value, lon, lat, reading\n Sensor: evaporation | fields: qc, level, type, unit\nTask: Fetch lat 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=\"evp\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "type", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009574", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: gst | fields: lon, reading, unit, ts\n Sensor: humidity | fields: lon, level, unit, ts\nTask: Fetch reading from evaporation that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "gst", "inner_alias": "hgr", "proj_col": "reading", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009575", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: lon, ts, depth, lat\n Sensor: humidity | fields: lat, unit, depth, qc\nTask: Fetch lon from frost that have at least one corresponding humidity measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "humidity", "outer_alias": "thr", "inner_alias": "hgr", "proj_col": "lon", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009576", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: level, depth, lon, value\n Sensor: wind_speed | fields: ts, depth, type, 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=\"clr\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "clr", "inner_alias": "gst", "proj_col": "value", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009577", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: ref | fields: lat, ts, depth, value\n Sensor: uv_index | fields: ts, qc, type, depth\nTask: Fetch lat from snow_depth where depth is greater than the maximum of reading in uv_index for matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"ref\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "lat", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009578", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: depth, reading, lon, unit\n Sensor: turbidity | fields: value, depth, lat, level\nTask: Fetch value from evaporation that have at least one corresponding turbidity measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009579", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: hub | fields: lat, unit, depth, level\n Sensor: uv_index | fields: level, unit, ts, lat\nTask: Fetch value from soil_moisture where depth is greater than the minimum of value in uv_index for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "value", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009580", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: value, type, lon, qc\n Sensor: soil_moisture | fields: lon, value, level, unit\nTask: Get depth from wind_speed where type appears in soil_moisture 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(\"soil_moisture\", code=\"grvl\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "soil_moisture", "outer_alias": "hub", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009581", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lon, reading, value, ts\n Sensor: dew_point | fields: value, level, type, unit\nTask: Retrieve level from pressure whose ts is found in dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "ts", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009582", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: mst | fields: value, ts, unit, lon\n Sensor: cloud_cover | fields: lat, ts, reading, value\nTask: Retrieve lon 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=\"mst\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "cloud_cover", "outer_alias": "mst", "inner_alias": "nbl", "proj_col": "lon", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009583", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: type, reading, unit, ts\n Sensor: dew_point | fields: lat, ts, level, unit\nTask: Retrieve depth from lightning with reading above the AVG(reading) of dew_point readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009584", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: value, ts, lon, qc\n Sensor: humidity | fields: level, type, depth, qc\nTask: Fetch level from pressure where type exists in humidity sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "humidity", "outer_alias": "prt", "inner_alias": "hgr", "proj_col": "level", "filter_col": "type", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009585", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: clr | fields: lon, unit, reading, qc\n Sensor: humidity | fields: lon, type, ts, depth\nTask: Get lat from dew_point where a corresponding entry exists in humidity with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "humidity", "outer_alias": "clr", "inner_alias": "hgr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009586", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: prt | fields: depth, lon, level, type\n Sensor: wind_speed | fields: lat, depth, type, lon\nTask: Get reading from uv_index where depth exceeds the maximum depth from wind_speed for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "reading", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MAX", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009587", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: thr | fields: type, ts, lat, reading\n Sensor: sunlight | fields: reading, value, level, lat\nTask: Get value from cloud_cover where ts appears in sunlight readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"thr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "thr", "inner_alias": "brt", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009588", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: depth, lat, value, qc\n Sensor: uv_index | fields: type, value, ts, lon\nTask: Get reading from humidity where unit appears in uv_index readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "reading", "filter_col": "unit", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009589", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: ts, qc, unit, reading\n Sensor: drought_index | fields: reading, qc, lat, type\nTask: Get level from visibility where value exceeds the total value from drought_index for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "drought_index", "outer_alias": "stn", "inner_alias": "drt", "proj_col": "level", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009590", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: air_quality | code: ref | fields: reading, value, lon, qc\n Sensor: cloud_cover | fields: type, ts, lon, qc\nTask: Retrieve lon from air_quality whose depth is found in cloud_cover records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"ref\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "ref", "inner_alias": "nbl", "proj_col": "lon", "filter_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009591", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: hub | fields: lon, depth, type, value\n Sensor: humidity | fields: level, qc, ts, unit\nTask: Fetch depth from evaporation that have at least one corresponding humidity measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "humidity", "outer_alias": "hub", "inner_alias": "hgr", "proj_col": "depth", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009592", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: unit, depth, ts, level\n Sensor: dew_point | fields: lon, level, depth, ts\nTask: Fetch reading from drought_index that have at least one corresponding dew_point measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "reading", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009593", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: reading, depth, value, lat\n Sensor: evaporation | fields: lon, level, qc, value\nTask: Get lon from frost where unit appears in evaporation readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "lon", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009594", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: level, reading, lat, unit\n Sensor: evaporation | fields: value, reading, lat, unit\nTask: Retrieve reading from lightning with depth above the SUM(value) of evaporation readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "evaporation", "outer_alias": "prt", "inner_alias": "evp", "proj_col": "reading", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009595", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: level, type, depth, ts\n Sensor: rainfall | fields: lon, value, qc, reading\nTask: Retrieve reading from temperature that have at least one matching reading in rainfall sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "reading", "join_col": "depth", "correlated_ref": "clr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009596", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: hub | fields: reading, type, depth, ts\n Sensor: lightning | fields: lon, value, lat, type\nTask: Fetch level from turbidity that have at least one corresponding lightning measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "lightning", "outer_alias": "hub", "inner_alias": "tnd", "proj_col": "level", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009597", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, value, lat, unit\n Sensor: snow_depth | fields: depth, type, level, qc\nTask: Retrieve value from visibility whose type is found in snow_depth records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "value", "filter_col": "type", "join_col": "ts", "correlated_ref": "clr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009598", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: gst | fields: unit, type, qc, value\n Sensor: lightning | fields: lat, unit, lon, qc\nTask: Fetch lat from snow_depth where depth is greater than the total of value in lightning for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "depth", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009599", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: qc, unit, level, reading\n Sensor: evaporation | fields: qc, lat, depth, type\nTask: Fetch lat from visibility where qc exists in evaporation sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "evaporation", "outer_alias": "clr", "inner_alias": "evp", "proj_col": "lat", "filter_col": "qc", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009600", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, type, ts, reading\n Sensor: snow_depth | fields: lon, reading, qc, ts\nTask: Get level from evaporation where reading exceeds the average reading from snow_depth for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "snow_depth", "outer_alias": "clr", "inner_alias": "snw", "proj_col": "level", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009601", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: ref | fields: depth, type, reading, value\n Sensor: visibility | fields: type, lat, unit, value\nTask: Get lon from pressure where ts appears in visibility readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"ref\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "ref", "inner_alias": "clr", "proj_col": "lon", "filter_col": "ts", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009602", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: lon, depth, type, reading\n Sensor: uv_index | fields: reading, qc, level, lon\nTask: Fetch depth from humidity that have at least one corresponding uv_index measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "depth", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009603", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, unit, value, lon\n Sensor: sunlight | fields: level, lat, qc, reading\nTask: Get value from drought_index where a corresponding entry exists in sunlight with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "sunlight", "outer_alias": "ref", "inner_alias": "brt", "proj_col": "value", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009604", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: turbidity | code: stn | fields: unit, level, depth, ts\n Sensor: uv_index | fields: value, type, unit, level\nTask: Fetch value from turbidity where reading is greater than the average of value in uv_index for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "uv_index", "outer_alias": "stn", "inner_alias": "flx", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009605", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: lat, depth, value, type\n Sensor: uv_index | fields: qc, type, reading, level\nTask: Fetch depth from snow_depth where type exists in uv_index sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "uv_index", "outer_alias": "mst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "type", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009606", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: thr | fields: value, lon, qc, unit\n Sensor: dew_point | fields: depth, lon, reading, lat\nTask: Fetch depth from turbidity where qc exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "dew_point", "outer_alias": "thr", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "qc", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009607", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: type, ts, depth, value\n Sensor: air_quality | fields: lat, lon, level, value\nTask: Fetch reading from lightning that have at least one corresponding air_quality measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "reading", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009608", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: ref | fields: value, lat, unit, reading\n Sensor: evaporation | fields: lon, type, qc, unit\nTask: Get depth from temperature where a corresponding entry exists in evaporation with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "join_col": "type", "correlated_ref": "ref.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009609", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: qc, level, depth, lon\n Sensor: frost | fields: depth, level, type, ts\nTask: Get lon from soil_moisture where value exceeds the maximum reading from frost for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"ref\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "lon", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009610", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: unit, type, qc, level\n Sensor: temperature | fields: value, level, ts, unit\nTask: Get lat from pressure where a corresponding entry exists in temperature with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "temperature", "outer_alias": "prt", "inner_alias": "thr", "proj_col": "lat", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009611", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: value, qc, depth, lon\n Sensor: uv_index | fields: type, level, value, lat\nTask: Fetch level from wind_speed where unit exists in uv_index sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"clr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "level", "filter_col": "unit", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009612", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: depth, level, value, type\n Sensor: visibility | fields: reading, qc, level, lat\nTask: Get lat from snow_depth where a corresponding entry exists in visibility with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "visibility", "outer_alias": "prt", "inner_alias": "clr", "proj_col": "lat", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009613", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: ref | fields: reading, lat, level, lon\n Sensor: dew_point | fields: level, depth, value, type\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=\"ref\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "dew_point", "outer_alias": "ref", "inner_alias": "cnd", "proj_col": "depth", "join_col": "qc", "correlated_ref": "ref.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009614", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: level, depth, type, unit\n Sensor: dew_point | fields: value, lat, depth, level\nTask: Get level from snow_depth where type appears in dew_point readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "prt", "inner_alias": "cnd", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009615", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: reading, lon, value, ts\n Sensor: pressure | fields: level, depth, reading, qc\nTask: Get level from sunlight where type appears in pressure readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "pressure", "outer_alias": "stn", "inner_alias": "mbl", "proj_col": "level", "filter_col": "type", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009616", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: hub | fields: value, lat, lon, ts\n Sensor: wind_speed | fields: value, lat, ts, depth\nTask: Fetch level from temperature that have at least one corresponding wind_speed measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "level", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009617", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: hub | fields: type, lon, qc, ts\n Sensor: drought_index | fields: lon, qc, lat, level\nTask: Fetch value from frost that have at least one corresponding drought_index measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "frost", "inner_table": "drought_index", "outer_alias": "hub", "inner_alias": "drt", "proj_col": "value", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009618", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: drought_index | code: gst | fields: depth, value, lat, qc\n Sensor: frost | fields: lon, value, type, reading\nTask: Fetch depth from drought_index where value is greater than the maximum of reading in frost for matching depth.\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(\"frost\", code=\"frs\"),\n match=\"depth\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009619", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: dew_point | code: mst | fields: lat, reading, unit, ts\n Sensor: wind_speed | fields: type, lon, depth, lat\nTask: Get value from dew_point where ts appears in wind_speed readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "wind_speed", "outer_alias": "mst", "inner_alias": "gst", "proj_col": "value", "filter_col": "ts", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009620", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: gst | fields: reading, depth, qc, ts\n Sensor: visibility | fields: value, depth, unit, lat\nTask: Get value from air_quality where depth exceeds the minimum reading from visibility for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009621", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: dew_point | code: thr | fields: qc, reading, depth, unit\n Sensor: uv_index | fields: qc, unit, value, lon\nTask: Fetch lat 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=\"thr\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "uv_index", "outer_alias": "thr", "inner_alias": "flx", "proj_col": "lat", "join_col": "ts", "correlated_ref": "thr.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009622", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: reading, lon, value, type\n Sensor: lightning | fields: value, lon, unit, qc\nTask: Get lat from visibility where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "lat", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009623", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: unit, reading, lat, value\n Sensor: lightning | fields: reading, lat, value, unit\nTask: Get depth from snow_depth where a corresponding entry exists in lightning with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009624", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: clr | fields: lat, unit, value, ts\n Sensor: rainfall | fields: depth, value, unit, type\nTask: Fetch value from lightning where reading is greater than the maximum of value in rainfall for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"clr\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"value\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "clr", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009625", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: reading, unit, ts, level\n Sensor: sunlight | fields: ts, depth, reading, unit\nTask: Get value from rainfall where depth exceeds the minimum depth from sunlight for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"depth\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "sunlight", "outer_alias": "hub", "inner_alias": "brt", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "hub.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009626", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: mst | fields: lon, unit, depth, value\n Sensor: humidity | fields: level, lat, value, depth\nTask: Fetch reading from visibility where value is greater than the minimum of value in humidity for matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"mst\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009627", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: prt | fields: unit, value, lon, type\n Sensor: frost | fields: ts, type, reading, qc\nTask: Fetch value from humidity where reading is greater than the total of value in frost for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "frost", "outer_alias": "prt", "inner_alias": "frs", "proj_col": "value", "filter_col": "reading", "agg_col": "value", "agg_fn": "SUM", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009628", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: prt | fields: value, type, depth, lon\n Sensor: turbidity | fields: ts, reading, value, depth\nTask: Retrieve value from snow_depth that have at least one matching reading in turbidity sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "value", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009629", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: level, type, depth, unit\n Sensor: temperature | fields: type, qc, reading, lat\nTask: Fetch value from sunlight where ts exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "temperature", "outer_alias": "stn", "inner_alias": "thr", "proj_col": "value", "filter_col": "ts", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009630", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: stn | fields: lat, unit, type, lon\n Sensor: visibility | fields: unit, ts, depth, level\nTask: Fetch lon from lightning where ts exists in visibility sensor data for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"stn\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "lon", "filter_col": "ts", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009631", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: depth, lon, ts, value\n Sensor: air_quality | fields: value, depth, reading, lat\nTask: Retrieve value from rainfall whose unit is found in air_quality records where ts matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "value", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009632", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: cloud_cover | code: hub | fields: ts, type, level, qc\n Sensor: turbidity | fields: qc, lon, ts, reading\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=\"hub\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "turbidity", "outer_alias": "hub", "inner_alias": "ftu", "proj_col": "depth", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009633", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: gst | fields: lat, unit, depth, lon\n Sensor: dew_point | fields: ts, depth, type, lat\nTask: Fetch depth from lightning where type exists in dew_point sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009634", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: ref | fields: level, lon, type, unit\n Sensor: lightning | fields: type, level, depth, qc\nTask: Retrieve value from soil_moisture with reading above the AVG(reading) of lightning readings sharing the same ts.\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(\"lightning\", code=\"tnd\"),\n match=\"ts\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "value", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009635", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: frost | code: stn | fields: unit, lat, lon, level\n Sensor: wind_speed | fields: type, depth, reading, level\nTask: Fetch depth from frost where unit exists in wind_speed 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(\"wind_speed\", code=\"gst\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009636", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: depth, type, reading, ts\n Sensor: lightning | fields: lon, type, depth, qc\nTask: Fetch depth from air_quality that have at least one corresponding lightning measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"type\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "lightning", "outer_alias": "stn", "inner_alias": "tnd", "proj_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009637", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: mst | fields: reading, ts, value, depth\n Sensor: lightning | fields: lat, reading, qc, ts\nTask: Fetch depth from snow_depth that have at least one corresponding lightning measurement for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "lightning", "outer_alias": "mst", "inner_alias": "tnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009638", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: thr | fields: value, lat, reading, ts\n Sensor: air_quality | fields: lat, reading, qc, lon\nTask: Fetch reading from uv_index that have at least one corresponding air_quality measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009639", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, lat, qc, lon\n Sensor: frost | fields: unit, level, lat, type\nTask: Retrieve reading from dew_point with reading above the MIN(reading) of frost readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"dew_point\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"reading\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MIN", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009640", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: clr | fields: reading, value, ts, lon\n Sensor: drought_index | fields: qc, ts, level, unit\nTask: Retrieve lon from temperature with value above the MAX(depth) of drought_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"clr\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"drought_index\", code=\"drt\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "drought_index", "outer_alias": "clr", "inner_alias": "drt", "proj_col": "lon", "filter_col": "value", "agg_col": "depth", "agg_fn": "MAX", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009641", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: value, reading, depth, lon\n Sensor: snow_depth | fields: ts, lon, unit, qc\nTask: Get level from turbidity where a corresponding entry exists in snow_depth with the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "snow_depth", "outer_alias": "prt", "inner_alias": "snw", "proj_col": "level", "join_col": "type", "correlated_ref": "prt.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009642", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: prt | fields: lat, depth, qc, type\n Sensor: lightning | fields: type, ts, level, reading\nTask: Get lat from rainfall where reading exceeds the average reading from lightning for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"prt\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"depth\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "prt", "inner_alias": "tnd", "proj_col": "lat", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009643", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: rainfall | code: ref | fields: level, type, qc, depth\n Sensor: pressure | fields: lat, type, reading, level\nTask: Retrieve lat from rainfall that have at least one matching reading in pressure sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "pressure", "outer_alias": "ref", "inner_alias": "mbl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009644", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: hub | fields: ts, depth, level, lon\n Sensor: temperature | fields: reading, ts, unit, lon\nTask: Retrieve depth from air_quality with reading above the AVG(reading) of temperature readings sharing the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"reading\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "reading", "agg_col": "reading", "agg_fn": "AVG", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009645", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: evaporation | code: stn | fields: level, unit, ts, reading\n Sensor: air_quality | fields: lon, ts, depth, unit\nTask: Retrieve lat from evaporation with reading above the AVG(value) of air_quality readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"stn\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"AVG\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "stn", "inner_alias": "prt", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009646", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: lat, reading, ts, unit\n Sensor: rainfall | fields: lat, unit, reading, type\nTask: Retrieve level from soil_moisture with depth above the MAX(reading) of rainfall readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "gst", "inner_alias": "rnfl", "proj_col": "level", "filter_col": "depth", "agg_col": "reading", "agg_fn": "MAX", "join_col": "depth", "correlated_ref": "gst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009647", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: dew_point | code: hub | fields: type, qc, value, depth\n Sensor: frost | fields: type, ts, level, reading\nTask: Get lon from dew_point where depth exceeds the total value from frost for the same ts.\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=\"frs\"),\n match=\"ts\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "dew_point", "inner_table": "frost", "outer_alias": "hub", "inner_alias": "frs", "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_fixed_v1_val_009648", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: sunlight | code: stn | fields: qc, ts, lat, unit\n Sensor: wind_speed | fields: lon, type, depth, qc\nTask: Retrieve value from sunlight whose type is found in wind_speed records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"stn\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "wind_speed", "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_fixed_v1_val_009649", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: level, value, lat, lon\n Sensor: wind_speed | fields: depth, lon, qc, type\nTask: Get lat from air_quality where a corresponding entry exists in wind_speed with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "wind_speed", "outer_alias": "stn", "inner_alias": "gst", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009650", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: gst | fields: unit, ts, qc, level\n Sensor: sunlight | fields: lat, type, ts, qc\nTask: Fetch reading from cloud_cover where type exists in sunlight sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"cloud_cover\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "sunlight", "outer_alias": "gst", "inner_alias": "brt", "proj_col": "reading", "filter_col": "type", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009651", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: type, lon, ts, qc\n Sensor: dew_point | fields: reading, ts, type, level\nTask: Get value 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=\"hub\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "value", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009652", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: air_quality | code: stn | fields: lat, reading, lon, type\n Sensor: cloud_cover | fields: ts, level, type, value\nTask: Fetch lat from air_quality where reading is greater than the count of of depth in cloud_cover for matching qc.\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(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "lat", "filter_col": "reading", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009653", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: prt | fields: lat, value, unit, depth\n Sensor: rainfall | fields: qc, lat, ts, value\nTask: Get depth from turbidity where qc appears in rainfall readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"prt\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "depth", "filter_col": "qc", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009654", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: soil_moisture | code: gst | fields: reading, type, depth, lat\n Sensor: frost | fields: unit, lon, reading, level\nTask: Get lon from soil_moisture where type appears in frost readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"gst\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "frost", "outer_alias": "gst", "inner_alias": "frs", "proj_col": "lon", "filter_col": "type", "join_col": "unit", "correlated_ref": "gst.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009655", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: stn | fields: unit, level, ts, lat\n Sensor: dew_point | fields: qc, level, depth, reading\nTask: Fetch reading from humidity where value is greater than the total of value in dew_point for matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"stn\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"SUM\", \"value\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"unit\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "reading", "filter_col": "value", "agg_col": "value", "agg_fn": "SUM", "join_col": "unit", "correlated_ref": "stn.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009656", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: evaporation | code: ref | fields: lon, lat, reading, depth\n Sensor: turbidity | fields: ts, lat, lon, depth\nTask: Get lon from evaporation where a corresponding entry exists in turbidity with the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "turbidity", "outer_alias": "ref", "inner_alias": "ftu", "proj_col": "lon", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009657", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: ref | fields: lat, unit, type, level\n Sensor: wind_speed | fields: lat, qc, reading, lon\nTask: Get value from visibility where type appears in wind_speed readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"ref\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "wind_speed", "outer_alias": "ref", "inner_alias": "gst", "proj_col": "value", "filter_col": "type", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009658", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: qc, type, value, depth\n Sensor: air_quality | fields: level, lat, depth, qc\nTask: Fetch lon from sunlight that have at least one corresponding air_quality measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "lon", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009659", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: thr | fields: value, unit, level, ts\n Sensor: cloud_cover | fields: type, ts, lat, value\nTask: Get lon from frost where a corresponding entry exists in cloud_cover with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "frost", "inner_table": "cloud_cover", "outer_alias": "thr", "inner_alias": "nbl", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009660", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: type, ts, value, level\n Sensor: temperature | fields: qc, value, level, lat\nTask: Fetch depth from snow_depth where depth is greater than the count of of depth in temperature for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"snow_depth\", code=\"hub\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"depth\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "temperature", "outer_alias": "hub", "inner_alias": "thr", "proj_col": "depth", "filter_col": "depth", "agg_col": "depth", "agg_fn": "COUNT", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009661", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: prt | fields: unit, depth, lon, ts\n Sensor: soil_moisture | fields: unit, type, lat, ts\nTask: Get value from lightning where depth exceeds the total depth from soil_moisture for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\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": "prt", "inner_alias": "grvl", "proj_col": "value", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009662", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: temperature | code: stn | fields: value, depth, qc, lon\n Sensor: dew_point | fields: lon, lat, value, reading\nTask: Get depth from temperature where a corresponding entry exists in dew_point with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "depth", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009663", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: thr | fields: value, lon, level, reading\n Sensor: turbidity | fields: value, lat, level, unit\nTask: Fetch reading from wind_speed where ts exists in turbidity 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(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "ts", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009664", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: reading, qc, unit, lon\n Sensor: frost | fields: level, reading, lat, lon\nTask: Get value from drought_index where qc appears in frost readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"frost\", code=\"frs\"),\n match=\"ts\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "frost", "outer_alias": "ref", "inner_alias": "frs", "proj_col": "value", "filter_col": "qc", "join_col": "ts", "correlated_ref": "ref.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009665", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: thr | fields: ts, lat, value, reading\n Sensor: air_quality | fields: depth, qc, lon, type\nTask: Get depth from evaporation where qc appears in air_quality readings with matching unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "thr", "inner_alias": "prt", "proj_col": "depth", "filter_col": "qc", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009666", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: stn | fields: depth, type, reading, ts\n Sensor: visibility | fields: reading, level, value, qc\nTask: Get value from pressure where depth appears in visibility readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "visibility", "outer_alias": "stn", "inner_alias": "clr", "proj_col": "value", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009667", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: thr | fields: lat, type, unit, depth\n Sensor: lightning | fields: ts, value, qc, type\nTask: Fetch lat 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=\"thr\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "lightning", "outer_alias": "thr", "inner_alias": "tnd", "proj_col": "lat", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009668", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: stn | fields: reading, level, ts, unit\n Sensor: cloud_cover | fields: value, level, unit, type\nTask: Get reading from wind_speed where unit appears in cloud_cover readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"stn\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "cloud_cover", "outer_alias": "stn", "inner_alias": "nbl", "proj_col": "reading", "filter_col": "unit", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009669", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: visibility | code: stn | fields: type, lat, level, ts\n Sensor: snow_depth | fields: value, reading, level, depth\nTask: Get value from visibility where a corresponding entry exists in snow_depth with the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"stn\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"qc\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "snow_depth", "outer_alias": "stn", "inner_alias": "snw", "proj_col": "value", "join_col": "qc", "correlated_ref": "stn.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009670", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: ref | fields: lat, qc, reading, type\n Sensor: uv_index | fields: value, ts, level, reading\nTask: Fetch level 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=\"flx\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "uv_index", "outer_alias": "ref", "inner_alias": "flx", "proj_col": "level", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009671", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: hub | fields: lon, lat, qc, level\n Sensor: air_quality | fields: unit, lat, reading, depth\nTask: Retrieve level 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=\"hub\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"unit\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "air_quality", "outer_alias": "hub", "inner_alias": "prt", "proj_col": "level", "join_col": "unit", "correlated_ref": "hub.unit", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009672", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lat, unit, ts, value\n Sensor: turbidity | fields: depth, lat, lon, reading\nTask: Fetch reading from temperature where reading is greater than the maximum of reading in turbidity for matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "turbidity", "outer_alias": "gst", "inner_alias": "ftu", "proj_col": "reading", "filter_col": "reading", "agg_col": "reading", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009673", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: level, value, ts, unit\n Sensor: evaporation | fields: ts, value, level, unit\nTask: Get level from wind_speed where unit appears in evaporation readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"ts\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "evaporation", "outer_alias": "gst", "inner_alias": "evp", "proj_col": "level", "filter_col": "unit", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009674", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: prt | fields: lon, unit, reading, ts\n Sensor: uv_index | fields: ts, level, unit, qc\nTask: Retrieve lat 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=\"prt\"),\n filter=has_match(\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "uv_index", "outer_alias": "prt", "inner_alias": "flx", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009675", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: mst | fields: lat, value, ts, depth\n Sensor: pressure | fields: value, type, reading, ts\nTask: Get level from evaporation where depth appears in pressure readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"mst\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"pressure\", code=\"mbl\"),\n match=\"qc\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "pressure", "outer_alias": "mst", "inner_alias": "mbl", "proj_col": "level", "filter_col": "depth", "join_col": "qc", "correlated_ref": "mst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009676", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: clr | fields: lon, unit, lat, value\n Sensor: snow_depth | fields: unit, value, type, lat\nTask: Get lat 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=\"clr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "uv_index", "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_fixed_v1_val_009677", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: prt | fields: level, value, depth, lat\n Sensor: dew_point | fields: type, ts, unit, qc\nTask: Retrieve level from drought_index whose depth is found in dew_point records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"prt\"),\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": "drought_index", "inner_table": "dew_point", "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_fixed_v1_val_009678", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: level, ts, unit, lat\n Sensor: lightning | fields: value, unit, ts, reading\nTask: Fetch lon from rainfall where ts exists in lightning sensor data for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "lightning", "outer_alias": "gst", "inner_alias": "tnd", "proj_col": "lon", "filter_col": "ts", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009679", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: value, ts, type, lon\n Sensor: uv_index | fields: qc, reading, level, unit\nTask: Retrieve depth from temperature with reading above the MAX(depth) of uv_index readings sharing the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MAX\", \"depth\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"ts\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "uv_index", "outer_alias": "gst", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MAX", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009680", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: frost | code: prt | fields: qc, level, ts, type\n Sensor: wind_speed | fields: qc, reading, lon, depth\nTask: Get lat from frost where a corresponding entry exists in wind_speed with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"frost\", code=\"prt\"),\n filter=has_match(\n source=Probe(\"wind_speed\", code=\"gst\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "frost", "inner_table": "wind_speed", "outer_alias": "prt", "inner_alias": "gst", "proj_col": "lat", "join_col": "depth", "correlated_ref": "prt.depth", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009681", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: mst | fields: unit, type, depth, qc\n Sensor: turbidity | fields: unit, value, ts, depth\nTask: Get level from pressure where ts appears in turbidity readings with matching depth.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"mst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "mst", "inner_alias": "ftu", "proj_col": "level", "filter_col": "ts", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009682", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: uv_index | code: gst | fields: value, qc, lat, reading\n Sensor: air_quality | fields: lat, value, type, unit\nTask: Get lon from uv_index where a corresponding entry exists in air_quality with the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"ts\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "lon", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009683", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: wind_speed | code: prt | fields: depth, qc, level, ts\n Sensor: turbidity | fields: lon, value, qc, type\nTask: Fetch lat from wind_speed where reading is greater than the average of value in turbidity for matching ts.\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(\"turbidity\", code=\"ftu\"),\n match=\"ts\"),\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "turbidity", "outer_alias": "prt", "inner_alias": "ftu", "proj_col": "lat", "filter_col": "reading", "agg_col": "value", "agg_fn": "AVG", "join_col": "ts", "correlated_ref": "prt.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009684", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: hub | fields: type, value, reading, ts\n Sensor: uv_index | fields: unit, type, level, reading\nTask: Retrieve depth from visibility with reading above the MIN(value) of uv_index readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"hub\"),\n filter=exceeds(\n field=\"reading\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "hub", "inner_alias": "flx", "proj_col": "depth", "filter_col": "reading", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009685", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: reading, ts, lat, unit\n Sensor: lightning | fields: lon, lat, unit, reading\nTask: Retrieve value from visibility whose depth is found in lightning records where unit matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "lightning", "outer_alias": "clr", "inner_alias": "tnd", "proj_col": "value", "filter_col": "depth", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009686", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: clr | fields: unit, level, type, ts\n Sensor: air_quality | fields: unit, reading, qc, value\nTask: Retrieve lat from evaporation whose ts is found in air_quality records where type matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"clr\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "air_quality", "outer_alias": "clr", "inner_alias": "prt", "proj_col": "lat", "filter_col": "ts", "join_col": "type", "correlated_ref": "clr.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009687", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: turbidity | code: mst | fields: type, level, depth, unit\n Sensor: sunlight | fields: lat, ts, reading, unit\nTask: Retrieve depth from turbidity that have at least one matching reading in sunlight sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"turbidity\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "sunlight", "outer_alias": "mst", "inner_alias": "brt", "proj_col": "depth", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009688", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: humidity | code: gst | fields: depth, lat, ts, reading\n Sensor: air_quality | fields: depth, reading, qc, level\nTask: Fetch depth from humidity where depth is greater than the minimum of value in air_quality for matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"gst\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"MIN\", \"value\",\n source=Probe(\"air_quality\", code=\"prt\"),\n match=\"type\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "air_quality", "outer_alias": "gst", "inner_alias": "prt", "proj_col": "depth", "filter_col": "depth", "agg_col": "value", "agg_fn": "MIN", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009689", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: thr | fields: reading, type, level, qc\n Sensor: evaporation | fields: qc, depth, level, type\nTask: Get reading from drought_index where qc appears in evaporation readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"thr\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"type\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "evaporation", "outer_alias": "thr", "inner_alias": "evp", "proj_col": "reading", "filter_col": "qc", "join_col": "type", "correlated_ref": "thr.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009690", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: drought_index | code: mst | fields: depth, level, qc, reading\n Sensor: temperature | fields: value, depth, qc, unit\nTask: Fetch lat from drought_index where unit exists in temperature sensor data for the same ts.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"mst\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "temperature", "outer_alias": "mst", "inner_alias": "thr", "proj_col": "lat", "filter_col": "unit", "join_col": "ts", "correlated_ref": "mst.ts", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009691", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: depth, level, reading, ts\n Sensor: rainfall | fields: qc, level, reading, type\nTask: Fetch lat from lightning that have at least one corresponding rainfall measurement for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "depth", "correlated_ref": "mst.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009692", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: level, unit, lon, qc\n Sensor: visibility | fields: qc, unit, lat, lon\nTask: Retrieve lon from sunlight that have at least one matching reading in visibility sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"visibility\", code=\"clr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "visibility", "outer_alias": "thr", "inner_alias": "clr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009693", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: cloud_cover | code: prt | fields: unit, depth, lon, qc\n Sensor: lightning | fields: reading, qc, type, depth\nTask: Retrieve lon from cloud_cover whose depth is found in lightning records where qc 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(\"lightning\", code=\"tnd\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "cloud_cover", "inner_table": "lightning", "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_fixed_v1_val_009694", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: lightning | code: mst | fields: ts, type, level, unit\n Sensor: humidity | fields: lon, qc, level, reading\nTask: Get lon from lightning where depth exceeds the average depth from humidity 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(\"humidity\", code=\"hgr\"),\n match=\"depth\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "humidity", "outer_alias": "mst", "inner_alias": "hgr", "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_fixed_v1_val_009695", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: mst | fields: type, reading, value, unit\n Sensor: rainfall | fields: type, level, qc, value\nTask: Fetch lat from soil_moisture that have at least one corresponding rainfall measurement for the same type.\nScript:", "query": "readings = fetch(\n node=Node(\"soil_moisture\", code=\"mst\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "rainfall", "outer_alias": "mst", "inner_alias": "rnfl", "proj_col": "lat", "join_col": "type", "correlated_ref": "mst.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009696", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: turbidity | code: gst | fields: depth, lat, type, level\n Sensor: visibility | fields: qc, unit, lon, depth\nTask: Fetch lat from turbidity where unit exists in visibility 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(\"visibility\", code=\"clr\"),\n match=\"type\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "turbidity", "inner_table": "visibility", "outer_alias": "gst", "inner_alias": "clr", "proj_col": "lat", "filter_col": "unit", "join_col": "type", "correlated_ref": "gst.type", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009697", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: rainfall | code: gst | fields: unit, value, type, qc\n Sensor: dew_point | fields: lon, lat, depth, qc\nTask: Get depth from rainfall where value exceeds the count of reading from dew_point 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(\"dew_point\", code=\"cnd\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "gst", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "value", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009698", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: clr | fields: value, type, lat, depth\n Sensor: drought_index | fields: reading, lat, lon, depth\nTask: Get value 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=\"clr\"),\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": "clr", "inner_alias": "drt", "proj_col": "value", "join_col": "qc", "correlated_ref": "clr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009699", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: visibility | code: clr | fields: lon, ts, level, unit\n Sensor: uv_index | fields: lat, value, type, lon\nTask: Retrieve lon from visibility with depth above the COUNT(reading) of uv_index readings sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"visibility\", code=\"clr\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"COUNT\", \"reading\",\n source=Probe(\"uv_index\", code=\"flx\"),\n match=\"unit\"),\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "visibility", "inner_table": "uv_index", "outer_alias": "clr", "inner_alias": "flx", "proj_col": "lon", "filter_col": "depth", "agg_col": "reading", "agg_fn": "COUNT", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009700", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: wind_speed | code: gst | fields: value, unit, lat, depth\n Sensor: temperature | fields: ts, type, lon, reading\nTask: Fetch lon from wind_speed that have at least one corresponding temperature measurement for the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"wind_speed\", code=\"gst\"),\n filter=has_match(\n source=Probe(\"temperature\", code=\"thr\"),\n match=\"qc\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "wind_speed", "inner_table": "temperature", "outer_alias": "gst", "inner_alias": "thr", "proj_col": "lon", "join_col": "qc", "correlated_ref": "gst.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009701", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: humidity | code: thr | fields: unit, depth, level, lat\n Sensor: snow_depth | fields: qc, lat, type, depth\nTask: Fetch depth from humidity that have at least one corresponding snow_depth measurement for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"humidity\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"snow_depth\", code=\"snw\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "humidity", "inner_table": "snow_depth", "outer_alias": "thr", "inner_alias": "snw", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009702", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: stn | fields: value, lat, reading, unit\n Sensor: humidity | fields: lon, level, reading, lat\nTask: Get level from rainfall where depth appears in humidity readings with matching type.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"stn\"),\n filter=set_member(\n field=\"depth\",\n source=Probe(\"humidity\", code=\"hgr\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "humidity", "outer_alias": "stn", "inner_alias": "hgr", "proj_col": "level", "filter_col": "depth", "join_col": "type", "correlated_ref": "stn.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009703", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: temperature | code: gst | fields: lon, ts, level, unit\n Sensor: soil_moisture | fields: reading, depth, level, qc\nTask: Get depth from temperature where ts appears in soil_moisture readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"temperature\", code=\"gst\"),\n filter=set_member(\n field=\"ts\",\n source=Probe(\"soil_moisture\", code=\"grvl\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "temperature", "inner_table": "soil_moisture", "outer_alias": "gst", "inner_alias": "grvl", "proj_col": "depth", "filter_col": "ts", "join_col": "ts", "correlated_ref": "gst.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009704", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: pressure | code: clr | fields: qc, ts, value, lon\n Sensor: sunlight | fields: unit, reading, qc, value\nTask: Retrieve reading from pressure that have at least one matching reading in sunlight sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"clr\"),\n filter=has_match(\n source=Probe(\"sunlight\", code=\"brt\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "sunlight", "outer_alias": "clr", "inner_alias": "brt", "proj_col": "reading", "join_col": "unit", "correlated_ref": "clr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009705", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: drought_index | code: ref | fields: ts, lat, qc, value\n Sensor: lightning | fields: unit, reading, depth, lat\nTask: Retrieve reading from drought_index that have at least one matching reading in lightning sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"drought_index\", code=\"ref\"),\n filter=has_match(\n source=Probe(\"lightning\", code=\"tnd\"),\n match=\"unit\",\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "drought_index", "inner_table": "lightning", "outer_alias": "ref", "inner_alias": "tnd", "proj_col": "reading", "join_col": "unit", "correlated_ref": "ref.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009706", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: lightning | code: ref | fields: ts, qc, reading, lat\n Sensor: rainfall | fields: ts, qc, lon, lat\nTask: Retrieve lon from lightning whose qc is found in rainfall records where depth matches the outer node.\nScript:", "query": "readings = fetch(\n node=Node(\"lightning\", code=\"ref\"),\n filter=set_member(\n field=\"qc\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"depth\",\n ),\n output=\"lon\",\n)", "metadata": {"outer_table": "lightning", "inner_table": "rainfall", "outer_alias": "ref", "inner_alias": "rnfl", "proj_col": "lon", "filter_col": "qc", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009707", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: soil_moisture | code: stn | fields: lon, ts, unit, level\n Sensor: dew_point | fields: value, ts, depth, type\nTask: Retrieve lat 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=\"stn\"),\n filter=has_match(\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"lat\",\n)", "metadata": {"outer_table": "soil_moisture", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "lat", "join_col": "ts", "correlated_ref": "stn.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009708", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: evaporation | code: prt | fields: lat, ts, type, unit\n Sensor: rainfall | fields: qc, value, ts, depth\nTask: Fetch value from evaporation where type exists in rainfall sensor data for the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"evaporation\", code=\"prt\"),\n filter=set_member(\n field=\"type\",\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"unit\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "evaporation", "inner_table": "rainfall", "outer_alias": "prt", "inner_alias": "rnfl", "proj_col": "value", "filter_col": "type", "join_col": "unit", "correlated_ref": "prt.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009709", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: snow_depth | code: stn | fields: qc, depth, unit, type\n Sensor: dew_point | fields: ts, lat, type, lon\nTask: Retrieve value from snow_depth with reading above the MIN(depth) of dew_point 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(\"MIN\", \"depth\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "dew_point", "outer_alias": "stn", "inner_alias": "cnd", "proj_col": "value", "filter_col": "reading", "agg_col": "depth", "agg_fn": "MIN", "join_col": "depth", "correlated_ref": "stn.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009710", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: hub | fields: value, unit, type, qc\n Sensor: dew_point | fields: level, reading, type, unit\nTask: Retrieve reading from sunlight with value above the MAX(reading) of dew_point readings sharing the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"hub\"),\n filter=exceeds(\n field=\"value\",\n threshold=aggregate(\"MAX\", \"reading\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"depth\"),\n ),\n output=\"reading\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "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_fixed_v1_val_009711", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: sunlight | code: prt | fields: value, depth, lon, ts\n Sensor: cloud_cover | fields: type, value, ts, depth\nTask: Retrieve level from sunlight with depth above the SUM(depth) of cloud_cover readings sharing the same qc.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"prt\"),\n filter=exceeds(\n field=\"depth\",\n threshold=aggregate(\"SUM\", \"depth\",\n source=Probe(\"cloud_cover\", code=\"nbl\"),\n match=\"qc\"),\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "cloud_cover", "outer_alias": "prt", "inner_alias": "nbl", "proj_col": "level", "filter_col": "depth", "agg_col": "depth", "agg_fn": "SUM", "join_col": "qc", "correlated_ref": "prt.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009712", "split": "val"} {"variant": "v3", "prompt": "Sensor network script:\n Node: uv_index | code: hub | fields: lat, qc, ts, type\n Sensor: wind_speed | fields: ts, depth, lat, qc\nTask: Fetch depth from uv_index where value is greater than the minimum of value in wind_speed for matching qc.\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(\"wind_speed\", code=\"gst\"),\n match=\"qc\"),\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "wind_speed", "outer_alias": "hub", "inner_alias": "gst", "proj_col": "depth", "filter_col": "value", "agg_col": "value", "agg_fn": "MIN", "join_col": "qc", "correlated_ref": "hub.qc", "token_group": "T1", "fan_out": 1}, "id": "sensor_fixed_v1_val_009713", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: air_quality | code: thr | fields: value, reading, type, depth\n Sensor: turbidity | fields: unit, lat, ts, lon\nTask: Get value from air_quality where a corresponding entry exists in turbidity with the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"air_quality\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"depth\",\n ),\n output=\"value\",\n)", "metadata": {"outer_table": "air_quality", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "value", "join_col": "depth", "correlated_ref": "thr.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009714", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: uv_index | code: ref | fields: value, depth, type, reading\n Sensor: evaporation | fields: level, depth, qc, type\nTask: Fetch depth from uv_index where unit exists in evaporation sensor data for the same depth.\nScript:", "query": "readings = fetch(\n node=Node(\"uv_index\", code=\"ref\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"evaporation\", code=\"evp\"),\n match=\"depth\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "uv_index", "inner_table": "evaporation", "outer_alias": "ref", "inner_alias": "evp", "proj_col": "depth", "filter_col": "unit", "join_col": "depth", "correlated_ref": "ref.depth", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009715", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: snow_depth | code: hub | fields: reading, depth, ts, value\n Sensor: rainfall | fields: depth, ts, type, lon\nTask: Retrieve level 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=\"hub\"),\n filter=has_match(\n source=Probe(\"rainfall\", code=\"rnfl\"),\n match=\"type\",\n ),\n output=\"level\",\n)", "metadata": {"outer_table": "snow_depth", "inner_table": "rainfall", "outer_alias": "hub", "inner_alias": "rnfl", "proj_col": "level", "join_col": "type", "correlated_ref": "hub.type", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009716", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: rainfall | code: hub | fields: lon, unit, depth, value\n Sensor: dew_point | fields: ts, level, lon, unit\nTask: Get depth from rainfall where unit appears in dew_point readings with matching ts.\nScript:", "query": "readings = fetch(\n node=Node(\"rainfall\", code=\"hub\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"dew_point\", code=\"cnd\"),\n match=\"ts\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "rainfall", "inner_table": "dew_point", "outer_alias": "hub", "inner_alias": "cnd", "proj_col": "depth", "filter_col": "unit", "join_col": "ts", "correlated_ref": "hub.ts", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009717", "split": "val"} {"variant": "v2", "prompt": "Sensor network script:\n Node: sunlight | code: thr | fields: value, ts, level, unit\n Sensor: turbidity | fields: unit, ts, depth, lon\nTask: Retrieve depth from sunlight that have at least one matching reading in turbidity sharing the same unit.\nScript:", "query": "readings = fetch(\n node=Node(\"sunlight\", code=\"thr\"),\n filter=has_match(\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"unit\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "sunlight", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "join_col": "unit", "correlated_ref": "thr.unit", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009718", "split": "val"} {"variant": "v1", "prompt": "Sensor network script:\n Node: pressure | code: thr | fields: reading, unit, type, ts\n Sensor: turbidity | fields: level, lon, value, ts\nTask: Get depth from pressure where unit appears in turbidity readings with matching qc.\nScript:", "query": "readings = fetch(\n node=Node(\"pressure\", code=\"thr\"),\n filter=set_member(\n field=\"unit\",\n source=Probe(\"turbidity\", code=\"ftu\"),\n match=\"qc\",\n ),\n output=\"depth\",\n)", "metadata": {"outer_table": "pressure", "inner_table": "turbidity", "outer_alias": "thr", "inner_alias": "ftu", "proj_col": "depth", "filter_col": "unit", "join_col": "qc", "correlated_ref": "thr.qc", "token_group": "T2", "fan_out": null}, "id": "sensor_fixed_v1_val_009719", "split": "val"}